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

Issue 7321006: Add GetPropertyAttribute method for Object in the API (Closed)

Created:
9 years, 5 months ago by Peter Varga
Modified:
9 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add GetPropertyAttribute method for Object in the API Patch by Peter Varga. BUG=none TEST=cctest/test-api/PropertyAttributes Committed: http://code.google.com/p/v8/source/detail?r=8679

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add proper exception handling #

Total comments: 5

Patch Set 3 : Fix the mentioned issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -1 line) Patch
M include/v8.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M src/handles.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/handles.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 2 chunks +25 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Peter Varga
9 years, 5 months ago (2011-07-07 14:52:20 UTC) #1
Mads Ager (chromium)
http://codereview.chromium.org/7321006/diff/1/include/v8.h File include/v8.h (right): http://codereview.chromium.org/7321006/diff/1/include/v8.h#newcode1439 include/v8.h:1439: * Gets the property attributes of a property. You ...
9 years, 5 months ago (2011-07-12 07:51:30 UTC) #2
Peter Varga
On 2011/07/12 07:51:30, Mads Ager wrote: > http://codereview.chromium.org/7321006/diff/1/src/api.cc#newcode2725 > src/api.cc:2725: has_pending_exception = (result == ABSENT); ...
9 years, 5 months ago (2011-07-12 09:31:21 UTC) #3
Mads Ager (chromium)
On 2011/07/12 09:31:21, Peter Varga wrote: > On 2011/07/12 07:51:30, Mads Ager wrote: > > ...
9 years, 5 months ago (2011-07-12 10:53:04 UTC) #4
Peter Varga
9 years, 5 months ago (2011-07-13 14:26:46 UTC) #5
Mads Ager (chromium)
Peter, I think the change itself is getting close. I have a couple of questions ...
9 years, 5 months ago (2011-07-15 07:25:50 UTC) #6
Peter Varga
Finally I have removed the exception throwing when the property doesn't exist.
9 years, 5 months ago (2011-07-18 09:33:30 UTC) #7
Mads Ager (chromium)
9 years, 5 months ago (2011-07-18 17:34:56 UTC) #8
OK, LGTM

We have come full circle on this. There is no need for the changes in
handles.[h,cc] and objects.[h,cc]. I'll move all of the implementation to api.cc
and land for you.

Thanks for the patch.

Powered by Google App Engine
This is Rietveld 408576698