[wpt-sync] Sync PR 32339 - Add WPT for referrer policy in history
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox98 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 32339 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32339
Details from upstream follow.
Antonio Sartori <antoniosartori@chromium.org> wrote:
Add WPT for referrer policy in history
This CL adds a Web Platform Test checking for the following scenario:
- An about:blank iframe is initially loaded with referrer policy A.
- The iframe changes referrer policy to B by adding programmatically
a meta tag.- After some navigations, a history navigation goes back to the
about:blank iframe.
When reloading referrer policy from history, the iframe should end up
having referrer policy A (disregarding B).
Change-Id: I865336cad4148a60922215ae3bd6b4635613917fReviewed-on: https://chromium-review.googlesource.com/3382819
WPT-Export-Revision: f4e70939eb5578bfcd8dae2996ce4ffa831b03f2
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
| Assignee | ||
Comment 3•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
FAIL : 1
Chrome
OK : 1
PASS : 1
Safari
ERROR: 1
Links
Details
New Tests That Don't Pass
/referrer-policy/generic/inheritance/iframe-inheritance-history-about-blank.html
History navigation reuses original policy.: FAIL (Chrome: PASS)
Updated•4 years ago
|
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1498df26f4eb
https://hg.mozilla.org/mozilla-central/rev/1b665f361ea4
Description
•