Fix small spec violation in String.prototype.split.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 23 Dec 2013 10:01:22 +0000 (10:01 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 23 Dec 2013 10:01:22 +0000 (10:01 +0000)
commitcd7d61cfc2252a909b21e358e9240fc560b4ccad
tree9622e7fb56c80148f88f629144d1f2ef8fb8473b
parent18e865d4fa54c44454cf526cc6a290003aaf8667
Fix small spec violation in String.prototype.split.

Also slightly extended the test coverage.

R=rossberg@chromium.org
BUG=v8:3026
LOG=Y

Review URL: https://codereview.chromium.org/119093002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18405 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/string.js
test/mjsunit/regress/regress-3026.js [new file with mode: 0644]
test/mjsunit/string-split.js