This website works better with 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
32f6a77aa5
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)
7 years ago
if
(
!
self
.
crypto
&&
!
self
.
msCrypto
)
{
throw
new
Error
(
"E_NOCRYPTO"
)
;
}
lint compliance
7 years ago
self
.
postMessage
(
"OK"
)
;