[wpt-sync] Sync PR 34494 - Add a WPT test for checking the iframe load event on soft reload
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream error])
Sync web-platform-tests PR 34494 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/34494
Details from upstream follow.
Ryo Ogawa <negibokken@gmail.com> wrote:
Add a WPT test for checking the iframe load event on soft reload
When an iframe is navigated to the current URL with hash, the load event
should be fired, though the iframe's source is the cross-origin.
If not, the behavior can be used for stealing sensitive information as
reported in [1]. This potentially dangerous behavior is fixed on [2].
This CL tests it for that behavior as WPT.[1] https://crbug.com/124844
[2] https://crrev.com/c/3193885Bug: https://crbug.com/1286356
Change-Id: I376c6d67df8337fac4f6922c66d7676a6be2a59aReviewed-on: https://chromium-review.googlesource.com/3713162
WPT-Export-Revision: b373e33268b973a93a9f37d09ca5bf30fc6a85bd
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
TIMEOUT
: 2
Chrome
OK
: 1
PASS
: 1
Safari
TIMEOUT
: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/browsers/browsing-the-web/navigating-across-documents/navigate-cross-origin-iframe-to-same-url-with-fragment-fire-load-event.html [wpt.fyi]:
TIMEOUT
(Chrome:OK
, Safari:TIMEOUT
)- Changing the URL hash of a cross-origin iframe should fire a load event:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
)
- Changing the URL hash of a cross-origin iframe should fire a load event:
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/90b0e900f8f1
https://hg.mozilla.org/mozilla-central/rev/9f5b893b42c8
Description
•