commit | ba496ac30606b596aecf5608a1973e300f8e798b | [log] [tgz] |
---|---|---|
author | Avi Drissman <avi@chromium.org> | Fri Nov 02 19:48:35 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 02 19:48:35 2018 |
tree | 6df4904501aa6e3694330c9b06983aacef1b9d0b | |
parent | 56cbeeebe73ef2d5a8e05fa245c1df2f00e2f5bc [diff] |
Don't allow popups during page unloading times. Precisely, this disallows them when the event loop's termination nesting level is nonzero. This is now part of the spec, https://html.spec.whatwg.org/#apis-for-creating-and-navigating-browsing-contexts-by-name > The window open steps, given a string url, a string target, and a string features, are as follows: > 1. If the event loop's termination nesting level is nonzero, return null. BUG=844455 Change-Id: I85fb003063f5ed051049c7c263391835421902ac Reviewed-on: https://chromium-review.googlesource.com/c/1180296 Commit-Queue: Avi Drissman <avi@chromium.org> Reviewed-by: Nate Chapin <japhet@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#605025}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .