Closed Bug 1485727 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12645 - HTML: more tests for document.open bailout order

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 12645 into mozilla-central (this bug is closed when the sync is complete).

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

Timothy Gu <timothygu99@gmail.com> wrote:
>  HTML: more tests for document.open bailout order
>  
>  See https://github.com/whatwg/html/issues/3818.
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 2 tests and 10 subtests
OK     : 2
PASS   : 7
FAIL   : 3

New tests that have failures or other problems:
/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/bailout-exception-vs-return-origin.sub.window.html
    document.open should throw a SecurityError with cross-origin document even when the ignore-opens-during-unload counter is greater than 0 (during pagehide event): FAIL
    document.open should throw a SecurityError with cross-origin document even when the ignore-opens-during-unload counter is greater than 0 (during unload event): FAIL
    document.open should throw a SecurityError with cross-origin document even when there is an active parser executing script: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0585d2064f49
[wpt PR 12645] - HTML: more tests for document.open bailout order, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/11990807b74a
[wpt PR 12645] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/0585d2064f49
https://hg.mozilla.org/mozilla-central/rev/11990807b74a
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.