[whatwg] Window::showModalDialog() missing [Variadic]

Ian Hickson ian at hixie.ch
Wed Jan 14 01:00:01 PST 2009


On Thu, 1 Jan 2009, Cameron McCormack wrote:
>
> The >1 argument version of Window::showModalDialog() is missing a
> [Variadic] on the second argument:
> 
>   interface Window {
>>     any showModalDialog(in DOMString url);
>     any showModalDialog(in DOMString url, in any arguments);
>>   };
> 
> Since no arguments need be passed for those designated with [Variadic],
> the two operations could just be combined into one:
> 
>   interface Window {
>>     any showModalDialog(in DOMString url, [Variadic] in any arguments);
>>   };

Actually only one argument can be passed there. I've renamed the parameter 
for clarity.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list