[Webkit-unassigned] [Bug 253043] New: HTTP/2 layout tests actually run over HTTP/1.1
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 27 16:53:12 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=253043
Bug ID: 253043
Summary: HTTP/2 layout tests actually run over HTTP/1.1
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nham at apple.com
There are a number of WPT tests that use "h2" in the filename to designate that they should be run over HTTP/2: https://web-platform-tests.org/writing-tests/server-features.html#tests-requiring-http-2-0
However, when I add logging to various h2 layout tests, I see that they're actually directed towards the plain-text HTTP/1.1 WPT server. For instance, `console.log(window.location)` in `imported/w3c/web-platform-tests/xhr/status.h2.window.html` produces this URL:
http://localhost:8800/xhr/status.h2.window.html
It should actually produce this URL, since the h2 server runs on port 9000 by default:
https://localhost:9000/xhr/status.h2.window.html
It looks like the issue might be that the `wpt_test_path_to_uri` method has to be updated to parse `h2` out of the test filename and direct the request to the HTTP/2 as necessary.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230228/a6890e33/attachment-0001.htm>
More information about the webkit-unassigned
mailing list