cryptpad/www/common/outer/testworker.js

5 lines
99 B
JavaScript

if (!self.crypto && !self.msCrypto) {
throw new Error("E_NOCRYPTO");
}
self.postMessage("OK");