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

Issue 11369154: Implement Object.getNotifier() and remove Object.notify() (Closed)

Created:
8 years, 1 month ago by adamk
Modified:
8 years, 1 month ago
CC:
v8-dev
Visibility:
Public.

Description

Implement Object.getNotifier() and remove Object.notify() Updated all tests to use getNotifier or actual object mutation instead of notify, and added tests for new behavior of getNotifier. Committed: https://code.google.com/p/v8/source/detail?r=12923

Patch Set 1 #

Total comments: 12

Patch Set 2 : Reviewed #

Total comments: 3

Patch Set 3 : More restrictive, more tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -42 lines) Patch
M src/messages.js View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/object-observe.js View 1 2 6 chunks +52 lines, -11 lines 0 comments Download
M test/cctest/test-object-observe.cc View 6 chunks +8 lines, -8 lines 0 comments Download
M test/mjsunit/harmony/object-observe.js View 1 2 7 chunks +37 lines, -22 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
adamk
8 years, 1 month ago (2012-11-09 13:55:44 UTC) #1
rossberg
https://codereview.chromium.org/11369154/diff/1/src/object-observe.js File src/object-observe.js (right): https://codereview.chromium.org/11369154/diff/1/src/object-observe.js#newcode65 src/object-observe.js:65: changeObservers: new InternalArray, Nit: can we perhaps rename that ...
8 years, 1 month ago (2012-11-09 14:41:25 UTC) #2
adamk
https://codereview.chromium.org/11369154/diff/1/src/object-observe.js File src/object-observe.js (right): https://codereview.chromium.org/11369154/diff/1/src/object-observe.js#newcode65 src/object-observe.js:65: changeObservers: new InternalArray, On 2012/11/09 14:41:25, rossberg wrote: > ...
8 years, 1 month ago (2012-11-09 14:48:41 UTC) #3
rossberg
https://codereview.chromium.org/11369154/diff/1/src/object-observe.js File src/object-observe.js (right): https://codereview.chromium.org/11369154/diff/1/src/object-observe.js#newcode147 src/object-observe.js:147: return; On 2012/11/09 14:48:41, adamk wrote: > On 2012/11/09 ...
8 years, 1 month ago (2012-11-09 15:06:17 UTC) #4
adamk
On 2012/11/09 15:06:17, rossberg wrote: > https://codereview.chromium.org/11369154/diff/1/src/object-observe.js > File src/object-observe.js (right): > > https://codereview.chromium.org/11369154/diff/1/src/object-observe.js#newcode147 > ...
8 years, 1 month ago (2012-11-09 15:10:20 UTC) #5
arv (Not doing code reviews)
https://codereview.chromium.org/11369154/diff/1/src/object-observe.js File src/object-observe.js (right): https://codereview.chromium.org/11369154/diff/1/src/object-observe.js#newcode147 src/object-observe.js:147: return; On 2012/11/09 15:06:17, rossberg wrote: > On 2012/11/09 ...
8 years, 1 month ago (2012-11-09 15:22:22 UTC) #6
adamk
Okay, I've implemented throwing if passed a non-notifier. And also better match the spec by ...
8 years, 1 month ago (2012-11-09 15:46:16 UTC) #7
rossberg
https://codereview.chromium.org/11369154/diff/1004/src/object-observe.js File src/object-observe.js (right): https://codereview.chromium.org/11369154/diff/1004/src/object-observe.js#newcode235 src/object-observe.js:235: InstallFunctions(notifierPrototype, DONT_ENUM, $Array( On 2012/11/09 15:22:22, arv wrote: > ...
8 years, 1 month ago (2012-11-09 16:02:27 UTC) #8
adamk
https://codereview.chromium.org/11369154/diff/1004/src/object-observe.js File src/object-observe.js (right): https://codereview.chromium.org/11369154/diff/1004/src/object-observe.js#newcode235 src/object-observe.js:235: InstallFunctions(notifierPrototype, DONT_ENUM, $Array( On 2012/11/09 16:02:27, rossberg wrote: > ...
8 years, 1 month ago (2012-11-09 16:04:17 UTC) #9
rossberg
8 years, 1 month ago (2012-11-09 16:06:54 UTC) #10
lgtm

Powered by Google App Engine
This is Rietveld 408576698