[es6] JSObject::GetOwnElementKeys should collect String wrapper keys first
authoradamk <adamk@chromium.org>
Wed, 15 Jul 2015 07:31:26 +0000 (00:31 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Jul 2015 07:31:40 +0000 (07:31 +0000)
commit1e146c07088d4e0f5c25177be6b2245b562cb929
tree68898ab586d153446e0ba278094679536f2ab61b
parentd940c6d3bcc227b459cb4123d9a8332d9ed0d5f8
[es6] JSObject::GetOwnElementKeys should collect String wrapper keys first

This makes Object.getOwnPropertyNames() return the integer keys in the
proper order, following the spec:

http://www.ecma-international.org/ecma-262/6.0/#sec-ordinary-object-internal-methods-and-internal-slots-ownpropertykeys

BUG=v8:4118
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#29667}
src/objects.cc
test/test262-es6/test262-es6.status