Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /content-security-policy/wasm-unsafe-eval/script-src-wasm-unsafe-eval-allows-wasm.any.html - WPT Dashboard Interop Dashboard
- /content-security-policy/wasm-unsafe-eval/script-src-wasm-unsafe-eval-allows-wasm.any.serviceworker.html - WPT Dashboard Interop Dashboard
- /content-security-policy/wasm-unsafe-eval/script-src-wasm-unsafe-eval-allows-wasm.any.sharedworker.html - WPT Dashboard Interop Dashboard
- /content-security-policy/wasm-unsafe-eval/script-src-wasm-unsafe-eval-allows-wasm.any.worker.html - WPT Dashboard Interop Dashboard
// META: global=window,worker
promise_test(t => {
return WebAssembly.instantiate(
new Uint8Array([0, 0x61, 0x73, 0x6d, 0x1, 0, 0, 0]));
});