[wpt-sync] Sync PR 27930 - Pass initiator frame token for location.reload()
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 27930 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27930
Details from upstream follow.
b'Antonio Sartori <antoniosartori@chromium.org>' wrote:
Pass initiator frame token for location.reload()
Previously, we were treating navigations initiated by
location.reload() in the renderer as navigations without initiator. It
seems better to let the initiator be the window being reloaded (as it
happens, for example, for a reload initiated by a refresh meta tag).
This has the effect that in the browser process we correctly inherit
the policy container policies.Change-Id: Id0951b3602ea889fee0f465afbda645b6b1d3cbd
Fixed: 1185145
Bug: 1185145
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2739605
Reviewed-by: Arthur Sonzogni \<arthursonzogni@chromium.org>
Reviewed-by: Daniel Cheng \<dcheng@chromium.org>
Commit-Queue: Antonio Sartori \<antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861882}
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=6ecf8a51fb1862b503ded68b7cef05404f457fd6
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 3 subtests
Status Summary
Firefox
OK : 1
PASS : 3
Chrome
OK : 1
PASS : 3
Safari
PASS : 1
TIMEOUT: 2
NOTRUN : 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff4e362f386a [wpt PR 27930] - Pass initiator frame token for location.reload(), a=testonly
Comment 4•3 years ago
|
||
bugherder |
Description
•