[wpt-sync] Sync PR 63731 - Add support for opt-in WebSocket-over-HTTP/3 WPT variant
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox163 fixed)
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
95.17 KB,
text/plain
|
Details |
Sync web-platform-tests PR 63731 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63731
Details from upstream follow.
Liang Zhao <lzhao@microsoft.com> wrote:
Add support for opt-in WebSocket-over-HTTP/3 WPT variant
The WebSocket/H3 server added in #63122 is not yet integrated with WPT's normal server and test runners. This change connects it to
wpt serveandwpt runso WebSocket tests can gain H3 variants without changing their test bodies.A browser that has not discovered an H3 endpoint normally begins by fetching the test page over HTTPS/TCP; a
wss:URL alone does not tell it to use H3. The paired HTTPS/TCP listener serves that initial request and advertises the H3/UDP server on the same numbered port through Alt-Svc. Both listeners are opt-in; without--enable-websocket-h3,wpt runskips H3 variants. This change adds an H3 variant to one WebSocket test,websockets/binary/001.html. Browsers must separately support WebSocket over H3.For local testing, the variant passed in a Chromium browser with
--enable-websocket-h3,--enable-features=EnableWebsocketsOverHttp3, and--origin-to-force-quic-on=web-platform.test:11002. The last switch works around Chromium's separate QUIC certificate check for the locally trusted WPT root. Port 11002 is intentionally not the test server's port: Chromium grants the certificate exception by hostname, while forcing QUIC only on 11002 leaves the test origin on 11001 to discover H3 through Alt-Svc. A network log confirmed an H3 WebSocket Extended CONNECT. With the variant enabled but the H3/UDP server unavailable, the test failed rather than passing by falling back to H2. Without opt-in, the variant was skipped.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•12 days ago
|
| Assignee | ||
Comment 1•12 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=121362
| Assignee | ||
Updated•12 days ago
|
| Assignee | ||
Comment 2•11 days ago
|
||
Try push failed to land: Lando job 121362 for the try push is FAILED:
Problem while applying patch in revision None:
hg error in cmd: hg import -s 95 --date 1794934293 0 --user moz-wptsync-bot <wptsync@mozilla.com> --logfile /tmp/tmp4nox44r1msg /tmp/tmpww_havw3diff: applying /tmp/tmpww_havw3diff
patching file testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py
Hunk #1 FAILED at 927
1 out of 1 hunks FAILED -- saving rejects to file testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py.rej
file testing/web-platform/tests/tools/wptrunner/wptrunner/tests/test_testrunner.py already exists
1 out of 1 hunks FAILED -- saving rejects to file testing/web-platform/tests/tools/wptrunner/wptrunner/tests/test_testrunner.py.rej
abort: patch failed to apply
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 3•11 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=122091
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 4•11 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 778 tests and 1 subtests
Status Summary
Firefox
OK : 773
PASS : 1522
FAIL : 655
PRECONDITION_FAILED: 4
TIMEOUT : 8
Chrome
OK : 748
PASS : 1994
FAIL : 28
PRECONDITION_FAILED: 2
TIMEOUT : 58
NOTRUN : 132
Safari
OK : 772
PASS : 1512
FAIL : 668
TIMEOUT : 10
Links
Details
Firefox-only Failures
- /speculation-rules/prefetch/prefetch-traverse-reload.sub.html [wpt.fyi]
- History's Document is used for traversal navigations:
FAIL
- History's Document is used for traversal navigations:
- /websockets/back-forward-cache-closes-open-websocket-connection.tentative.window.html [wpt.fyi]
- Testing BFCache support for page with open WebSocket connection, where the WebSocket connection is closed on BFCache.:
PRECONDITION_FAILEDlinked bug:Bug 2032491
- Testing BFCache support for page with open WebSocket connection, where the WebSocket connection is closed on BFCache.:
- /websockets/back-forward-cache-with-open-websocket-connection-and-close-it-in-pagehide.window.html [wpt.fyi]
- Testing BFCache support for a page with an open WebSocket connection, but close it in pagehide.:
PRECONDITION_FAILEDlinked bug:Bug 2003986
- Testing BFCache support for a page with an open WebSocket connection, but close it in pagehide.:
(See attachment for full changes)
Comment 6•8 days ago
|
||
| bugherder | ||
Description
•