Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Issue 201114: Implemented Object.keys. (Closed)

Created:
11 years, 3 months ago by Christian Plesner Hansen
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Implemented Object.keys.

Patch Set 1 #

Patch Set 2 : moved test #

Total comments: 1

Patch Set 3 : try-again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -36 lines) Patch
M LICENSE View 1 chunk +9 lines, -4 lines 0 comments Download
M src/api.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/handles.h View 1 chunk +5 lines, -1 line 0 comments Download
M src/handles.cc View 3 chunks +9 lines, -2 lines 0 comments Download
M src/messages.js View 1 chunk +2 lines, -1 line 0 comments Download
M src/runtime.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime.cc View 5 chunks +21 lines, -4 lines 0 comments Download
M src/v8natives.js View 2 chunks +10 lines, -0 lines 0 comments Download
M test/mjsunit/testcfg.py View 1 chunk +2 lines, -1 line 0 comments Download
A + test/mjsunit/third_party/array-splice-webkit.js View 2 chunks +25 lines, -23 lines 0 comments Download
A test/mjsunit/third_party/object-keys.js View 1 chunk +65 lines, -0 lines 0 comments Download
A + test/mjsunit/third_party/regexp-pcre.js View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Christian Plesner Hansen
11 years, 3 months ago (2009-09-15 11:39:14 UTC) #1
Mads Ager (chromium)
11 years, 3 months ago (2009-09-15 11:49:07 UTC) #2
LGTM

http://codereview.chromium.org/201114/diff/2001/2003
File src/api.cc (right):

http://codereview.chromium.org/201114/diff/2001/2003#newcode1991
Line 1991: i::Handle<i::FixedArray> value = i::GetKeysInFixedArrayFor(
I think I would move 

"i::GetKeysInFixedArrayFor(self, i::INCLUDE_PROTOS);"

to the next line instead.

Powered by Google App Engine
This is Rietveld 408576698