Closed Bug 1835438 Opened 1 years ago Closed 1 year ago

[wpt-sync] Sync PR 40257 - Add the Sec-CH-UA-Form-Factor header

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
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

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b05d8e96e57e [wpt PR 40257] - Add the Sec-CH-UA-Form-Factor header, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.