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

Issue 5959009: Allow getters and setters on JSArray elements. (Closed)

Created:
9 years, 11 months ago by Rico
Modified:
9 years, 6 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Allow getters and setters on JSArray elements. This fixes bug 900 Committed: http://code.google.com/p/v8/source/detail?r=6158

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -18 lines) Patch
M src/objects.cc View 3 chunks +2 lines, -3 lines 2 comments Download
M test/mjsunit/indexed-accessors.js View 1 chunk +0 lines, -13 lines 0 comments Download
A test/mjsunit/regress/regress-900.js View 1 chunk +46 lines, -0 lines 0 comments Download
M test/mozilla/mozilla.status View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Rico
9 years, 11 months ago (2011-01-04 13:31:41 UTC) #1
Lasse Reichstein
LGTM http://codereview.chromium.org/5959009/diff/1/src/objects.cc File src/objects.cc (right): http://codereview.chromium.org/5959009/diff/1/src/objects.cc#newcode6949 src/objects.cc:6949: if (SetElementWithCallbackSetterInPrototypes(index, value)) { For the heck of ...
9 years, 11 months ago (2011-01-04 13:34:34 UTC) #2
Rico
9 years, 11 months ago (2011-01-04 13:57:50 UTC) #3
http://codereview.chromium.org/5959009/diff/1/src/objects.cc
File src/objects.cc (right):

http://codereview.chromium.org/5959009/diff/1/src/objects.cc#newcode6949
src/objects.cc:6949: if (SetElementWithCallbackSetterInPrototypes(index, value))
{
On 2011/01/04 13:34:34, Lasse Reichstein wrote:
> For the heck of it, combine the two ifs into one.

Done.

Powered by Google App Engine
This is Rietveld 408576698