1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/cli/tests/workers
Liam Murphy 4786e1d92d
fix(runtime): handle race condition in postMessage where worker has terminated (#10239)
The panic was caused by the lack of an error class mapping for
futures::channel::TrySendError, but it shouldn't have been throwing an error in
the first place - when a worker has terminated, postMessage should just return.
The issue was that the termination message hadn't yet been recieved, so it was
carrying on with trying to send the message. This adds another check on the Rust
side for if the channel is closed, and if it is the worker is treated as
terminated.
2021-04-19 16:57:02 +02:00
..
bench_round_robin.ts chore: Reorganise workers tests (#9493) 2021-02-15 14:48:47 +01:00
bench_startup.ts chore: Reorganise workers tests (#9493) 2021-02-15 14:48:47 +01:00
bench_worker.ts
busy_worker.js
deno_worker.ts
error.ts chore: Reorganise workers tests (#9493) 2021-02-15 14:48:47 +01:00
event_worker.js
event_worker_scope.js
fetching_worker.js
immediately_close_worker.js
large_message_worker.js refactor(core): Allow multiple overflown responses in single poll (#9433) 2021-02-23 13:08:50 +01:00
nested_worker.js
no_permissions_worker.js
non_deno_worker.js
nonexistent_worker.out fix(runtime): handle race condition in postMessage where worker has terminated (#10239) 2021-04-19 16:57:02 +02:00
nonexistent_worker.ts fix(runtime): handle race condition in postMessage where worker has terminated (#10239) 2021-04-19 16:57:02 +02:00
parent_read_check_granular_worker.js
parent_read_check_worker.js
post_undefined.ts chore: Reorganise workers tests (#9493) 2021-02-15 14:48:47 +01:00
racy_worker.js
read_check_granular_worker.js
read_check_worker.js
sibling_worker.js
test.ts fix(runtime/js): add navigator interface objects (#9685) 2021-03-08 13:27:49 +01:00
test_worker.js
test_worker.ts
throwing_worker.js
worker_crypto.js fix(runtime): do not require deno namespace in workers for crypto (#9784) 2021-03-14 20:01:55 +01:00
worker_error.ts chore: Reorganise workers tests (#9493) 2021-02-15 14:48:47 +01:00
worker_error.ts.out feat(cli/source_map): Use top user frame for error source lines (#9604) 2021-02-26 12:40:05 +01:00
worker_globals.ts fix(runtime/js): add navigator interface objects (#9685) 2021-03-08 13:27:49 +01:00
worker_location.ts chore: Reorganise workers tests (#9493) 2021-02-15 14:48:47 +01:00
worker_nested_error.ts chore: Reorganise workers tests (#9493) 2021-02-15 14:48:47 +01:00
worker_nested_error.ts.out feat(cli/source_map): Use top user frame for error source lines (#9604) 2021-02-26 12:40:05 +01:00
worker_types.ts chore: Reorganise workers tests (#9493) 2021-02-15 14:48:47 +01:00
worker_unstable.ts
worker_with_top_level_await.ts fix(runtime/web_worker): Don't block self.onmessage with TLA (#9619) 2021-03-04 13:19:47 +01:00