Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 55d163721de6165adedc733fdf0ed90295df84a9
https://github.com/WebKit/WebKit/commit/55d163721de6165adedc733fdf0ed90295df84a9
Author: Alex Christensen <[email protected]>
Date: 2026-08-11 (Tue, 11 Aug 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.js
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.serviceworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.sharedworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.worker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.sub.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.sub.any.js
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.sub.any.serviceworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.sub.any.sharedworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.sub.any.worker-expected.txt
M Source/WebCore/Modules/webtransport/WebTransport.cpp
M Source/WebCore/platform/network/RFC8941.cpp
M Source/WebCore/platform/network/RFC8941.h
Log Message:
-----------
[WebTransport] Escape WebTransportOptions.protocols according to RFC 8941
https://bugs.webkit.org/show_bug.cgi?id=321445
rdar://184538329
Reviewed by Basuke Suzuki.
My initial implementation used isValidHTTPToken, which checks characters
according to RFC 7230, Section 3.2.6.
Chrome and Firefox both behave like RFC 8941 Section 3.3.3, which allows all
characters from U+0020 to U+007E
with escapes for " and \. Though the specification doesn't seem very clear to
me, let's match behavior of
other browsers. This will make us pass new tests from
https://github.com/web-platform-tests/wpt/pull/61598
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.js:
(promise_test.async t):
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.serviceworker-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.sharedworker-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.worker-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.sub.any-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.sub.any.js:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.sub.any.serviceworker-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.sub.any.sharedworker-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.sub.any.worker-expected.txt:
* Source/WebCore/Modules/webtransport/WebTransport.cpp:
(WebCore::WebTransport::create):
* Source/WebCore/platform/network/RFC8941.cpp:
(RFC8941::escapeString):
* Source/WebCore/platform/network/RFC8941.h:
Canonical link: https://commits.webkit.org/318984@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications