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

Issue 2807333003: [api] Add DefineProperty() method that skips interceptors.

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

Description

[api] Add DefineProperty() method that skips interceptors. This extension to the API accommodates scenarios, which require setting own properties on an object without triggering interceptors. BUG=

Patch Set 1 #

Total comments: 4

Patch Set 2 : Extend DefineProperty API #

Total comments: 9

Patch Set 3 : Change flag from bool to enum #

Patch Set 4 : Previous commit with rebasing #

Total comments: 1

Patch Set 5 : Change enum to enum class #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -60 lines) Patch
M include/v8.h View 1 2 3 4 4 chunks +14 lines, -3 lines 0 comments Download
M src/api.cc View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M src/builtins/builtins-object.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 4 5 chunks +20 lines, -13 lines 0 comments Download
M src/objects.cc View 1 2 3 4 16 chunks +54 lines, -39 lines 0 comments Download
M test/cctest/test-api-interceptors.cc View 1 2 3 4 3 chunks +42 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (24 generated)
Franzi
Thanks! Good work. I'm not a fan of the code duplication. Can we use a ...
3 years, 8 months ago (2017-04-12 08:58:18 UTC) #10
AnnaMag
Yes, the flag makes much more sense- the duplication here is too extensive. So it'd ...
3 years, 8 months ago (2017-04-12 09:14:11 UTC) #13
Franzi
On 2017/04/12 09:14:11, AnnaMag wrote: > Yes, the flag makes much more sense- the duplication ...
3 years, 8 months ago (2017-04-12 09:20:43 UTC) #14
AnnaMag
On 2017/04/12 09:20:43, Franzi wrote: > On 2017/04/12 09:14:11, AnnaMag wrote: > > Yes, the ...
3 years, 7 months ago (2017-05-09 19:13:15 UTC) #15
Franzi
Here are my comments. I think there was a rebase issue with one of the ...
3 years, 7 months ago (2017-05-10 09:17:53 UTC) #16
AnnaMag
On 2017/05/10 09:17:53, Franzi wrote: > Here are my comments. I think there was a ...
3 years, 7 months ago (2017-05-22 20:54:10 UTC) #18
Franzi
Can you rebase so we can run the trybots? Thanks!
3 years, 7 months ago (2017-05-23 14:22:23 UTC) #23
AnnaMag
On 2017/05/23 14:22:23, Franzi wrote: > Can you rebase so we can run the trybots? ...
3 years, 7 months ago (2017-05-23 22:10:40 UTC) #24
Franzi
Looks good from my side. Anna, can you change the commit message title like so, ...
3 years, 6 months ago (2017-05-27 07:25:36 UTC) #30
jochen (gone - plz use gerrit)
hey, thanks for the patch. Could you explain the use case for this API a ...
3 years, 6 months ago (2017-05-29 19:45:38 UTC) #32
AnnaMag
On 2017/05/29 19:45:38, jochen wrote: > hey, > > thanks for the patch. Could you ...
3 years, 6 months ago (2017-05-31 12:17:06 UTC) #33
AnnaMag
On 2017/05/31 12:17:06, AnnaMag wrote: > On 2017/05/29 19:45:38, jochen wrote: > > hey, > ...
3 years, 6 months ago (2017-05-31 12:18:52 UTC) #34
jochen (gone - plz use gerrit)
Thanks for the detailed response. After reading through your pull request, I wonder why you ...
3 years, 6 months ago (2017-06-01 13:27:22 UTC) #35
AnnaMag
On 2017/06/01 13:27:22, jochen wrote: > Thanks for the detailed response. After reading through your ...
3 years, 6 months ago (2017-06-01 17:20:48 UTC) #36
jochen (gone - plz use gerrit)
Ah, I see I wonder whether Toon has a different idea. I wonder whether we ...
3 years, 6 months ago (2017-06-02 12:41:41 UTC) #37
jochen (gone - plz use gerrit)
actually adding Toon?
3 years, 6 months ago (2017-06-02 12:41:55 UTC) #39
AnnaMag
On 2017/06/02 12:41:55, jochen (gone - plz use gerrit) wrote: > actually adding Toon? Toon, ...
3 years, 5 months ago (2017-07-16 16:51:05 UTC) #40
Toon Verwaest
3 years, 3 months ago (2017-09-13 08:57:33 UTC) #42
Sorry for the late reply, I've been OOO for 2 months...
Overall this looks good, but it seems like the flag spread further than it needs
to? E.g., ArraySetLength surely doesn't need this flag, since arrays can't even
have interceptors? Through which path do we reach that function? Can you reduce
the number of modified methods to the absolute minimum?

Powered by Google App Engine
This is Rietveld 408576698