[whatwg] Can we deprecate alert(), confirm(), prompt() ?

Nikita Popov privat at ni-po.com
Thu Nov 25 08:12:47 PST 2010


On 25.11.2010 15:55, Biju wrote:
> The request I put is NOT about whether you can make it PRETTY looking or not.
> The question is about why we are allowing website have something which is MODAL
> (ie, both window modal and tab modal
>    https://bugzilla.mozilla.org/show_bug.cgi?id=59314)
> In my opinion a no website should have that much control  over user interaction.
Well, you just said it: Bug 59314!
That alert()s, prompt()s and confirm()s are window-modal is only an 
implementation issue: Some years ago browsers implemented these prompts 
the most convenient way: By opening a native modal dialog. But right now 
broswer vendors realize that this isn't really the best solution - 
because of DOS attacks and simply because it doesn't make any sense.
And as you already mentioned: Firefox landed tab-modal dialogs a few 
days ago. Opera already had them. Other browsers will follow.

So, what is your issue?



More information about the whatwg mailing list