[Webkit-unassigned] [Bug 189376] New: Ignore-opens-during-unload counter of a parent should apply to its children during beforeunload event
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 6 14:37:42 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=189376
Bug ID: 189376
Summary: Ignore-opens-during-unload counter of a parent should
apply to its children during beforeunload event
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: timothygu99 at gmail.com
CC: cdumez at apple.com
Per https://html.spec.whatwg.org/multipage/browsing-the-web.html#prompt-to-unload-a-document, the ignore-opens-during-unload counter of the document on which "prompt to unload" is called should stay incremented even as its descendants are being prompted for unload. This is the behavior of Firefox as well as Chrome 70+.
Test is available at https://github.com/web-platform-tests/wpt/blob/master/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/ignore-opens-during-unload.window.js. In particular, the "document.open should bail out when ignore-opens-during-unload is greater than 0 during beforeunload event (open(parent) while unloading parent and child)" test currently fails.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180906/4a103e24/attachment-0001.html>
More information about the webkit-unassigned
mailing list