Hi Andreas, yeah in order for Facebook to work we had to follow Safari in having strange behavior for for instance Math. There is a hidden prototype involved. I have fixed the code and resubmitted. There was just a loop over the hidden part of the prototype chain missing.
Cheers, -- Mads On Fri, Jun 3, 2011 at 4:18 PM, Andreas Rossberg <[email protected]> wrote: > Oops. > > Hm, the test failing simply checks > > Object.getPrototypeOf(Math) === Object.prototype > > Previously, getProtoypeOf(o) just delivered o.__proto__. After my > change, it now returns the prototype found in the object's map (except > for the global proxy, which requires an extra indirection). This seems > to work in all other cases. Is there something special about how the > prototype or the __proto__ property is handled for builtin objects > like Math? > > /Andreas > > On 2 June 2011 12:11, <[email protected]> wrote: >> http://codereview.chromium.org/7109004/ >> > -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
