mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
The fixture was using `globalThis.addEventListener` first (which is available in worker threads), but with the new MessagePort-based parentPort, messages from `worker.postMessage()` now correctly go to parentPort rather than self.onmessage. Updated the fixture to explicitly check for parentPort availability first. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>