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

Issue 2087823002: Optionally invoke an interceptor on failed access checks (Closed)

Created:
4 years, 6 months ago by jochen (gone - plz use gerrit)
Modified:
4 years, 5 months ago
Reviewers:
Toon Verwaest
CC:
haraken, 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

Optionally invoke an interceptor on failed access checks This superseeds all-can-read/all-can-write properties BUG=chromium:618305 R=verwaest@chromium.org Committed: https://crrev.com/c34cc7a6ff20d7fb5a6ae1e7327278d3eb12e688 Cr-Commit-Position: refs/heads/master@{#37286}

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 9

Patch Set 3 : updaets #

Patch Set 4 : updates #

Patch Set 5 : updates #

Patch Set 6 : updates #

Patch Set 7 : updates #

Patch Set 8 : updates #

Patch Set 9 : updates #

Total comments: 2

Patch Set 10 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+596 lines, -238 lines) Patch
M include/v8.h View 1 1 chunk +13 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 4 chunks +63 lines, -29 lines 0 comments Download
M src/isolate.cc View 3 chunks +2 lines, -17 lines 0 comments Download
M src/keys.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M src/keys.cc View 1 2 3 4 5 6 7 8 9 4 chunks +62 lines, -15 lines 0 comments Download
M src/lookup.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/lookup.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 5 8 9 7 chunks +237 lines, -176 lines 0 comments Download
M src/objects-debug.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/objects-printer.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/test-access-checks.cc View 1 2 3 4 5 6 7 8 1 chunk +182 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
jochen (gone - plz use gerrit)
ptal - currently adding tests, but the basic functionality is there. Once we moved Window ...
4 years, 6 months ago (2016-06-21 14:36:48 UTC) #1
jochen (gone - plz use gerrit)
On 2016/06/21 at 14:36:48, jochen wrote: > ptal - currently adding tests, but the basic ...
4 years, 6 months ago (2016-06-21 14:39:31 UTC) #2
dcheng
On 2016/06/21 14:39:31, jochen wrote: > On 2016/06/21 at 14:36:48, jochen wrote: > > ptal ...
4 years, 6 months ago (2016-06-21 14:56:55 UTC) #3
Toon Verwaest
https://codereview.chromium.org/2087823002/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2087823002/diff/20001/src/objects.cc#newcode1360 src/objects.cc:1360: Handle<InterceptorInfo> JSObject::GetInterceptorForFailedAccessCheck( Seems like this belongs on the LookupIterator, ...
4 years, 6 months ago (2016-06-22 11:30:16 UTC) #4
jochen (gone - plz use gerrit)
ptal - addressed your comments, and tests should pass now. still working on new tests ...
4 years, 6 months ago (2016-06-22 12:28:22 UTC) #5
Toon Verwaest
you still have a gcmole issue, but lgtm otherwise
4 years, 6 months ago (2016-06-22 13:25:21 UTC) #6
jochen (gone - plz use gerrit)
now with tests! and keys!
4 years, 5 months ago (2016-06-27 08:02:17 UTC) #7
Toon Verwaest
https://codereview.chromium.org/2087823002/diff/160001/src/keys.cc File src/keys.cc (right): https://codereview.chromium.org/2087823002/diff/160001/src/keys.cc#newcode577 src/keys.cc:577: static_cast<PropertyFilter>(filter_ | USE_ACCESS_CHECK_INTERCEPTOR); We should get rid of these ...
4 years, 5 months ago (2016-06-27 09:34:58 UTC) #8
Toon Verwaest
https://codereview.chromium.org/2087823002/diff/160001/src/keys.cc File src/keys.cc (right): https://codereview.chromium.org/2087823002/diff/160001/src/keys.cc#newcode577 src/keys.cc:577: static_cast<PropertyFilter>(filter_ | USE_ACCESS_CHECK_INTERCEPTOR); On 2016/06/27 09:34:58, Toon Verwaest wrote: ...
4 years, 5 months ago (2016-06-27 09:37:59 UTC) #9
Toon Verwaest
lgtm
4 years, 5 months ago (2016-06-27 11:25:38 UTC) #10
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/2087823002/180001
4 years, 5 months ago (2016-06-27 11:26:27 UTC) #12
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 5 months ago (2016-06-27 11:48:13 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-06-27 11:49:20 UTC) #15
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/c34cc7a6ff20d7fb5a6ae1e7327278d3eb12e688
Cr-Commit-Position: refs/heads/master@{#37286}

Powered by Google App Engine
This is Rietveld 408576698