v8/test/mozilla
littledan 1f61ac5033 In RegExp, lastIndex is read with ToLength, not ToInteger
ES2015 made a change vs ES5, where the "lastIndex" property of a
RegExp (which can be modified by a user to start the next search at
a different location) is cast to an integer with ToLength rather
than ToInteger. The main difference is on negative numbers, and
this is tested by test262. This patch implements that change on
RegExps and enables the test262 test now that it passes.

R=adamk
LOG=Y
BUG=v8:4244

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

Cr-Commit-Position: refs/heads/master@{#29715}
2015-07-16 21:55:41 +00:00
..
mozilla-shell-emulation.js Removed lots of new mozilla tests depending on "options" function. 2008-12-03 10:21:50 +00:00
mozilla.status In RegExp, lastIndex is read with ToLength, not ToInteger 2015-07-16 21:55:41 +00:00
testcfg.py When upgrading the test data twice, don't bail out because of an existing backup 2014-02-28 12:32:54 +00:00