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

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).

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Friday, 8 October 2010 06:25:38 UTC