[wpt-sync] Sync PR 27760 - Add WPT for referrer policy inheritance to popup
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 27760 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27760
Details from upstream follow.
b'Antonio Sartori <antoniosartori@chromium.org>' wrote:
Add WPT for referrer policy inheritance to popup
Web platform tests did not cover referrer policy inheritance for a
popup. This CL adds a test for it.Bug: 1130587
Change-Id: I5005bdf249b707ef1f55b39c717534663a9ecf2eReviewed-on: https://chromium-review.googlesource.com/2689774
WPT-Export-Revision: 5518c03ac910c57d5f72bfe24af779a835b83a14
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f46d922b726eaa9008f74db753083e739aa9f232
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 1 tests and 4 subtests
Status Summary
Firefox
OK : 1
PASS: 1
FAIL: 3
Chrome
OK : 1
PASS: 3
FAIL: 1
Safari
OK : 1
PASS: 3
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/referrer-policy/generic/inheritance/popup-inheritance-about-blank.html
The fetch() API in an about:blank popup with the 'client' referrer is fetched with no 'Referer' header: FAIL
The fetch() API in an about:blank popup with a custom URL referrer is fetched with a 'Referer` header that uses the outer document's URL along with its referrer policy: FAIL
New Tests That Don't Pass
/referrer-policy/generic/inheritance/popup-inheritance-about-blank.html
The fetch() API in an about:blank popup with the 'client' referrer is fetched with no 'Referer' header: FAIL (Chrome: PASS, Safari: PASS)
The fetch() API in an about:blank popup with a custom URL referrer is fetched with a 'Referer` header that uses the outer document's URL along with its referrer policy: FAIL (Chrome: PASS, Safari: PASS)
The value of document.referrer in an about:blank popup is the outer document's full URL, regardless of referrer policy: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff00f9d2a2e8 [wpt PR 27760] - Add WPT for referrer policy inheritance to popup, a=testonly https://hg.mozilla.org/integration/autoland/rev/ee0f0c1d035c [wpt PR 27760] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ff00f9d2a2e8
https://hg.mozilla.org/mozilla-central/rev/ee0f0c1d035c
Description
•