Fallback to async store in self.crypto doesn't exist in webworkers (ie/edge)
This commit is contained in:
1 parent
52cc007431
commit
fbe940c024
2 files changed
+29
-4
No files matched your search
@@ -0,0 +1,4 @@
|
||||
if (!self.crypto && !self.msCrypto) {
|
||||
throw new Error("E_NOCRYPTO");
|
||||
}
|
||||
postMessage("OK");
|
||||
Reference in new issue
Block a user