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

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