[wpt-sync] Sync PR 40257 - Add the Sec-CH-UA-Form-Factor header
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox116 fixed)
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40257 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40257
Details from upstream follow.
Dustin J. Mitchell <djmitche@chromium.org> wrote:
Add the Sec-CH-UA-Form-Factor header
As described in https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factor
This is protected by the ClientHintsFormFactor feature flag, which is
disabled by default, so the CL introduces no new behavior. There are
still several open questions about the header, but this initial
implementation should make a suitable starting point regardless of how
those are decided.This does not:
- Add the hint to NavigatorUAData (the spec does not require this).
- Add the hint to devtools (this can wait until more questions are answered).
Bug: 1442283
Change-Id: I964200563ad1f3dea3a8a7a59afc03b5d23f9cf3
Reviewed-on: https://chromium-review.googlesource.com/4558705
WPT-Export-Revision: 2d33c1d31b548a94789cab8ebfb06abce6f9359c
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Comment 4•1 year ago
|
||
bugherder |
Description
•