[webkit-dev] The case for disallowing alerts in unload, redux
sreeram at chromium.org
Sun Jun 26 09:34:49 PDT 2011
We've discussed this in the past
That thread ended with a call for data. Today, I bring examples and
Briefly, from a histogram we added a while ago, I find that 2.3% of
all users encounter at least one such modal dialog every week. This is
much larger than I expected. I think it means that it's not just web
developers who encounter them while debugging their pages. To me, this
makes a very strong case for disallowing them.
Here are some examples of sites that show an alert when their pages
The last two sites above are just two examples out of hundreds of such blogs.
Of course, alerts are also used for debugging. The proposed patch in
https://bugs.webkit.org/show_bug.cgi?id=56397 turns alerts into
console messages. Console messages can now be made to persist across
page loads, so I think this helps address the debugging use case.
More information about the webkit-dev