[wpt-sync] Sync PR 28956 - Implement `Sec-CH-Prefers-Color-Scheme`
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox90 fixed)
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28956 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28956
Details from upstream follow.
b'Fran\xc3\xa7ois Beaufort <beaufort.francois@gmail.com>' wrote:
Implement
Sec-CH-Prefers-Color-Scheme
The
Sec-CH-Prefers-Color-Scheme
client hint is modeled after the
prefers-color-scheme
user preference media feature as defined in Media
Queries 5.Spec: https://tomayac.github.io/user-preference-media-features-headers/#sec-ch-prefers-color-scheme
Bug: 1207897
Change-Id: Ie52bc6b52507b1f5b681ec61ddf565776316306eReviewed-on: https://chromium-review.googlesource.com/2883198
WPT-Export-Revision: 0146d3d58b2ee5f4ba1d5e4353f6d4779a6d8811
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ac838a1ac74717965b0c1b2cd5a4b629be60b493
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 12 tests and 1 subtests
Status Summary
Firefox
OK : 12
PASS: 9
FAIL: 9
Chrome
OK : 12
PASS: 13
FAIL: 5
Safari
OK : 12
PASS: 8
FAIL: 10
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
Accept-CH header test: FAIL (Chrome: PASS, Safari: FAIL)
/client-hints/accept-ch-feature-policy.sub.https.html
Accept-CH header test: FAIL (Chrome: PASS, Safari: FAIL)
Cross-Origin Accept-CH header test: FAIL (Chrome: PASS, Safari: FAIL)
/client-hints/accept-ch-no-feature-policy-navigation.https.html
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: PASS, 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: PASS, Safari: FAIL)
/client-hints/accept-ch-no-feature-policy.sub.https.html
Accept-CH header test: FAIL (Chrome: PASS, Safari: FAIL)
/client-hints/http-equiv-accept-ch-merge.https.html
Accept-CH header test: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2681579a72fb [wpt PR 28956] - Implement `Sec-CH-Prefers-Color-Scheme`, a=testonly
Comment 4•3 years ago
|
||
bugherder |
Description
•