Closed Bug 1775010 Opened 2 years ago Closed 2 years ago

[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)

task

Tracking

()

RESOLVED FIXED
104 Branch
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/3193885

Bug: https://crbug.com/1286356
Change-Id: I376c6d67df8337fac4f6922c66d7676a6be2a59a

Reviewed-on: https://chromium-review.googlesource.com/3713162
WPT-Export-Revision: b373e33268b973a93a9f37d09ca5bf30fc6a85bd

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]

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

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/90b0e900f8f1 [wpt PR 34494] - Add a WPT test for checking the iframe load event on soft reload, a=testonly https://hg.mozilla.org/integration/autoland/rev/9f5b893b42c8 [wpt PR 34494] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.