ladybird/Services/WebWorker
Aliaksandr Kalenik 737691c43a LibWeb: Keep worker startup reachable until script load completes
Fixes flakiness in worker tests that create a Worker or SharedWorker
with a missing script URL and only attach an error handler to it.
Once the test callback returns, nothing keeps the worker rooted from
JavaScript. If GC ran before the WebWorker process reported the
script fetch failure, the Worker/WorkerAgentParent cycle could be
collected and the error event never delivered, leaving the test hung
until timeout.

Hold startup-pending WorkerAgentParents from the outside
EnvironmentSettingsObject and release that edge once the script load
succeeds, fails, or the worker closes. The worker now survives long
enough to deliver its first script-load result.
2026-04-27 18:02:49 +02:00
..
CMakeLists.txt Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
ConnectionFromClient.cpp LibWeb: Implement cross process BroadcastChannel delivery 2026-04-14 18:43:28 +02:00
ConnectionFromClient.h LibWeb: Implement cross process BroadcastChannel delivery 2026-04-14 18:43:28 +02:00
Forward.h LibWeb+WebWorker: Create SharedWorkerGlobalScope for Shared Workers 2025-05-18 17:50:05 -06:00
main.cpp Everywhere: Replace Unix socket IPC transport with Mach ports on macOS 2026-03-23 18:50:48 +01:00
PageHost.cpp LibWeb: Keep worker startup reachable until script load completes 2026-04-27 18:02:49 +02:00
PageHost.h LibWeb: Keep worker startup reachable until script load completes 2026-04-27 18:02:49 +02:00
WorkerHost.cpp LibWeb: Keep worker startup reachable until script load completes 2026-04-27 18:02:49 +02:00
WorkerHost.h LibWeb/Bindings: Emit one bindings header and cpp per IDL 2026-04-21 07:36:13 +02:00