[wpt-sync] Sync PR 23299 - [Security][COOP] Change COOP parser to use a structured header
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 23299 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23299
Details from upstream follow.
Pâris MEULEMAN <pmeuleman@chromium.org> wrote:
[Security][COOP] Change COOP parser to use a structured header
To be forward compatible, and support report-to=URI
reporting endpoint as parameters of the Cross origin
opener policy, parse the COOP header as a structured
header.This will allow a website to set the report-to
parameter without Chrome ignore the COOP value
altogether.Bug: 1073033
Change-Id: I79885b833a0254e3d6c2ccd0fb9293861a14f782Reviewed-on: https://chromium-review.googlesource.com/2170050
WPT-Export-Revision: 63047309e7bba8dc1b7183b94843d666ce2b049b
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 1•9 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=14e9dc768e3311262b2d5054c807a7d159078082
Assignee | ||
Comment 2•9 months ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 68 tests
Status Summary
Firefox
OK : 1
PASS: 2[GitHub] 67[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 69[Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 1
Chrome
OK : 1
PASS: 2
FAIL: 1
Safari
OK : 1
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/html/cross-origin-opener-policy/popup-with-structured-header.https.html: OK [Gecko-linux1804-64-debug
, Gecko-linux1804-64-opt
, Gecko-linux1804-64-qr-debug
, Gecko-linux1804-64-qr-opt
, Gecko-windows10-64-debug
, Gecko-windows10-64-opt
, Gecko-windows10-64-qr-debug
, Gecko-windows10-64-qr-opt
, Gecko-windows7-32-debug
, Gecko-windows7-32-opt
, GitHub
], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview
, Gecko-android-em-7.0-x86_64-opt-geckoview
] (Chrome: OK, Safari: OK)
same-origin with structured headers document opening popup to https://web-platform.test:8443 with COOP: "same-origin; report-to=endpoint": FAIL (Chrome: FAIL, Safari: FAIL)
Tests Disabled in Gecko Infrastructure
/html/cross-origin-opener-policy/popup-with-structured-header.https.html: OK [Gecko-linux1804-64-debug
, Gecko-linux1804-64-opt
, Gecko-linux1804-64-qr-debug
, Gecko-linux1804-64-qr-opt
, Gecko-windows10-64-debug
, Gecko-windows10-64-opt
, Gecko-windows10-64-qr-debug
, Gecko-windows10-64-qr-opt
, Gecko-windows7-32-debug
, Gecko-windows7-32-opt
, GitHub
], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview
, Gecko-android-em-7.0-x86_64-opt-geckoview
] (Chrome: OK, Safari: OK)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb48a1a411b8 [wpt PR 23299] - [Security][COOP] Change COOP parser to use a structured header, a=testonly https://hg.mozilla.org/integration/autoland/rev/9f6188ac30ce [wpt PR 23299] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7c655bfe79f8 [wpt PR 23299] - [Security][COOP] Change COOP parser to use a structured header, a=testonly https://hg.mozilla.org/integration/autoland/rev/ed86b80ccb3a [wpt PR 23299] - Update wpt metadata, a=testonly
Comment 5•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7c655bfe79f8
https://hg.mozilla.org/mozilla-central/rev/ed86b80ccb3a
Description
•