constructor.any.html

FAILExpected7 of 10 subtests pass413 ms

Details

Test
/wasm/jsapi/module/constructor.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSname
PASSlength
FAILNo arguments
assert_throws_js: function "() => new WebAssembly.Module()" threw object "CompileError: WebAssembly.Module(): Wasm code generation disallowed by embedder" ("CompileError") expected instance of functio…
assert_throws_js: function "() => new WebAssembly.Module()" threw object "CompileError: WebAssembly.Module(): Wasm code generation disallowed by embedder" ("CompileError") expected instance of functio…
FAILCalling
assert_throws_js: function "() => WebAssembly.Module(emptyModuleBinary)" did not throw
assert_throws_js: function "() => WebAssembly.Module(emptyModuleBinary)" did not throw
FAILInvalid arguments
assert_throws_js: new Module(undefined) function "() => new WebAssembly.Module(argument)" threw object "CompileError: WebAssembly.Module(): Wasm code generation disallowed by embedder" ("CompileError"…
assert_throws_js: new Module(undefined) function "() => new WebAssembly.Module(argument)" threw object "CompileError: WebAssembly.Module(): Wasm code generation disallowed by embedder" ("CompileError"…
PASSEmpty buffer
PASSInvalid code
PASSPrototype
PASSExtensibility
PASSStray argument