instantiate.any.html
Details
- Test
/wasm/jsapi/constructor/instantiate.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Missing arguments |
| PASS | Branding |
| PASS | Invalid arguments |
| PASS | Promise type |
| PASS | Empty module without imports argument: BufferSource argument |
| PASS | Empty module without imports argument: Module argument |
| PASS | Empty module with undefined imports argument: BufferSource argument |
| PASS | Empty module with undefined imports argument: Module argument |
| PASS | Empty module with empty imports argument: BufferSource argument |
| PASS | Empty module with empty imports argument: Module argument |
| FAIL | getter order for imports object: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | getter order for imports object: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | imports: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | imports: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | imports with empty module names: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | imports with empty module names: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | imports with empty names: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | imports with empty names: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | exports with empty name: function: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | exports with empty name: function: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | exports with empty name: table: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | exports with empty name: table: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | exports with empty name: global: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | exports with empty name: global: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | No imports: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | No imports: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | exports and imports: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | exports and imports: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | i64 exports and imports: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | i64 exports and imports: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | import with i32-returning function: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | import with i32-returning function: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | import with function that takes and returns i32: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | import with function that takes and returns i32: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | import with i64-returning function: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | import with i64-returning function: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | import with function that takes and returns i64: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | import with function that takes and returns i64: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | import with i32-taking function: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | import with i32-taking function: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | import with i64-taking function: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | import with i64-taking function: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | export i64-returning function: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | export i64-returning function: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | i32 mutable WebAssembly.Global import: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | i32 mutable WebAssembly.Global import: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | i64 mutable WebAssembly.Global import: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | i64 mutable WebAssembly.Global import: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| FAIL | Multiple i64 arguments: BufferSource argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | Multiple i64 arguments: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| PASS | stray argument: BufferSource argument |
| PASS | stray argument: Module argument |
| FAIL | Synchronous options handling: Buffer argument promise_test: Unhandled rejection with value: object "CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder" |
| FAIL | Synchronous options handling: Module argument WebAssembly.Module(): Wasm code generation disallowed by embedder |
| PASS | Empty buffer |
| PASS | Invalid code |
| PASS | Changing the buffer |