Fix issue 785. For-in now works on strings: for (var i in "asdf") now works
authorwhesse@chromium.org <whesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 19 Jul 2010 12:45:21 +0000 (12:45 +0000)
committerwhesse@chromium.org <whesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 19 Jul 2010 12:45:21 +0000 (12:45 +0000)
commit9991a4b226ad792b21be060696f547b5b6adf884
tree54ae2806437c3887224717163d8e58bc7b563429
parent2a877bfc95be4c2952ba5a03c5282452036dc33a
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.
Review URL: http://codereview.chromium.org/3037008

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5095 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/handles.cc
test/mjsunit/for-in-special-cases.js