Description[es7] refactor and fix Object.values() / Object.entries()
Previously, Object.values() and Object.entries() were piggy-backing on
Object.keys(). This meant that they would pre-filter non-enumerable properties,
violating the runtime behaviour of the methods. Unfortunately, this does not
match the current proposal text.
Also incorporates several tests verifying this behaviour based on tests included
in the ChakraCore implementation.
BUG=v8:4663
LOG=N
R=adamk@chromium.org, rossberg@chromium.org, littledan@chromium.org
Committed: https://crrev.com/5c5ccd9d7f8693990d1a9eb26ba3a94f376dcf0b
Cr-Commit-Position: refs/heads/master@{#33782}
Patch Set 1 #Patch Set 2 : Update TestOrder() + also add PrivateSymbol test #Patch Set 3 : keepin it fresh #
Total comments: 8
Patch Set 4 : less auto, less parameters, less unused stuff #Patch Set 5 : rebase #Patch Set 6 : Fix rebase #
Messages
Total messages: 23 (5 generated)
|