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

Issue 2707263002: [api] Fix DescriptorInterceptor with access check. (Closed)

Created:
3 years, 10 months ago by Franzi
Modified:
3 years, 10 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[api] Fix DescriptorInterceptor with access check. The DescriptorInterceptor should intercept all Object.getOwnPropertyDescriptor calls. This CL fixes the interceptor's behavior if the iterator state is ACCESS_CHECK. BUG= Review-Url: https://codereview.chromium.org/2707263002 Cr-Commit-Position: refs/heads/master@{#43417} Committed: https://chromium.googlesource.com/v8/v8/+/0ba513f05696dbf241959b3e0de6a3f8ef2eeab3

Patch Set 1 #

Total comments: 2

Patch Set 2 : Check access if needed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -7 lines) Patch
M src/objects.cc View 1 2 chunks +8 lines, -1 line 0 comments Download
M test/cctest/test-api-interceptors.cc View 1 7 chunks +51 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
Franzi
PTAL. Thanks, Franzi
3 years, 10 months ago (2017-02-22 10:22:48 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2707263002/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2707263002/diff/1/src/objects.cc#newcode6896 src/objects.cc:6896: if (it->state() == LookupIterator::ACCESS_CHECK) { hum, if the state ...
3 years, 10 months ago (2017-02-22 11:02:41 UTC) #7
Franzi
https://codereview.chromium.org/2707263002/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2707263002/diff/1/src/objects.cc#newcode6896 src/objects.cc:6896: if (it->state() == LookupIterator::ACCESS_CHECK) { On 2017/02/22 11:02:41, jochen ...
3 years, 10 months ago (2017-02-22 17:38:51 UTC) #12
jochen (gone - plz use gerrit)
lgtm
3 years, 10 months ago (2017-02-24 15:56:21 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2707263002/20001
3 years, 10 months ago (2017-02-24 16:02:20 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 16:34:09 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/0ba513f05696dbf241959b3e0de6a3f8ef2...

Powered by Google App Engine
This is Rietveld 408576698