W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2010

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

From: Nikita Popov <privat@ni-po.com>
Date: Thu, 25 Nov 2010 17:12:47 +0100
Message-ID: <4CEE8AFF.9050807@ni-po.com>
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?
Received on Thursday, 25 November 2010 08:12:47 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:28 UTC