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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 27 Feb 2011 14:18:57 -0500
Message-ID: <4D6AA3A1.2090803@mit.edu>
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
Received on Sunday, 27 February 2011 11:18:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:04 UTC