summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/wasm-unsafe-eval/script-src-unsafe-eval-allows-wasm.any.js
blob: 68a145caae1dede41715995abedc72b3b86e7209 (plain)
1
2
3
4
5
6
// META: global=window,worker

promise_test(t => {
  return WebAssembly.instantiate(
      new Uint8Array([0, 0x61, 0x73, 0x6d, 0x1, 0, 0, 0]));
});