Must built-in prototypes also be valid instances? (Was: Why DataView.prototype object's [[Class]] is "Object"?)

Brendan Eich brendan at mozilla.com
Wed Oct 3 22:52:00 PDT 2012


Mark S. Miller wrote:
>
>     Allen and I also discussed the plan I intend to try in
>     SpiderMonkey: making Date.prototype, Number.prototype, etc. test
>     as "Object" according to the O_p_toString_call tag test. We think
>     this should not affect SES or any real code (as Oliver postulated).
>
>
> I agree. And if it does affect SES, we can still fix it. From the SES 
> pov, this one is easy.

I filed https://bugzilla.mozilla.org/show_bug.cgi?id=797686 -- will try 
to get a patch up in the next week.

/be


More information about the es-discuss mailing list