W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2010

[whatwg] prompts, alerts and showModalDialog during beforeunload/unload events

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 15 Feb 2010 07:53:59 -0600
Message-ID: <dd0fbad1002150553m3257c236g9f233caa7363f327@mail.gmail.com>
On Mon, Feb 15, 2010 at 2:29 AM, Biju <bijumaillist at gmail.com> wrote:
> I dont know whether you all saw list of people on
> https://bugzilla.mozilla.org/show_bug.cgi?id=391834
> https://bugzilla.mozilla.org/show_bug.cgi?id=61098

Those two address a *completely* separate issue, that of someone
running an infinite alert() loop.  They can do that anywhere they
want, and it has the same effect as in the beforeunload handler.
Firefox just doesn't handle that well - Opera and Chrome, iirc,
provide an option to ignore further modal dialogs from the domain once
they've popped up several in a short amount of time.

~TJ
Received on Monday, 15 February 2010 05:53:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:21 UTC