Closed
Bug 1825738
Opened 3 years ago
Closed 3 years ago
[wpt-sync] Sync PR 39301 - [fetch] Test that `User-Agent` is not a forbidden request header
Categories
(Core :: DOM: Networking, task, P4)
Core
DOM: Networking
Tracking
()
RESOLVED
FIXED
114 Branch
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39301 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39301
Details from upstream follow.
Andreu Botella <abotella@igalia.com> wrote:
[fetch] Test that
User-Agentis not a forbidden request header
User-Agentused to be a forbidden request header until it was removed in whatwg/fetch#37. However, this was never added as a WPT test, and Chrome still treats it as forbidden. This change adds that test.
| Assignee | ||
Updated•3 years ago
|
Component: web-platform-tests → DOM: Networking
Product: Testing → Core
| Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=8488c6923f152cb0729879b73208b9253b9950c5
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests and 62 subtests
Status Summary
Firefox
OK : 4
PASS: 244
FAIL: 4
Chrome
OK : 4
PASS: 244
FAIL: 4
Safari
OK : 4
PASS: 244
FAIL: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /fetch/api/request/request-headers.any.html [wpt.fyi]
- Adding invalid request header "Access-Control-Request-Private-Network: KO":
FAIL(Chrome:PASS, Safari:FAIL)
- Adding invalid request header "Access-Control-Request-Private-Network: KO":
- /fetch/api/request/request-headers.any.serviceworker.html [wpt.fyi]
- Adding invalid request header "Access-Control-Request-Private-Network: KO":
FAIL(Chrome:PASS, Safari:FAIL)
- Adding invalid request header "Access-Control-Request-Private-Network: KO":
- /fetch/api/request/request-headers.any.worker.html [wpt.fyi]
- Adding invalid request header "Access-Control-Request-Private-Network: KO":
FAIL(Chrome:PASS, Safari:FAIL)
- Adding invalid request header "Access-Control-Request-Private-Network: KO":
- /fetch/api/request/request-headers.any.sharedworker.html [wpt.fyi]
- Adding invalid request header "Access-Control-Request-Private-Network: KO":
FAIL(Chrome:PASS, Safari:FAIL)
- Adding invalid request header "Access-Control-Request-Private-Network: KO":
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/baa91cf7aab7
[wpt PR 39301] - [fetch] Test that `User-Agent` is not a forbidden request header, a=testonly
Comment 4•3 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox114:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•