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

Issue 11299260: Object.observe: notify of __proto__ changes (Closed)

Created:
8 years ago by adamk
Modified:
8 years ago
Reviewers:
rafaelw, rossberg
CC:
v8-dev, arv (Not doing code reviews)
Visibility:
Public.

Description

Object.observe: notify of __proto__ changes BUG=v8:2409 Committed: https://code.google.com/p/v8/source/detail?r=13141

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix naming and line length #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -5 lines) Patch
M src/accessors.cc View 1 2 chunks +29 lines, -5 lines 0 comments Download
M test/mjsunit/harmony/object-observe.js View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
adamk
8 years ago (2012-11-29 21:44:41 UTC) #1
rafaelw
lgtm
8 years ago (2012-11-30 23:01:39 UTC) #2
rossberg
LGTM with nits. https://codereview.chromium.org/11299260/diff/1/src/accessors.cc File src/accessors.cc (right): https://codereview.chromium.org/11299260/diff/1/src/accessors.cc#newcode794 src/accessors.cc:794: Handle<Object> new_proto(GetPrototypeSkipHiddenPrototypes(*receiver)); Nit: change to new_value ...
8 years ago (2012-12-03 13:37:41 UTC) #3
adamk
8 years ago (2012-12-03 19:07:05 UTC) #4
https://codereview.chromium.org/11299260/diff/1/src/accessors.cc
File src/accessors.cc (right):

https://codereview.chromium.org/11299260/diff/1/src/accessors.cc#newcode794
src/accessors.cc:794: Handle<Object>
new_proto(GetPrototypeSkipHiddenPrototypes(*receiver));
On 2012/12/03 13:37:41, rossberg wrote:
> Nit: change to new_value for symmetry (or the above to old_proto).

Done.

https://codereview.chromium.org/11299260/diff/1/test/mjsunit/harmony/object-o...
File test/mjsunit/harmony/object-observe.js (right):

https://codereview.chromium.org/11299260/diff/1/test/mjsunit/harmony/object-o...
test/mjsunit/harmony/object-observe.js:829: { object: obj, name: '__proto__',
type: 'prototype', oldValue: Object.prototype },
On 2012/12/03 13:37:41, rossberg wrote:
> Line length.

Done.

Powered by Google App Engine
This is Rietveld 408576698