chore(firefox): remove the WebSocket handshake Worker workaround - #42455
chore(firefox): remove the WebSocket handshake Worker workaround#42455Devin Rousso (dcrousso) wants to merge 1 commit into
WebSocket handshake Worker workaround#42455Conversation
`D310690` preserves the original `LoadInfo` when Firefox creates the handshake channel, which keeps the worker browsing context associated with its `WebSocket` request require `requestData` again in `FrameManager.onWebSocketRequest` and assert that `_onWebSocketOpened` receives it remove the Firefox guards for the worker `locale` and `setExtraHTTPHeaders` coverage because the association now reaches both handshake paths this requires the Firefox `154` roll that first includes `D310690`
Test results for "tests 1"4 failed 51268 passed, 1237 skipped Merge workflow run. |
Test results for "MCP"8259 passed, 1361 skipped Merge workflow run. |
🔴 The failures are caused by this PRHi, I'm the Playwright bot and I took a first look at the CI results. All four failures are Firefox worker/handshake WebSocket tests that this PR directly rewrites, and they fail for the reason the PR description already calls out: this needs the Firefox DetailsOverall: not flakes, not infra. The diff reaches every failing test — it removes the Firefox worker workaround in Caused by this PR
No separate flake check was needed: the change removes these tests' Firefox guards and rewrites the exact code path they exercise, so the causation is direct. What unblocks it: land the Firefox Triaged by the Playwright bot - agent run |
D310690preserves the originalLoadInfowhen Firefox creates the handshake channel, which keeps the worker browsing context associated with itsWebSocketrequestrequire
requestDataagain inFrameManager.onWebSocketRequestand assert that_onWebSocketOpenedreceives itremove the Firefox guards for the worker
localeandsetExtraHTTPHeaderscoverage because the association now reaches both handshake pathsthis requires the Firefox
154roll that first includesD310690#42445