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

Issue 1367953002: Allow JavaScript accessors on API objects. (Closed)

Created:
5 years, 3 months ago by vogelheim
Modified:
5 years, 2 months ago
CC:
Paweł Hajdan Jr., v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Allow JavaScript accessors on API objects. (This is somewhat experimental; hence protected by #ifdef.) R=epertoso@chromium.org, jochen@chromium.org BUG=chromium:508898 LOG=N Committed: https://crrev.com/ed110a1715e245a93fd8be60cc9edac06ba11887 Cr-Commit-Position: refs/heads/master@{#31002}

Patch Set 1 #

Patch Set 2 : typo, and/or defective time machine. #

Total comments: 4

Patch Set 3 : Review feedback. Also add .gyp support for flag. #

Total comments: 4

Patch Set 4 : review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -16 lines) Patch
M build/features.gypi View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M include/v8.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M src/api-natives.h View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M src/api-natives.cc View 1 2 3 chunks +37 lines, -13 lines 0 comments Download
M test/cctest/cctest.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/test-api-accessors.cc View 1 2 3 1 chunk +93 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
vogelheim
Please have a look, both of you. This doesn't do much, but I'd guess it's ...
5 years, 3 months ago (2015-09-24 11:29:47 UTC) #1
epertoso
https://codereview.chromium.org/1367953002/diff/20001/src/api-natives.h File src/api-natives.h (right): https://codereview.chromium.org/1367953002/diff/20001/src/api-natives.h#newcode54 src/api-natives.h:54: static void AddAccessorProperty(Isolate* isolate, Handle<TemplateInfo> info, These two overloads ...
5 years, 3 months ago (2015-09-24 12:09:06 UTC) #2
vogelheim
https://codereview.chromium.org/1367953002/diff/20001/src/api-natives.h File src/api-natives.h (right): https://codereview.chromium.org/1367953002/diff/20001/src/api-natives.h#newcode54 src/api-natives.h:54: static void AddAccessorProperty(Isolate* isolate, Handle<TemplateInfo> info, On 2015/09/24 12:09:06, ...
5 years, 3 months ago (2015-09-24 16:35:49 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1367953002/diff/20001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1367953002/diff/20001/src/api.cc#newcode965 src/api.cc:965: DCHECK_EQ(v8::DEFAULT, access_control); Why not just remove the parameter?
5 years, 3 months ago (2015-09-25 09:20:51 UTC) #4
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1367953002/diff/40001/test/cctest/test-api-accessors.cc File test/cctest/test-api-accessors.cc (right): https://codereview.chromium.org/1367953002/diff/40001/test/cctest/test-api-accessors.cc#newcode26 test/cctest/test-api-accessors.cc:26: // OF THIS SOFTWARE, EVEN IF ADVISED OF THE ...
5 years, 3 months ago (2015-09-25 09:24:11 UTC) #5
vogelheim
https://codereview.chromium.org/1367953002/diff/40001/test/cctest/test-api-accessors.cc File test/cctest/test-api-accessors.cc (right): https://codereview.chromium.org/1367953002/diff/40001/test/cctest/test-api-accessors.cc#newcode26 test/cctest/test-api-accessors.cc:26: // OF THIS SOFTWARE, EVEN IF ADVISED OF THE ...
5 years, 2 months ago (2015-09-25 12:59:24 UTC) #6
vogelheim
https://codereview.chromium.org/1367953002/diff/20001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1367953002/diff/20001/src/api.cc#newcode965 src/api.cc:965: DCHECK_EQ(v8::DEFAULT, access_control); On 2015/09/25 09:20:51, jochen wrote: > Why ...
5 years, 2 months ago (2015-09-25 12:59:45 UTC) #7
epertoso
lgtm
5 years, 2 months ago (2015-09-28 08:04:47 UTC) #8
jochen (gone - plz use gerrit)
lgtm
5 years, 2 months ago (2015-09-28 11:33:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1367953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1367953002/60001
5 years, 2 months ago (2015-09-29 10:51:51 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-09-29 11:16:06 UTC) #12
commit-bot: I haz the power
5 years, 2 months ago (2015-09-29 11:16:28 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ed110a1715e245a93fd8be60cc9edac06ba11887
Cr-Commit-Position: refs/heads/master@{#31002}

Powered by Google App Engine
This is Rietveld 408576698