Comment #10 on issue 3964 by [email protected]: Object.{getPrototypeOf, getOwnPropertyDescriptor}(non-object) throws TypeError in violation of spec
https://code.google.com/p/v8/issues/detail?id=3964#c10

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/d4a314f9dcf7fee20ae9ad74e9573d651a0e43bb

commit d4a314f9dcf7fee20ae9ad74e9573d651a0e43bb
Author: arv <[email protected]>
Date: Wed Apr 01 00:22:33 2015

[es6] Object.getPrototypeOf should work with values

This reverts commit 992751d0dc5be63845a371cb9fb2c1313efb3bdf.

The final spec for Object.getPrototypeOf calls ToObject on the
parameter, which means that it should only throw for null and
undefined. For other non object values the prototype of the wrapper
should be used.

Difference from last time: Updated .status and will disable Blink
side tests as needed.

BUG=v8:3964
LOG=N
R=adamk, [email protected]
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1051523003

Cr-Commit-Position: refs/heads/master@{#27558}

[modify] http://crrev.com/d4a314f9dcf7fee20ae9ad74e9573d651a0e43bb/src/v8natives.js [modify] http://crrev.com/d4a314f9dcf7fee20ae9ad74e9573d651a0e43bb/test/mjsunit/get-prototype-of.js [modify] http://crrev.com/d4a314f9dcf7fee20ae9ad74e9573d651a0e43bb/test/mjsunit/harmony/set-prototype-of.js [modify] http://crrev.com/d4a314f9dcf7fee20ae9ad74e9573d651a0e43bb/test/test262-es6/test262-es6.status [modify] http://crrev.com/d4a314f9dcf7fee20ae9ad74e9573d651a0e43bb/test/test262/test262.status [modify] http://crrev.com/d4a314f9dcf7fee20ae9ad74e9573d651a0e43bb/test/webkit/prototypes-expected.txt [modify] http://crrev.com/d4a314f9dcf7fee20ae9ad74e9573d651a0e43bb/test/webkit/prototypes.js


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to