[wpt-sync] Sync PR 41126 - Implement `Sec-CH-Prefers-Reduced-Transparency`
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox119 fixed)
| Tracking | Status | |
|---|---|---|
| firefox119 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41126 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41126
Details from upstream follow.
Luke Warlow <luke@warlow.dev> wrote:
Implement
Sec-CH-Prefers-Reduced-TransparencyThe
Sec-CH-Prefers-Reduced-Transparencyclient hint is modeled after
theprefers-reduced-transparencyuser preference media feature as
defined in Media Queries 5.Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/GFHrc2-lOo8
Bug: 1466423
Change-Id: I7b1e37d879dcc05b19475ba184daf28275d6ae9e
Reviewed-on: https://chromium-review.googlesource.com/4705483
WPT-Export-Revision: a0fef2dfce56910f239f3b3afdf0f7726aae81ba
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 25 tests and 1 subtests
Status Summary
Firefox
OK : 25
PASS : 12
FAIL : 23
Chrome
OK : 25
PASS : 22
FAIL : 13
Safari
OK : 24
PASS : 11
FAIL : 23
TIMEOUT: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /client-hints/accept-ch/answers.sub.https.html [wpt.fyi]
- Accept-CH header test:
FAIL(Chrome:PASS, Safari:FAIL)
- Accept-CH header test:
- /client-hints/accept-ch/feature-policy.sub.https.html [wpt.fyi]
- Accept-CH header test:
FAIL(Chrome:PASS, Safari:FAIL) - Cross-Origin Accept-CH header test:
FAIL(Chrome:PASS, Safari:FAIL)
- Accept-CH header test:
- /client-hints/accept-ch/no-feature-policy.sub.https.html [wpt.fyi]
- Accept-CH header test:
FAIL(Chrome:PASS, Safari:FAIL)
- Accept-CH header test:
- /client-hints/accept-ch/feature-policy-navigation/feature-policy.https.html [wpt.fyi]
- Client hints loaded on cross-origin iframe request with feature policy.:
FAIL(Chrome:PASS, Safari:FAIL) - Client hints loaded on same-origin iframe request with feature policy.:
FAIL(Chrome:FAIL, Safari:FAIL) - Client hints loaded on cross-origin iframe request with feature policy after attempting to set independently.:
FAIL(Chrome:PASS, Safari:FAIL)
- Client hints loaded on cross-origin iframe request with feature policy.:
- /client-hints/accept-ch/feature-policy-navigation/no-feature-policy.https.html [wpt.fyi]
- Client hints not loaded on cross-origin iframe request with no feature policy.:
FAIL(Chrome:PASS, Safari:FAIL) - Client hints loaded on same-origin iframe request with no feature policy.:
FAIL(Chrome:FAIL, Safari:FAIL) - Client hints loaded on cross-origin iframe request with allow list.:
FAIL(Chrome:PASS, Safari:FAIL) - Client hints loaded on same-origin iframe request with allow list.:
FAIL(Chrome:FAIL, Safari:FAIL)
- Client hints not loaded on cross-origin iframe request with no feature policy.:
- /client-hints/accept-ch-change.https.html [wpt.fyi]
- Accept-CH changes based on header:
FAIL(Chrome:FAIL, Safari:TIMEOUT)
- Accept-CH changes based on header:
- /client-hints/http-equiv-accept-ch-iframe.https.html [wpt.fyi]
- Client hints loaded on same-origin iframe should include hints with a default permissions policy ofself and *, but the http-equiv meta tag has a bug and it doesn't impact iframes.:
FAIL(Chrome:FAIL, Safari:FAIL) - Client hints loaded on cross-origin iframe only include hints with a default permissions policy of *.:
FAIL(Chrome:PASS, Safari:FAIL)
- Client hints loaded on same-origin iframe should include hints with a default permissions policy ofself and *, but the http-equiv meta tag has a bug and it doesn't impact iframes.:
- /client-hints/http-equiv-accept-ch-merge.https.html [wpt.fyi]
- Accept-CH header test:
FAIL(Chrome:FAIL, Safari:FAIL)
- Accept-CH header test:
- /client-hints/meta-equiv-delegate-ch-iframe.https.html [wpt.fyi]
- Client hints loaded on same-origin iframe include hints with a default permissions policy of self and *.:
FAIL(Chrome:PASS, Safari:FAIL) - Client hints loaded on cross-origin iframe only include hints with a default permissions policy of *.:
FAIL(Chrome:PASS, Safari:FAIL)
- Client hints loaded on same-origin iframe include hints with a default permissions policy of self and *.:
- /client-hints/meta-equiv-delegate-ch-merge.https.html [wpt.fyi]
- Delegate-CH header test:
FAIL(Chrome:FAIL, Safari:FAIL)
- Delegate-CH header test:
- /client-hints/sandbox/iframe-csp-same-origin.https.html [wpt.fyi]
- CSP sandboxed iframe with same-origin flag does send client hint headers:
FAIL(Chrome:FAIL, Safari:FAIL)
- CSP sandboxed iframe with same-origin flag does send client hint headers:
- /client-hints/sandbox/iframe-csp.https.html [wpt.fyi]
- CSP sandboxed iframe does not send client hint headers:
FAIL(Chrome:PASS, Safari:FAIL)
- CSP sandboxed iframe does not send client hint headers:
- /client-hints/sandbox/iframe-popups-escape-sandbox.https.html [wpt.fyi]
- popup from sandboxed iframe with allow-popups-to-escape-sandbox flag does send client hint headers:
FAIL(Chrome:PASS, Safari:FAIL)
- popup from sandboxed iframe with allow-popups-to-escape-sandbox flag does send client hint headers:
- /client-hints/sandbox/iframe-same-origin.https.html [wpt.fyi]
- Same origin sandboxed iframe with allow-same-origin flag does send client hint headers:
FAIL(Chrome:FAIL, Safari:FAIL)
- Same origin sandboxed iframe with allow-same-origin flag does send client hint headers:
- /client-hints/sandbox/iframe.https.html [wpt.fyi]
- sandboxed iframe does not send client hint headers:
FAIL(Chrome:PASS, Safari:FAIL)
- sandboxed iframe does not send client hint headers:
Comment 4•2 years ago
|
||
| bugherder | ||
Description
•