0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/cli/tests/testdata/workers
Andreu Botella 4a13c320d7
fix(workers): Make worker.terminate() not immediately kill the isolate (#12831)
Due to a bug in V8, terminating an isolate while a module with top-level
await is being evaluated would crash the process. This change makes it
so calling `worker.terminate()` will signal the worker to terminate at
the next iteration of the event loop, and it schedules a proper
termination of the worker's isolate after 2 seconds.
2021-11-29 13:37:44 +01:00
..
async_error.ts fix(runtime/js/workers): throw errors instead of using an op (#12249) 2021-10-01 11:30:55 +02:00
bench_large_message.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
bench_round_robin.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
bench_startup.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
bench_worker.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
broadcast_channel.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
busy_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
close_in_wasm_reactions.js fix: Don't panic when a worker is closed in the reactions to a wasm operation. (#12270) 2021-09-30 19:52:58 +02:00
close_nested_child.js chore(workers): Test that closing a worker closes any child workers (#12215) 2021-09-24 19:26:57 -07:00
close_nested_parent.js chore(workers): Test that closing a worker closes any child workers (#12215) 2021-09-24 19:26:57 -07:00
close_race_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
deno_worker.ts feat(workers): Make the Deno namespace configurable and unfrozen (#11888) 2021-08-31 19:33:03 +02:00
drop_handle_race.js fix(workers): Don't panic when a worker's parent thread stops running (#12156) 2021-09-22 18:02:15 +02:00
dynamic_remote.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
env_read_check_worker.js fix: worker environment permissions should accept an array (#12250) 2021-09-30 15:50:59 -04:00
error.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
event_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
event_worker_scope.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
fetching_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
http_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
immediately_close_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
message_before_close.js tests: make worker test deterministic (#12361) 2021-10-07 22:53:09 +02:00
message_handler_error.ts fix(runtime/js/workers): throw errors instead of using an op (#12249) 2021-10-01 11:30:55 +02:00
message_port.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
nested_worker.js fix(cli/tests): move worker test assertions out of message handlers (#12439) 2021-10-14 11:44:33 +02:00
no_permissions_worker.js fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00
non_deno_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
nonexistent_worker.out refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
nonexistent_worker.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
parent_read_check_worker.js fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00
permissions_blob_local.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
permissions_blob_local.ts.out refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
permissions_blob_remote.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
permissions_blob_remote.ts.out refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
permissions_data_local.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
permissions_data_local.ts.out refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
permissions_data_remote.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
permissions_data_remote.ts.out refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
permissions_dynamic_remote.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
permissions_dynamic_remote.ts.out fix(cli): short-circuit in prepare_module_load() (#12604) 2021-11-16 10:25:52 +11:00
permissions_remote_remote.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
permissions_remote_remote.ts.out refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
post_undefined.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
racy_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
read_check_granular_worker.js fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00
read_check_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
shared_array_buffer.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
sibling_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
static_remote.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
terminate_tla_crash.js fix(workers): Make worker.terminate() not immediately kill the isolate (#12831) 2021-11-29 13:37:44 +01:00
terminate_tla_crash.js.out fix(workers): Make worker.terminate() not immediately kill the isolate (#12831) 2021-11-29 13:37:44 +01:00
test.ts fix(cli/tests): move worker test assertions out of message handlers (#12439) 2021-10-14 11:44:33 +02:00
test.ts.out feat(test): better formatting for test elapsed time (#12610) 2021-10-30 22:49:46 +02:00
test_worker.js fix(runtime/js/workers): throw errors instead of using an op (#12249) 2021-10-01 11:30:55 +02:00
test_worker.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
throwing_worker.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_async_error.ts fix(runtime/js/workers): throw errors instead of using an op (#12249) 2021-10-01 11:30:55 +02:00
worker_async_error.ts.out fix(runtime/js/workers): throw errors instead of using an op (#12249) 2021-10-01 11:30:55 +02:00
worker_crypto.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_error.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_error.ts.out fix(runtime/js/workers): throw errors instead of using an op (#12249) 2021-10-01 11:30:55 +02:00
worker_event_handlers.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_globals.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_large_message.js chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_location.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_message_handler_error.ts fix(runtime/js/workers): throw errors instead of using an op (#12249) 2021-10-01 11:30:55 +02:00
worker_message_handler_error.ts.out fix(runtime/js/workers): throw errors instead of using an op (#12249) 2021-10-01 11:30:55 +02:00
worker_nested_error.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_nested_error.ts.out fix(runtime/js/workers): throw errors instead of using an op (#12249) 2021-10-01 11:30:55 +02:00
worker_structured_cloning.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_types.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_unstable.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
worker_with_top_level_await.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00