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

Issue 261773006: Tighten up Object.observe code to ASSERT that it never deals with globals (Closed)

Created:
6 years, 7 months ago by adamk
Modified:
6 years, 7 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev, rossberg, dcarney, rafaelw
Visibility:
Public.

Description

Tighten up Object.observe code to ASSERT that it never deals with globals After r21126, Object.observe no longer allows observing the global proxy object. This patch replaces codepaths that used to handle that case with asserts showing that no such observation happens. R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21151

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -15 lines) Patch
M src/objects.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M src/runtime.cc View 2 chunks +2 lines, -12 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
adamk
6 years, 7 months ago (2014-05-05 21:30:13 UTC) #1
Toon Verwaest
lgtm
6 years, 7 months ago (2014-05-05 21:34:01 UTC) #2
adamk
6 years, 7 months ago (2014-05-05 21:44:42 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r21151 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698