v8/test
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
..
benchmarks [turbofan] Add single --turbo flag. 2015-04-16 16:28:39 +00:00
cctest Expose SIMD.Float32x4 type to Javascript. 2015-07-16 19:43:32 +00:00
intl Allow identifier code points from supplementary multilingual planes. 2014-10-10 07:13:46 +00:00
js-perf-test [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message Improve error message for duplicate parameters 2015-07-14 21:59:03 +00:00
mjsunit Expose SIMD.Float32x4 type to Javascript. 2015-07-16 19:43:32 +00:00
mozilla In RegExp, lastIndex is read with ToLength, not ToInteger 2015-07-16 21:55:41 +00:00
preparser Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
promises-aplus Enable access check tests that no longer fail with TF. 2014-08-14 13:24:57 +00:00
simdjs Expose SIMD.Float32x4 type to Javascript. 2015-07-16 19:43:32 +00:00
test262 In RegExp, lastIndex is read with ToLength, not ToInteger 2015-07-16 21:55:41 +00:00
test262-es6 In RegExp, lastIndex is read with ToLength, not ToInteger 2015-07-16 21:55:41 +00:00
unittests Let the second pass phantom callbacks run in a separate task on the foreground thread. 2015-07-15 12:26:11 +00:00
webkit Scoping error caused crash in CallICNexus::StateFromFeedback 2015-07-15 09:15:05 +00:00