[wpt-sync] Sync PR 23280 - Add about:blank iframe referrer tests
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox78 fixed)
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 23280 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23280
Details from upstream follow.
Dominic Farolino <dom@chromium.org> wrote:
Add about:blank iframe referrer tests
This CL adds the following about:blank iframe "inheritance" tests:
- A test ensuring that the document.referrer for about:blank iframes
is set to the full uncensored URL of the creator document, regardless
of its referrer policy. This is for https://crbug.com/1075729.- A test ensuring that an about:blank iframe inherits its creator
document's referrer policy. This is for https://crbug.com/1075738.R=domenic@chromium.org, hiroshige@chromium.org
Bug: 1075729, 1075738
Change-Id: I215e82da4c72028b2597097d2340179a70dbffc8Reviewed-on: https://chromium-review.googlesource.com/2168653
WPT-Export-Revision: 6743202632ee4fb8cafb651cb6f73642377f0610
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=fa6eab0a08a2847db82794cfd00864b6502fa0a4
Assignee | ||
Comment 2•1 year 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
PASS : 67
FAIL : 3
TIMEOUT: 1
NOTRUN : 1
Chrome
OK : 1
PASS : 2
FAIL : 2
Safari
OK : 1
PASS : 2
FAIL : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/referrer-policy/generic/inheritance/iframe-inheritance-about-blank.html: TIMEOUT
The fetch() API in an about:blank iframe with the 'client' referrer is fetched with no 'Referer' header: FAIL
A subresource fetched from an about:blank iframe is fetched with no 'Referer' header: NOTRUN
New Tests That Don't Pass
/referrer-policy/generic/inheritance/iframe-inheritance-about-blank.html: TIMEOUT (Chrome: OK, Safari: OK)
The value of document.referrer in an about:blank iframe is the outer document's full URL, regardless of referrer policy: FAIL (Chrome: FAIL, Safari: FAIL)
The fetch() API in an about:blank iframe with the 'client' referrer is fetched with no 'Referer' header: FAIL (Chrome: PASS, Safari: PASS)
A subresource fetched from an about:blank iframe is fetched with no 'Referer' header: NOTRUN (Chrome: PASS, Safari: PASS)
The fetch() API in an about:blank iframe 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: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/93184a590f46 [wpt PR 23280] - Add about:blank iframe referrer tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/50af11dcaed0 [wpt PR 23280] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6913964af148 [wpt PR 23280] - Add about:blank iframe referrer tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/f389f7f76f50 [wpt PR 23280] - Update wpt metadata, a=testonly
Comment 5•11 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6913964af148
https://hg.mozilla.org/mozilla-central/rev/f389f7f76f50
Description
•