Re: [WebIDL] interface objects with [Constructor] and [[Call]]

On Fri, 08 Oct 2010 08:24:57 +0200, Cameron McCormack <cam@mcc.id.au>  
wrote:

> Simon Pieters:
>> At this point I'm confused at what you intend to change the spec to say.
>
> Sorry for being unclear.  The practical options to choose between are:
>
>   1. Special case XHR to allow calling it to do the same thing as
>      constructing it, and just throw a TypeError for other constructors
>      called as functions.
>
>   2. Allow all constructors to be called as functions and have the same
>      behaviour.
>
> I’ll make the spec do (2).

That's much clearer. Thanks!

-- 
Simon Pieters
Opera Software

Received on Friday, 8 October 2010 06:34:19 UTC