This website requires JavaScript.
Explore
Help
Sign In
infra
/
cryptpad
Watch
2
Star
1
Fork
You've already forked cryptpad
0
Code
Issues
Pull Requests
Projects
Releases
1
Activity
3676a6b923
cryptpad
/
www
/
common
/
outer
/
testworker.js
5 lines
99 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fallback to async store in self.crypto doesn't exist in webworkers (ie/edge)
2018-06-22 17:43:07 +00:00
if
(
!
self
.
crypto
&&
!
self
.
msCrypto
)
{
throw
new
Error
(
"E_NOCRYPTO"
)
;
}
lint compliance
2018-06-25 11:42:17 +00:00
self
.
postMessage
(
"OK"
)
;