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

[Bug 14877] Define [[Class]] of interface prototype objects

From: <bugzilla@jessica.w3.org>
Date: Fri, 18 Nov 2011 19:50:13 +0000
To: public-script-coord@w3.org
Message-Id: <E1RRURx-0005m1-MM@jessica.w3.org>

--- Comment #2 from Aryeh Gregor <ayg@aryeh.name> 2011-11-18 19:50:12 UTC ---
I just care that we have interop on what toString() does.  Should
{}.toString.call(Node.prototype) be "[object NodePrototype]" or "[object
Object]"?  In ES5 it's determined by [[Class]]; if ES.next defines toString
some other way, [[Class]] definitions in WebIDL can be ported to the new
definition at that point.  For now we're working with ES5 and need to use
[[Class]].  I agree that the information isn't useful to scripts, but we still
need interop.

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, 18 November 2011 19:50:19 UTC

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