wasm cleanup

This commit is contained in:
Felix Kaspar
2023-11-16 00:27:24 +01:00
parent 373c5e4c26
commit ae99ba0fab
2 changed files with 3 additions and 875 deletions

View File

@@ -212,6 +212,9 @@
if (!global.crypto) {
throw new Error("global.crypto is not available, polyfill required (getRandomValues only)");
}
if (!global.crypto.getRandomValues) {
throw new Error("global.crypto.getRandomValues is not available, polyfill required (getRandomValues only)");
}
if (!global.performance) {
global.performance = {