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

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