[webkit-dev] The case for disallowing alerts in unload, redux
ap at webkit.org
Mon Jun 27 15:17:56 PDT 2011
27.06.2011, в 14:03, Darin Fisher написал(а):
> I'm pretty surprised that you are so concerned about this change.
I dislike magic APIs that work sometimes, but not always. In this case, the reason for crippling the API seems to be almost entirely about implementation issues - the discussion about whether it's good for improving user experience goes in rounds, possibly because anyone who wants to annoy users can just switch to beforeunload.
> I think we can make this behavior a Setting, and then certainly each embedder of WebKit
> can decide how prominently to surface this option. For Chrome, we'll probably either make
> it be a command line flag, or we would just leave out the option entirely.
Perhaps I'd be less unhappy about this change if the flag were off in layout tests, so that we didn't have to change them all to remove alert() in unload.
- WBR, Alexey Proskuryakov
More information about the webkit-dev