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

[Bug 14877] Define [[Class]] of interface prototype objects, exception interface objects, and exception interface prototype objects

From: <bugzilla@jessica.w3.org>
Date: Thu, 01 Dec 2011 18:57:51 +0000
To: public-script-coord@w3.org
Message-Id: <E1RWBpP-0004z4-U0@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=14877

--- Comment #19 from Aryeh Gregor <ayg@aryeh.name> 2011-12-01 18:57:47 UTC ---
Current WebIDL depends on ES5.  In ES5, we have no way to affect toString
except via [[Class]], which we're explicitly allowed to define for host objects
(see comment #14, first quote).  If ES6 gets rid of [[Class]] and gives some
other mechanism for affecting .toString, then we can change WebIDL at that
point.  But for now, we only have ES5, and we have to work with its definition
of .toString.  There is no way to futureproof this -- if ES6 gets rid of
[[Class]], we need to just update WebIDL then.

-- 
Configure bugmail: https://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 Thursday, 1 December 2011 18:57:55 UTC

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