[webkit-dev] Disallowing modal dialogs during unload events

Ojan Vafai ojan at chromium.org
Fri Apr 8 01:14:24 PDT 2011

On Fri, Apr 8, 2011 at 3:54 AM, Maciej Stachowiak <mjs at apple.com> wrote:

> Side note: when I see a dialog upon leaving  a webpage, it is almost always
> the beforeunload dialog. I'm not sure I have ever seen a regular alert,
> prompt, confirm, or showModalDialog when leaving the page. This is part of
> why I'd like to see data. Would we be solving a real problem with this
> change, or just a theoretical one?

In addition to the theoretical user benefit, I've been such a strong
proponent of this change because it would greatly simplify some of
Chromium's cross-process communication during tab/browser close. So, as long
as it doesn't hurt existing, legitimate sites, I'd still like to see this

I'm happy with the resolution of trying this out in Chromium and getting
some statistics about how often we hit this in the real world.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110408/f9522b24/attachment.html>

More information about the webkit-dev mailing list