ladybird/Tests/LibWeb/Text/input/Worker
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
..
Worker-blob.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Worker-close-after-postMessage.html LibWeb: Don't discard PostedMessage tasks when closing a worker 2024-10-08 06:51:04 +02:00
worker-close-after-postMessage.js LibWeb: Don't discard PostedMessage tasks when closing a worker 2024-10-08 06:51:04 +02:00
Worker-crypto.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
worker-crypto.js LibWeb: Expose crypto object to workers 2024-09-18 10:09:01 +02:00
Worker-echo.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Worker-error-event-after-gc.html LibWeb: Keep worker startup reachable until script load completes 2026-04-27 18:02:49 +02:00
worker-importScripts-scriptToImport.js LibWeb: Implement WorkerGlobalScope.importScripts() 2024-05-29 08:17:18 +02:00
Worker-importScripts.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
worker-importScripts.js LibWeb: Implement WorkerGlobalScope.importScripts() 2024-05-29 08:17:18 +02:00
Worker-location.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Worker-location.js LibWeb: Set correct prototype for WorkerLocation 2024-07-28 21:40:30 +02:00
Worker-module.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Worker-offscreencanvas.html LibWeb: Add OffscreenCanvas tests 2025-06-30 09:46:21 -06:00
Worker-performance.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
worker-performance.js LibWeb: Allow the Performance object to be used by workers 2024-04-02 07:46:16 +02:00
Worker-postMessage-transfer.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
Worker-referrer.html Tests/LibWeb: Do not hardcode URL path for echo server tests 2026-03-23 22:32:43 +01:00
Worker-script-fetch-referrer.html Tests/LibWeb: Do not hardcode URL path for echo server tests 2026-03-23 22:32:43 +01:00
worker.js LibWeb+WebWorker: Convert Workers to use MessagePorts for postMessage 2023-12-25 12:09:11 +01:00
worker.mjs LibWeb: Prevent crash when loading module in worker 2025-02-28 14:51:20 +01:00
XHttpRequest-responseXML-unavailable-in-worker.html LibWeb: Don't expose XMLHttpRequest.responseXML in workers 2025-07-01 01:03:58 +02:00
XHttpRequest-responseXML-unavailable-in-worker.js LibWeb: Don't expose XMLHttpRequest.responseXML in workers 2025-07-01 01:03:58 +02:00