1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -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 feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
busy_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
deno_worker.ts feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
error.ts chore: Reorganise workers tests (#9493) 2021-02-15 14:48:47 +01:00
event_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
event_worker_scope.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
fetching_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
immediately_close_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
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 feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
no_permissions_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
non_deno_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
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 chore: remove std directory (#9361) 2021-02-02 12:05:46 +01:00
parent_read_check_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
post_undefined.ts chore: Reorganise workers tests (#9493) 2021-02-15 14:48:47 +01:00
racy_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
read_check_granular_worker.js chore: remove std directory (#9361) 2021-02-02 12:05:46 +01:00
read_check_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
sibling_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
test.ts fix(runtime/js): add navigator interface objects (#9685) 2021-03-08 13:27:49 +01:00
test_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
test_worker.ts feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
throwing_worker.js feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
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 feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
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