LibWeb: Fire unhandled dedicated worker exceptions on the parent global

When a dedicated worker has an unhandled exception, we should propogate
that exception to be fired at the parent global. Fixes a timeout
in the included WPT test.
This commit is contained in:
Shannon Booth
2026-04-04 23:04:46 +02:00
committed by Shannon Booth
parent e15b1a33cb
commit a2e735b94c
Notes: github-actions[bot] 2026-04-05 21:39:29 +00:00
12 changed files with 96 additions and 11 deletions

View File

@@ -6,6 +6,7 @@
endpoint WebWorkerClient {
did_close_worker() =|
did_fail_loading_worker_script() =|
did_report_worker_exception(String message, String filename, u32 lineno, u32 colno) =|
did_request_cookie(URL::URL url, HTTP::Cookie::Source source) => (HTTP::Cookie::VersionedCookie cookie)
request_worker_agent(Web::Bindings::AgentType worker_type) => (IPC::TransportHandle handle, IPC::TransportHandle request_server_handle, IPC::TransportHandle image_decoder_handle)
}