[Bug 12458] Interface objects should be Functions

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12458

--- Comment #1 from Cameron McCormack <cam@mcc.id.au> 2011-04-08 21:45:21 UTC ---
(In reply to comment #0)
> If it is safe to do so, we should make them real functions, where if the
> IDL interface is not also annotated with [Constructor], a TypeError is
> thrown.

...if you try to call/new it.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 8 April 2011 21:45:23 UTC