We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 54625f3 + f6aada9 commit 92153e9Copy full SHA for 92153e9
src/mono/wasm/runtime/binding_support.js
@@ -36,7 +36,8 @@ var BindingSupportLib = {
36
DataView.prototype[Symbol.for("wasm type")] = 3;
37
Function.prototype[Symbol.for("wasm type")] = 4;
38
Map.prototype[Symbol.for("wasm type")] = 5;
39
- SharedArrayBuffer.prototype[Symbol.for("wasm type")] = 6;
+ if (typeof SharedArrayBuffer !== "undefined")
40
+ SharedArrayBuffer.prototype[Symbol.for("wasm type")] = 6;
41
Int8Array.prototype[Symbol.for("wasm type")] = 10;
42
Uint8Array.prototype[Symbol.for("wasm type")] = 11;
43
Uint8ClampedArray.prototype[Symbol.for("wasm type")] = 12;
0 commit comments