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

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 14 Nov 2011 18:01:13 +0000
To: public-script-coord@w3.org
Message-Id: <E1RQ0qH-000724-W7@jessica.w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:04 UTC