W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

[Bug 12458] Interface objects should be Functions

From: <bugzilla@jessica.w3.org>
Date: Fri, 08 Apr 2011 21:45:22 +0000
To: public-script-coord@w3.org
Message-Id: <E1Q8JUY-0003Nj-90@jessica.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:03 UTC