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

Issue 1909433003: Remove support for Object.observe (Closed)

Created:
4 years, 8 months ago by adamk
Modified:
4 years, 8 months ago
CC:
Hannes Payer (out of office), Michael Hablich, oth, rmcilroy, ulan, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Remove support for Object.observe The feature was deprecated in M49 and flagged off in M50. This patch removes it entirely from the codebase. Committed: https://crrev.com/6a370a6f01b004f0b359aa0e0ce4aa90d40773d0 Cr-Commit-Position: refs/heads/master@{#35714}

Patch Set 1 #

Patch Set 2 : Re-add a few tests #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -5375 lines) Patch
M BUILD.gn View 1 2 3 chunks +0 lines, -3 lines 0 comments Download
M src/accessors.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/accessors.cc View 9 chunks +10 lines, -58 lines 0 comments Download
M src/bootstrapper.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M src/builtins.cc View 5 chunks +0 lines, -5 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M src/contexts.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 3 chunks +1 line, -4 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/heap-symbols.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/heap.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/heap.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/ic/arm/ic-arm.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/ic/arm64/ic-arm64.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/ic/ia32/ic-ia32.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/ic/ic.cc View 1 2 2 chunks +2 lines, -15 lines 0 comments Download
M src/ic/mips/ic-mips.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/ic/mips64/ic-mips64.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/ic/ppc/ic-ppc.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/ic/s390/ic-s390.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/ic/x64/ic-x64.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/ic/x87/ic-x87.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/js/array.js View 10 chunks +1 line, -138 lines 0 comments Download
D src/js/harmony-object-observe.js View 1 chunk +0 lines, -17 lines 0 comments Download
D src/js/object-observe.js View 1 chunk +0 lines, -717 lines 0 comments Download
M src/js/v8natives.js View 7 chunks +0 lines, -44 lines 0 comments Download
M src/messages.h View 1 chunk +0 lines, -13 lines 0 comments Download
M src/objects.h View 1 2 7 chunks +3 lines, -24 lines 0 comments Download
M src/objects.cc View 26 chunks +4 lines, -385 lines 0 comments Download
M src/objects-inl.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M src/objects-printer.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M src/runtime/runtime.h View 4 chunks +4 lines, -17 lines 0 comments Download
M src/runtime/runtime-collections.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M src/runtime/runtime-internal.cc View 1 chunk +14 lines, -0 lines 0 comments Download
D src/runtime/runtime-observe.cc View 1 chunk +0 lines, -160 lines 0 comments Download
M src/transitions-inl.h View 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/cctest.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOf.golden View 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 2 2 chunks +0 lines, -61 lines 0 comments Download
M test/cctest/test-debug.cc View 1 chunk +0 lines, -31 lines 0 comments Download
M test/cctest/test-field-type-tracking.cc View 1 chunk +0 lines, -57 lines 0 comments Download
D test/cctest/test-microtask-delivery.cc View 1 chunk +0 lines, -161 lines 0 comments Download
D test/cctest/test-object-observe.cc View 1 chunk +0 lines, -1078 lines 0 comments Download
D test/mjsunit/array-push7.js View 1 chunk +0 lines, -60 lines 0 comments Download
D test/mjsunit/es6/debug-stepin-microtasks.js View 1 4 chunks +7 lines, -28 lines 0 comments Download
D test/mjsunit/es6/microtask-delivery.js View 1 3 chunks +0 lines, -86 lines 0 comments Download
D test/mjsunit/es6/regress/regress-3750.js View 1 chunk +0 lines, -9 lines 0 comments Download
D test/mjsunit/es7/object-observe.js View 1 chunk +0 lines, -1865 lines 0 comments Download
D test/mjsunit/es7/object-observe-debug-event.js View 1 chunk +0 lines, -52 lines 0 comments Download
D test/mjsunit/es7/object-observe-runtime.js View 1 chunk +0 lines, -19 lines 0 comments Download
D test/mjsunit/es7/regress/regress-443982.js View 1 chunk +0 lines, -24 lines 0 comments Download
D test/mjsunit/harmony/regress/regress-observe-empty-double-array.js View 1 chunk +0 lines, -39 lines 0 comments Download
M test/mjsunit/migrations.js View 2 chunks +0 lines, -5 lines 0 comments Download
D test/mjsunit/regress/regress-3315.js View 1 chunk +0 lines, -28 lines 0 comments Download
D test/mjsunit/regress/regress-356589.js View 1 chunk +0 lines, -36 lines 0 comments Download
D test/mjsunit/regress/regress-417709a.js View 1 chunk +0 lines, -17 lines 0 comments Download
D test/mjsunit/regress/regress-417709b.js View 1 chunk +0 lines, -16 lines 0 comments Download
D test/mjsunit/regress/regress-observe-map-cache.js View 1 chunk +0 lines, -15 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (14 generated)
adamk
The end of an era. jkummerow, this one's for you (plus bmeurer for crankshaft and ...
4 years, 8 months ago (2016-04-20 21:24:12 UTC) #2
Jakob Kummerow
LGTM, thanks! I think there's some more now-dead code in v8natives.js and objects.h/cc, but it's ...
4 years, 8 months ago (2016-04-21 07:27:03 UTC) #4
Hannes Payer (out of office)
heap LGTM
4 years, 8 months ago (2016-04-21 07:29:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909433003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909433003/40001
4 years, 8 months ago (2016-04-21 17:56:49 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_nodcheck_rel_ng on tryserver.v8 (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel_ng/builds/556) v8_linux_rel_ng on tryserver.v8 (JOB_TIMED_OUT, ...
4 years, 8 months ago (2016-04-21 20:01:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909433003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909433003/40001
4 years, 8 months ago (2016-04-21 20:03:39 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on tryserver.v8 (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/554) v8_linux64_avx2_rel_ng on tryserver.v8 (JOB_TIMED_OUT, ...
4 years, 8 months ago (2016-04-21 22:06:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909433003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909433003/40001
4 years, 8 months ago (2016-04-21 22:25:08 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel_ng on tryserver.v8 (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel_ng/builds/558)
4 years, 8 months ago (2016-04-22 00:27:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909433003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909433003/40001
4 years, 8 months ago (2016-04-22 01:02:38 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel_ng on tryserver.v8 (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel_ng/builds/562)
4 years, 8 months ago (2016-04-22 03:05:33 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1909433003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1909433003/40001
4 years, 8 months ago (2016-04-22 08:39:11 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-22 09:01:45 UTC) #25
Michael Achenbach
Could you also clean up: https://code.google.com/p/chromium/codesearch#chromium/src/v8/test/mjsunit/mjsunit.status&q=mjsunit.status&sq=package:chromium&l=262 And maybe skim through the open bug reports that ...
4 years, 8 months ago (2016-04-22 09:12:43 UTC) #26
adamk
On 2016/04/22 09:12:43, Michael Achenbach wrote: > Could you also clean up: > https://code.google.com/p/chromium/codesearch#chromium/src/v8/test/mjsunit/mjsunit.status&q=mjsunit.status&sq=package:chromium&l=262 Gone, ...
4 years, 8 months ago (2016-04-22 18:32:20 UTC) #27
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:15:06 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6a370a6f01b004f0b359aa0e0ce4aa90d40773d0
Cr-Commit-Position: refs/heads/master@{#35714}

Powered by Google App Engine
This is Rietveld 408576698