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

Issue 549050: Implement Object.getOwnPropertyNames constructor property [ES5 section 15.2.3... (Closed)

Created:
10 years, 11 months ago by pfeldman
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Implement Object.getOwnPropertyNames constructor property [ES5 section 15.2.3.4].

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -172 lines) Patch
M src/messages.js View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/mirror-delay.js View 1 3 chunks +6 lines, -6 lines 0 comments Download
M src/runtime.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/runtime.cc View 1 4 chunks +150 lines, -150 lines 0 comments Download
M src/v8natives.js View 1 2 3 4 3 chunks +46 lines, -9 lines 0 comments Download
A test/mjsunit/object-get-own-property-names.js View 1 2 3 1 chunk +104 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
pfeldman
I just moved some code around (renamed methods I needed from Debug* to Get*). Does ...
10 years, 11 months ago (2010-01-14 14:48:32 UTC) #1
Mads Ager (chromium)
Pavel, I think you meant to add sgjesse instead of sgk here? I added Rico ...
10 years, 11 months ago (2010-01-14 15:01:12 UTC) #2
Mads Ager (chromium)
Oh, and please perform this change in branches/bleeding_edge instead of trunk.
10 years, 11 months ago (2010-01-14 15:02:06 UTC) #3
pfeldman
On 2010/01/14 15:02:06, Mads Ager wrote: > Oh, and please perform this change in branches/bleeding_edge ...
10 years, 11 months ago (2010-01-14 16:52:12 UTC) #4
Søren Thygesen Gjesse
I have not read ES5 section 15.2.3.4, but recycling the %Debug functions if getOwnPropertyNames have ...
10 years, 11 months ago (2010-01-14 22:05:13 UTC) #5
pfeldman
Thanks for the review. I will merge into the bleeding edge, address the comments and ...
10 years, 11 months ago (2010-01-15 00:01:10 UTC) #6
pfeldman
There are couple of drive-by fixes for preconditions on Object constructor property functions as well. ...
10 years, 11 months ago (2010-01-15 14:35:54 UTC) #7
Søren Thygesen Gjesse
LGTM if committed to bleeding_edge.
10 years, 11 months ago (2010-01-15 14:54:31 UTC) #8
Rico
10 years, 11 months ago (2010-01-18 12:37:33 UTC) #9
I have added as5conform test for this method and it fails on most test cases -
but this is mainly because the test compares the expected result array with the
result of the method on a one to one basis, i.e., it does not allow object to
have additional properties. I have made a patch that I will upload to es5conform
- meanwhile I have made FAIL_OK on these in the es5conform.status file -> see
http://codereview.chromium.org/545109

Powered by Google App Engine
This is Rietveld 408576698