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

Issue 3037008: Fix issue 785. For-in now works on strings: for (var i in "asdf") now works... (Closed)

Created:
10 years, 5 months ago by William Hesse
Modified:
9 years, 7 months ago
Reviewers:
Rico
CC:
v8-dev
Visibility:
Public.

Description

Fix issue 785. For-in now works on strings: for (var i in "asdf") now works all the time, not just the first time it is run. Committed: http://code.google.com/p/v8/source/detail?r=5095

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -0 lines) Patch
M src/handles.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M test/mjsunit/for-in-special-cases.js View 1 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
William Hesse
10 years, 5 months ago (2010-07-19 12:13:17 UTC) #1
Rico
10 years, 5 months ago (2010-07-19 12:28:30 UTC) #2
LGTM with nit

http://codereview.chromium.org/3037008/diff/1/3
File test/mjsunit/for-in-special-cases.js (right):

http://codereview.chromium.org/3037008/diff/1/3#newcode76
test/mjsunit/for-in-special-cases.js:76: // We do not assume that for_in
enumerates elements in order.
for_in -> for-in?

http://codereview.chromium.org/3037008/diff/1/3#newcode102
test/mjsunit/for-in-special-cases.js:102: // We do not assume that for_in
enumerates elements in order.
for_in -> for-in

http://codereview.chromium.org/3037008/diff/1/3#newcode118
test/mjsunit/for-in-special-cases.js:118: 
Remove blank lines?

Powered by Google App Engine
This is Rietveld 408576698