[Bug 12458] Interface objects should be Functions

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

--- Comment #4 from Travis Leithead [MSFT] <travil@microsoft.com> 2011-04-12 00:11:13 UTC ---
I also worry about compat problems (though in IE9, we never tried implementing
interface objects as functions, so I have no specific examples).

In general, I'm not sure why we should consider this change, since there is
great interop here, and as Jonas mentions, you can discover "new-able"
interface objects by their type quite easily.

It may be obvious, but I'll also point out that not all objects created in the
global scope in ES5 are "constructors", for example "Math" is not a function.
(Of course, Math doesn't have a prototype either, so its another class of
object altogether.)

-- 
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 Tuesday, 12 April 2011 00:11:16 UTC