Fallback to async store in self.crypto doesn't exist in webworkers (ie/edge)
This commit is contained in:
4
www/common/outer/testworker.js
Normal file
4
www/common/outer/testworker.js
Normal file
@@ -0,0 +1,4 @@
|
||||
if (!self.crypto && !self.msCrypto) {
|
||||
throw new Error("E_NOCRYPTO");
|
||||
}
|
||||
postMessage("OK");
|
||||
Reference in New Issue
Block a user