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

Issue 1161073002: [es6] Make sure we call add property when adding a new property (Closed)

Created:
5 years, 6 months ago by arv (Not doing code reviews)
Modified:
5 years, 6 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[es6] Make sure we call add property when adding a new property When setting a property using `super.prop = val` we need to use add property if we are adding a new property and not set property. BUG=493566 LOG=N R=verwaest@chromium.org, dslomov@chromium.org Committed: https://crrev.com/5f72593d166e1d604d6061573bd220da5ce64db4 Cr-Commit-Position: refs/heads/master@{#28971}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use a loop and add proxy tests #

Patch Set 3 : Only test left #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -0 lines) Patch
A test/mjsunit/es6/regress/regress-cr493566.js View 1 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
arv (Not doing code reviews)
PTAL
5 years, 6 months ago (2015-05-29 14:38:27 UTC) #2
arv (Not doing code reviews)
Ping
5 years, 6 months ago (2015-06-01 13:59:16 UTC) #3
arv (Not doing code reviews)
https://codereview.chromium.org/1161073002/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1161073002/diff/1/src/objects.cc#newcode3336 src/objects.cc:3336: return AddDataProperty(&own_lookup, value, NONE, language_mode, AddDataProperty has a DCHECK ...
5 years, 6 months ago (2015-06-01 14:17:59 UTC) #4
caitp (gmail)
https://codereview.chromium.org/1161073002/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1161073002/diff/1/src/objects.cc#newcode3336 src/objects.cc:3336: return AddDataProperty(&own_lookup, value, NONE, language_mode, On 2015/06/01 14:17:58, arv ...
5 years, 6 months ago (2015-06-01 14:36:38 UTC) #6
Toon Verwaest
lgtm https://codereview.chromium.org/1161073002/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1161073002/diff/1/src/objects.cc#newcode3336 src/objects.cc:3336: return AddDataProperty(&own_lookup, value, NONE, language_mode, On 2015/06/01 14:17:58, ...
5 years, 6 months ago (2015-06-01 14:37:03 UTC) #7
Toon Verwaest
Actually, I think this is not right. You have to do the DATA thing after ...
5 years, 6 months ago (2015-06-01 14:39:08 UTC) #8
Toon Verwaest
https://codereview.chromium.org/1161073002/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1161073002/diff/1/src/objects.cc#newcode3336 src/objects.cc:3336: return AddDataProperty(&own_lookup, value, NONE, language_mode, On 2015/06/01 14:37:03, Toon ...
5 years, 6 months ago (2015-06-01 14:41:30 UTC) #9
arv (Not doing code reviews)
not lgtm then
5 years, 6 months ago (2015-06-01 14:42:13 UTC) #10
arv (Not doing code reviews)
On 2015/06/01 14:42:13, arv wrote: > not lgtm then That didn't work ;-)
5 years, 6 months ago (2015-06-01 14:42:32 UTC) #11
Toon Verwaest
right. not lgtm
5 years, 6 months ago (2015-06-01 14:57:16 UTC) #12
arv (Not doing code reviews)
Use a loop and add proxy tests
5 years, 6 months ago (2015-06-01 16:00:26 UTC) #13
arv (Not doing code reviews)
PTAL I added a loop so that it keeps going until NOT_FOUND. I also added ...
5 years, 6 months ago (2015-06-01 16:01:58 UTC) #14
arv (Not doing code reviews)
Dmitry, welcome back. Can you take a look?
5 years, 6 months ago (2015-06-08 18:29:43 UTC) #16
arv (Not doing code reviews)
Dmitry, welcome back. Can you take a look?
5 years, 6 months ago (2015-06-08 18:29:43 UTC) #17
Dmitry Lomov (no reviews)
On 2015/06/08 18:29:43, arv wrote: > Dmitry, welcome back. Can you take a look? lgtm ...
5 years, 6 months ago (2015-06-10 08:13:13 UTC) #18
arv (Not doing code reviews)
Ping. Toon, can you take a look?
5 years, 6 months ago (2015-06-11 20:04:42 UTC) #19
Toon Verwaest
lgtm... but I actually already fixed it and landed it as part of another CL, ...
5 years, 6 months ago (2015-06-11 20:07:16 UTC) #20
Toon Verwaest
(not the test though)
5 years, 6 months ago (2015-06-11 20:07:34 UTC) #21
arv (Not doing code reviews)
On 2015/06/11 20:07:34, Toon Verwaest wrote: > (not the test though) I'll commit the test ...
5 years, 6 months ago (2015-06-11 20:46:41 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161073002/40001
5 years, 6 months ago (2015-06-11 20:58:21 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-11 21:24:35 UTC) #26
commit-bot: I haz the power
5 years, 6 months ago (2015-06-11 21:24:53 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5f72593d166e1d604d6061573bd220da5ce64db4
Cr-Commit-Position: refs/heads/master@{#28971}

Powered by Google App Engine
This is Rietveld 408576698