ladybird/Tests/LibWeb/Text/input/Worker
sideshowbarker 2e86169246 Tests: Serialize Worker-echo messages to eliminate an ordering race
Problem: The Worker-echo.html test flakes under load in CI on the
Sanitizer runners, printing its messages out of order.

Cause: The test asserts a fixed order for messages arriving over two
separate ports: “loaded” over the Worker’s own port, and the channel
messages over the transferred MessagePort. Those two race, with no
cross-port ordering guarantee. So the printed order is nondeterministic.

Fix: Sequence each message explicitly with an awaited helper — the same
approach used for SharedWorker-reuse in #9669 — so the printed order is
deterministic. port2 is left unstarted until after “loaded”.
2026-06-22 14:46:00 +02:00
..
SharedWorker-close-one-owner.html LibWebView+WebContent+WebWorker: Move worker ownership into LibWebView 2026-05-27 02:27:19 +01:00
SharedWorker-reuse.html Tests: Fix intermittent SharedWorker-reuse timeout flake 2026-06-03 13:50:28 +02:00
SharedWorker-type-mismatch.html LibWebView+WebContent+WebWorker: Move worker ownership into LibWebView 2026-05-27 02:27:19 +01: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 Tests: Serialize Worker-echo messages to eliminate an ordering race 2026-06-22 14:46:00 +02: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
WorkerGlobalScope-inherited-properties.html LibWeb/Bindings: Don't install inherited members on global objects 2026-06-11 21:35:56 +02: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