diff options
author | Andreu Botella <abb@randomunok.com> | 2021-07-10 23:32:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-10 23:32:10 +0200 |
commit | eea6000ef6e30e6684995619e630d3beb7d7484b (patch) | |
tree | 8f61e5bcaca9afacf4b3471cbe3c2ef979cb5b39 /cli/tests/worker_event_handler_test.js | |
parent | 67c9937e6658c2be9b54cd95132a1055756e433b (diff) |
fix: align DedicatedWorkerGlobalScope event handlers to spec (#11353)
Diffstat (limited to 'cli/tests/worker_event_handler_test.js')
-rw-r--r-- | cli/tests/worker_event_handler_test.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/worker_event_handler_test.js b/cli/tests/worker_event_handler_test.js new file mode 100644 index 000000000..e0ce3d9f8 --- /dev/null +++ b/cli/tests/worker_event_handler_test.js @@ -0,0 +1,5 @@ +const w = new Worker( + new URL("./workers/worker_event_handlers.js", import.meta.url).href, + { type: "module" }, +); +w.postMessage({}); |