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

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.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 14 January 2009 01:00:01 UTC