W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2011

[whatwg] Optional non-blocking mode for simple dialogs (alert, confirm, prompt).

From: Diego Perini <diego.perini@gmail.com>
Date: Sun, 27 Feb 2011 20:38:35 +0100
Message-ID: <AANLkTikmf02XbdjcKOEUN9CuuF9qe7Yqjp8U6pVSyMMW@mail.gmail.com>
On Sun, Feb 27, 2011 at 8:18 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 2/27/11 2:10 PM, Diego Perini wrote:
>>
>> Firefox 3.6.13 already returns 4 for "window.prompt.length".
>>
>> Are the 2 extra parameters already known/used ?
>
> From the source:
>
> 128 ? DOMString ? ?prompt([optional] in DOMString aMessage,
> 129 ? ? ? ? ? ? ? ? ? ? ? [optional] in DOMString aInitial,
> 130 ? ? ? ? ? ? ? ? ? ? ? [optional] in DOMString aTitle,
> 131 ? ? ? ? ? ? ? ? ? ? ? [optional] in unsigned long aSavePassword);
>
> note that the extra two args (which never did anything) were removed in
> https://bugzilla.mozilla.org/show_bug.cgi?id=563556 and will not be present
> in Gecko 2.0.
>
> -Boris
>

Thank you for the informations and for the link to the relevant bug fix.

--
Diego
Received on Sunday, 27 February 2011 11:38:35 UTC

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