diff options
Diffstat (limited to 'tests/testdata/run/worker_close_in_wasm_reactions.js')
-rw-r--r-- | tests/testdata/run/worker_close_in_wasm_reactions.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testdata/run/worker_close_in_wasm_reactions.js b/tests/testdata/run/worker_close_in_wasm_reactions.js new file mode 100644 index 000000000..95f34e944 --- /dev/null +++ b/tests/testdata/run/worker_close_in_wasm_reactions.js @@ -0,0 +1,10 @@ +// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. + +// 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. + +new Worker( + import.meta.resolve("../workers/close_in_wasm_reactions.js"), + { type: "module" }, +); |