summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/workers/close_in_wasm_reactions.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/workers/close_in_wasm_reactions.js')
-rw-r--r--cli/tests/testdata/workers/close_in_wasm_reactions.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/cli/tests/testdata/workers/close_in_wasm_reactions.js b/cli/tests/testdata/workers/close_in_wasm_reactions.js
deleted file mode 100644
index abe573108..000000000
--- a/cli/tests/testdata/workers/close_in_wasm_reactions.js
+++ /dev/null
@@ -1,21 +0,0 @@
-// https://github.com/denoland/deno/issues/12263
-// Test for a panic that happens when a worker is closed in the reactions of a
-// WASM async operation.
-
-// The minimum valid wasm module, plus two additional zero bytes.
-const buffer = new Uint8Array([
- 0x00,
- 0x61,
- 0x73,
- 0x6D,
- 0x01,
- 0x00,
- 0x00,
- 0x00,
- 0x00,
- 0x00,
-]);
-WebAssembly.compile(buffer).catch((err) => {
- console.log("Error:", err);
- self.close();
-});