Closed Bug 1534493 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15649 - HTML: test queueing behavior of window.close()

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anne van Kesteren <annevk@annevk.nl> wrote:

HTML: test queueing behavior of window.close()

The reason the second test fails in Firefox is due to window.open() using a nested event loop. I could make Firefox pass the test by removing the openee.opener assert, but seems bad?

Component: web-platform-tests → DOM
Product: Testing → Core
Component: DOM → DOM: Core & HTML
Ran 1 tests and 2 subtests
OK     : 1
PASS   : 1
FAIL   : 1

New tests that have failures or other problems:
/html/browsers/the-window-object/close-method.window.html
    window.close() affects name targeting immediately: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8ab89f51fe69
[wpt PR 15649] - HTML: test queueing behavior of window.close(), a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/6b643c6609e1
[wpt PR 15649] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.