Closed Bug 1480648 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12290 - Add test for blocked iframe navigation

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12290 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12290
Details from upstream follow.

Mike Pennisi <mike@mikepennisi.com> wrote:
>  Add test for blocked iframe navigation
>  
>  Step 2 of "process the iframe attributes" [1] reads:
>  
>  > 2. If there exists an ancestor browsing context whose active
>  >    document's URL, ignoring fragments, is equal to url, then return.
>  
>  Add tests for this behavior, verifying the absence of navigation through
>  the synchronously-fired `beforeunload` event.
>  
>  [1] https://html.spec.whatwg.org/multipage/iframe-embed-object.html#otherwise-steps-for-iframe-or-frame-elements
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 4 subtests
OK     : 1
PASS   : 4
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0207dddd3977
[wpt PR 12290] - Add test for blocked iframe navigation, a=testonly
https://hg.mozilla.org/mozilla-central/rev/0207dddd3977
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.