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

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

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