This website requires JavaScript.
Explore
Help
Sign In
web
/
cryptpad
Watch
2
Star
0
Fork
0
You've already forked cryptpad
Code
Issues
Pull Requests
Releases
Wiki
Activity
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 19:43:07 +02:00
if
(
!
self
.
crypto
&&
!
self
.
msCrypto
)
{
throw
new
Error
(
"E_NOCRYPTO"
)
;
}
lint compliance
2018-06-25 13:42:17 +02:00
self
.
postMessage
(
"OK"
)
;
Reference in New Issue
Copy Permalink