1
0
Fork 0
firefox/testing/web-platform/tests/content-security-policy/wasm-unsafe-eval/script-src-blocks-wasm.any.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

8 lines
215 B
JavaScript

// META: global=window,worker
promise_test(t => {
return promise_rejects_js(
t, WebAssembly.CompileError,
WebAssembly.instantiate(
new Uint8Array([0, 0x61, 0x73, 0x6d, 0x1, 0, 0, 0])));
});