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

Issue 434035: When processing global vars initialization account for the case of splitted... (Closed)

Created:
11 years, 1 month ago by antonm
Modified:
9 years, 4 months ago
CC:
v8-dev, ojan
Visibility:
Public.

Description

When processing global vars initialization account for the case of splitted global object (using hidden prototypes): 1) setters might be not on the global object itself, but on its prototypes; 2) if property on one of prototypes is readonly, we could shadow it. Committed: http://code.google.com/p/v8/source/detail?r=3362

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -38 lines) Patch
M src/runtime.cc View 1 2 1 chunk +59 lines, -38 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
antonm
That should fix LayoutTests/fast/dom/Window/window-property-shadowing-name.html For some reason run_webkit_tests.sh tells me it fixes two more tests: ...
11 years, 1 month ago (2009-11-24 14:04:59 UTC) #1
Mads Ager (chromium)
Unsure about read_only interceptor property on a hidden prototype. Should we treat that the same ...
11 years, 1 month ago (2009-11-24 15:06:00 UTC) #2
antonm
Thanks a lot for comments, Mads. http://codereview.chromium.org/434035/diff/1/2 File src/runtime.cc (right): http://codereview.chromium.org/434035/diff/1/2#newcode800 src/runtime.cc:800: // If we ...
11 years, 1 month ago (2009-11-25 00:03:42 UTC) #3
Mads Ager (chromium)
http://codereview.chromium.org/434035/diff/1002/3001 File src/runtime.cc (left): http://codereview.chromium.org/434035/diff/1002/3001#oldcode793 src/runtime.cc:793: if (!lookup.IsProperty()) { In the new code you are ...
11 years ago (2009-11-25 08:14:30 UTC) #4
antonm
http://codereview.chromium.org/434035/diff/1002/3001 File src/runtime.cc (left): http://codereview.chromium.org/434035/diff/1002/3001#oldcode793 src/runtime.cc:793: if (!lookup.IsProperty()) { On 2009/11/25 08:14:30, Mads Ager wrote: ...
11 years ago (2009-11-25 14:30:31 UTC) #5
Mads Ager (chromium)
11 years ago (2009-11-25 14:42:29 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698