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
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e5abaa34b2
master
v4.14.0
v4.14.1
v5.0.0
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'e5abaa34b2'
${ noResults }
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"
)
;