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

Tab Atkins Jr. jackalmage at gmail.com
Mon Feb 15 05:53:59 PST 2010


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



More information about the whatwg mailing list