Files
firefox/testing/web-platform/tests/client-hints/accept-ch-feature-policy-navigation.https.html.headers
T
Yoav Weiss 89c8154b26 Bug 1585640 [wpt PR 19464] - [client hints] Apply Feature Policy on 3rd party iframe navigations, a=testonly
Automatic update from web-platform-tests
[client hints] Apply Feature Policy on 3rd party iframe navigations

Feature Policy control over Client Hints in 3rd party contexts
currently only works (behind a flag) for subresources.

This CL applies that control also over 3rd party iframe
navigation requests. On top of that, in order to make this testable
with WPTs, this CL also adds a ContentShell persistency layer for
Client Hints.

Bug: 989898
Binary-Size: Virtual ForTesting method
Change-Id: I17ce2af93c9b2f9a3f10972b6b4e0ed8161f9381
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728577
Reviewed-by: Jochen Eisinger <[email protected]>
Reviewed-by: Mike West <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Reviewed-by: Arthur Sonzogni <[email protected]>
Reviewed-by: Peter Kasting <[email protected]>
Reviewed-by: Andrey Kosyakov <[email protected]>
Reviewed-by: Tarun Bansal <[email protected]>
Commit-Queue: Yoav Weiss <[email protected]>
Cr-Commit-Position: refs/heads/master@{#713469}

--

wpt-commits: 1b3a4aab3fd1394633678f2056148127257121b3
wpt-pr: 19464
2019-11-29 10:55:37 +00:00

4 lines
160 B
Plaintext

Accept-CH: Device-Memory, DPR, Viewport-Width
Accept-CH-Lifetime: 1
Feature-Policy: ch-device-memory *; ch-dpr 'none'; ch-viewport-width 'self'; ch-lang 'none'