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

Issue 791243002: Stop sending Object.observe notifications for API accessor properties (Closed)

Created:
6 years ago by adamk
Modified:
6 years ago
Reviewers:
Jakob Kummerow
CC:
v8-dev, Toon Verwaest, Michael Starzinger, arv (Not doing code reviews), rafaelw, rossberg
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Stop sending Object.observe notifications for API accessor properties Such properties never notified prior to r21558, but the combination of that change and r23163 led to sending notifications when they were set via Object.defineProperty (but not when set via other means). This also allows some cleanup in v8natives.js and objects.cc, both of which were doing unnecessary contortions to produce the right change records. BUG=v8:3745 LOG=n

Patch Set 1 #

Total comments: 2

Patch Set 2 : Restore most of v8natives #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -41 lines) Patch
M src/objects.cc View 4 chunks +4 lines, -32 lines 0 comments Download
M src/v8natives.js View 1 1 chunk +0 lines, -9 lines 1 comment Download
M test/cctest/test-object-observe.cc View 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
adamk
Sending to jkummerow since he reviewed r23163, but not sure who the best reviewer for ...
6 years ago (2014-12-10 23:33:46 UTC) #2
Jakob Kummerow
Doing less work always LGTM :-) However, I'm unsure about the cleanup in v8natives.js. Unless ...
6 years ago (2014-12-11 11:41:40 UTC) #3
Jakob Kummerow
On second thought, the trybot failures for test262 15.2.3.{6,7}-* seem to indicate quite clearly that ...
6 years ago (2014-12-11 11:44:04 UTC) #4
adamk
Hooray for trybots, will slim down the cleanup. https://codereview.chromium.org/791243002/diff/1/src/v8natives.js File src/v8natives.js (left): https://codereview.chromium.org/791243002/diff/1/src/v8natives.js#oldcode847 src/v8natives.js:847: // ...
6 years ago (2014-12-11 16:47:27 UTC) #5
adamk
https://codereview.chromium.org/791243002/diff/20001/src/v8natives.js File src/v8natives.js (left): https://codereview.chromium.org/791243002/diff/20001/src/v8natives.js#oldcode893 src/v8natives.js:893: // respective TODO in Runtime_DefineDataPropertyUnchecked. This TODO was taken ...
6 years ago (2014-12-11 20:26:07 UTC) #6
Jakob Kummerow
lgtm
6 years ago (2014-12-12 09:29:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/791243002/20001
6 years ago (2014-12-12 17:48:39 UTC) #9
commit-bot: I haz the power
6 years ago (2014-12-12 18:15:49 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001)

Powered by Google App Engine
This is Rietveld 408576698