On Sun, Feb 27, 2011 at 8:18 PM, Boris Zbarsky <[email protected]> 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
