[webkit-dev] The case for disallowing alerts in unload, redux

Adam Barth abarth at webkit.org
Sun Jun 26 20:17:17 PDT 2011

On Sun, Jun 26, 2011 at 8:12 PM, Alan Stearns <stearns at adobe.com> wrote:
> On 6/26/11 12:10 PM, "Adam Barth" <abarth at webkit.org> wrote:
>> It would be useful to know what fraction of those users would have
>> a
> better experience with this change.  Sreeram, of the example sites
> that
>> you've seen, how many would be improved by suppressing
>> these
> alerts?
> One example of a useful confirm (I think) is a web-based irc client like
> irc.w3.org. It warns that you will close all active IRC connections, and
> lets you decide whether to stay on the page or navigate away.

That's a beforeunload handler, which everyone agrees is useful.  We're
discussing alert() dialogs during the unload event.


More information about the webkit-dev mailing list