[Bug 14813] Prototype of interface objects is Object.prototype in implementations, not Function.prototype

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

--- Comment #4 from Aryeh Gregor <ayg@aryeh.name> 2011-11-14 18:01:12 UTC ---
(In reply to comment #2)
> On the other hand, trying to `new` a Node, gives "Illegal constructor", not
> "object is not a function".

In WebKit.  Gecko throws "Foo is not a constructor" across the board, and Opera
actually throws NOT_SUPPORTED_ERR for new Node().  Anyway, the exact exception
type is not likely relevant to web compat, so this isn't a big deal either way.

-- 
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 Monday, 14 November 2011 18:01:17 UTC