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
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🔴 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 |
|
This one fails on the bots - does it need a rebase? |
|
oh oops i opened this before we updated to firefox 154 |
`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`
d690403 to
981cc8e
Compare
Test results for "tests 1"4 flaky51281 passed, 1238 skipped Merge workflow run. |
Test results for "MCP"2 failed 8303 passed, 1367 skipped Merge workflow run. |
🟡 The PR's own failures are cleared; two unrelated MCP failures remain unprovenHi, I'm the Playwright bot and I took another look at the CI now that Firefox 154 has landed. The four Firefox WebSocket failures from the earlier run are gone — the latest DetailsOverall: the change touches Cleared (was caused by this PR, now passing)
Uncertain (not this PR, but not a proven flake either)
Triaged by the Playwright bot. Triaged by the Playwright bot - agent run |
See #42037 for the original tests.
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 paths