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

Issue 1587633002: LookupIterator should find private symbols on JSProxies (Closed)

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

LookupIterator should find private symbols on JSProxies BUG=chromium:571365 R=verwaest@chromium.org,neis@chromium.org LOG=n Committed: https://crrev.com/9b7035d96ce794cb03fb3db3152f3ee90148e066 Cr-Commit-Position: refs/heads/master@{#33358}

Patch Set 1 #

Total comments: 1

Patch Set 2 : updates #

Patch Set 3 : updates #

Total comments: 11

Patch Set 4 : updates #

Patch Set 5 : updates #

Patch Set 6 : updates #

Total comments: 2

Patch Set 7 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -37 lines) Patch
M src/lookup.cc View 1 2 3 4 5 6 chunks +22 lines, -16 lines 0 comments Download
M src/objects.h View 1 2 3 4 3 chunks +9 lines, -4 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 chunks +57 lines, -17 lines 0 comments Download
M test/cctest/test-api.cc View 1 1 chunk +100 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
jochen (gone - plz use gerrit)
4 years, 11 months ago (2016-01-13 13:40:56 UTC) #1
neis
https://codereview.chromium.org/1587633002/diff/1/src/lookup.cc File src/lookup.cc (right): https://codereview.chromium.org/1587633002/diff/1/src/lookup.cc#newcode614 src/lookup.cc:614: if (name_.is_null() || !name_->IsPrivate()) return JSPROXY; This looks wrong. ...
4 years, 11 months ago (2016-01-13 13:53:48 UTC) #2
Toon Verwaest
I'm actually fine with this implementation. I'd also be fine with Georg's suggestion; so I'll ...
4 years, 11 months ago (2016-01-15 12:24:14 UTC) #3
jochen (gone - plz use gerrit)
ptal now with support for all the *Private APIs \o/
4 years, 11 months ago (2016-01-15 13:32:45 UTC) #4
jochen (gone - plz use gerrit)
ptal addressed neis@ feedback
4 years, 11 months ago (2016-01-15 14:19:45 UTC) #6
Toon Verwaest
Mostly nits https://codereview.chromium.org/1587633002/diff/40001/src/lookup.cc File src/lookup.cc (right): https://codereview.chromium.org/1587633002/diff/40001/src/lookup.cc#newcode521 src/lookup.cc:521: handle(object->global_dictionary()); Handle<GlobalDictionary> dictionary( JSObject::cast(*holder)->global_dictionary()); https://codereview.chromium.org/1587633002/diff/40001/src/lookup.cc#newcode529 src/lookup.cc:529: object->WriteToField(descriptor_number(), ...
4 years, 11 months ago (2016-01-15 14:22:43 UTC) #7
jochen (gone - plz use gerrit)
addressed Toons comments (and replied to those I didn't) https://codereview.chromium.org/1587633002/diff/40001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1587633002/diff/40001/src/objects.cc#newcode6235 src/objects.cc:6235: ...
4 years, 11 months ago (2016-01-15 14:44:49 UTC) #8
neis
I think I will change the private-symbols.js test such that it only uses the *_PRIVATE ...
4 years, 11 months ago (2016-01-15 14:49:12 UTC) #9
neis
I think I will change the private-symbols.js test such that it only uses the *_PRIVATE ...
4 years, 11 months ago (2016-01-15 14:49:13 UTC) #10
jochen (gone - plz use gerrit)
SET_PRIVATE() doesn't set DONT_ENUM properties, so that won't be enough.
4 years, 11 months ago (2016-01-15 14:58:13 UTC) #11
jochen (gone - plz use gerrit)
now with green bots \o/
4 years, 11 months ago (2016-01-15 15:49:23 UTC) #12
Toon Verwaest
lgtm. As an overall guideline we shouldn't be "hardening" code by adding throws all over ...
4 years, 11 months ago (2016-01-18 09:10:05 UTC) #13
jochen (gone - plz use gerrit)
Georg said he'd update the mjsunit test to not run into this exception, and will ...
4 years, 11 months ago (2016-01-18 12:14:42 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1587633002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1587633002/120001
4 years, 11 months ago (2016-01-18 12:18:52 UTC) #17
neis
On 2016/01/18 12:14:42, jochen wrote: > Georg said he'd update the mjsunit test to not ...
4 years, 11 months ago (2016-01-18 12:19:01 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 11 months ago (2016-01-18 12:41:15 UTC) #19
commit-bot: I haz the power
4 years, 11 months ago (2016-01-18 12:41:37 UTC) #21
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9b7035d96ce794cb03fb3db3152f3ee90148e066
Cr-Commit-Position: refs/heads/master@{#33358}

Powered by Google App Engine
This is Rietveld 408576698