constructor.any.html
Details
- Test
/wasm/jsapi/module/constructor.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | name |
| PASS | length |
| FAIL | No arguments assert_throws_js: function "() => new WebAssembly.Module()" threw object "CompileError: WebAssembly.Module(): Wasm code generation disallowed by embedder" ("CompileError") expected instance of functio… |
| FAIL | Calling assert_throws_js: function "() => WebAssembly.Module(emptyModuleBinary)" did not throw |
| FAIL | Invalid arguments assert_throws_js: new Module(undefined) function "() => new WebAssembly.Module(argument)" threw object "CompileError: WebAssembly.Module(): Wasm code generation disallowed by embedder" ("CompileError"… |
| PASS | Empty buffer |
| PASS | Invalid code |
| PASS | Prototype |
| PASS | Extensibility |
| PASS | Stray argument |