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

Issue 8113001: Check enumerability of array indices correctly in propertyIsEnumerable. (Closed)

Created:
9 years, 2 months ago by Lasse Reichstein
Modified:
9 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Check enumerability of array indices correctly in propertyIsEnumerable. Fix issue 1692. BUG=v8:1692 TEST=mjsunit/regress/regress-1692 Committed: http://code.google.com/p/v8/source/detail?r=9503

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -1 line) Patch
M src/runtime.cc View 1 chunk +31 lines, -1 line 0 comments Download
A test/mjsunit/regress/regress-1692.js View 1 1 chunk +89 lines, -0 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
Lasse Reichstein
9 years, 2 months ago (2011-10-03 08:49:33 UTC) #1
Rico
LGTM http://codereview.chromium.org/8113001/diff/1/src/runtime.cc File src/runtime.cc (right): http://codereview.chromium.org/8113001/diff/1/src/runtime.cc#newcode4711 src/runtime.cc:4711: return isolate->heap()->false_value(); Could we add a test to ...
9 years, 2 months ago (2011-10-03 09:07:59 UTC) #2
Lasse Reichstein
http://codereview.chromium.org/8113001/diff/1/src/runtime.cc File src/runtime.cc (right): http://codereview.chromium.org/8113001/diff/1/src/runtime.cc#newcode4711 src/runtime.cc:4711: return isolate->heap()->false_value(); Will test both. http://codereview.chromium.org/8113001/diff/1/src/runtime.cc#newcode4714 src/runtime.cc:4714: return isolate->heap()->true_value(); ...
9 years, 2 months ago (2011-10-03 09:14:43 UTC) #3
arv (Not doing code reviews)
9 years, 2 months ago (2011-10-03 16:40:29 UTC) #4
http://codereview.chromium.org/8113001/diff/4001/test/mjsunit/regress/regress...
File test/mjsunit/regress/regress-1692.js (right):

http://codereview.chromium.org/8113001/diff/4001/test/mjsunit/regress/regress...
test/mjsunit/regress/regress-1692.js:89: assertTrue(o.propertyIsEnumerable(3));
This might be worth testing too

var 0 = [0, 1, , 3, 4];
assertFalse(o.propertyIsEnumerable(2));

Powered by Google App Engine
This is Rietveld 408576698