-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,6 +87,11 @@ test(() => { | |
} | ||
}, "Invalid type argument"); | ||
|
||
test(() => { | ||
const argument = { "value": "v128" }; | ||
assert_throws_js(WebAssembly.LinkError, () => new WebAssembly.Global(argument)); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Ms2ger
Author
Contributor
|
||
}, "Construct v128 global"); | ||
|
||
test(() => { | ||
const argument = { "value": "i64" }; | ||
const global = new WebAssembly.Global(argument); | ||
|
Why is this a
WebAssembly.LinkError
, and not aTypeError
as above?