Use crypto.getRandomValues in Workers
This commit is contained in:
parent
d785df3325
commit
20a9bccb41
|
@ -28,7 +28,7 @@
|
|||
* @module worker/worker
|
||||
*/
|
||||
|
||||
self.window = {}; // to make UMD bundles work
|
||||
self.window = self; // to make UMD bundles work
|
||||
|
||||
importScripts('openpgp.js');
|
||||
var openpgp = window.openpgp;
|
||||
|
|
Loading…
Reference in New Issue
Block a user