v8/test
littledan 5c1ef6ac82 Make RegExp use ToLength on lastIndex when flag is turned on
In the ES2015 spec, RegExp uses ToLength, not ToInteger, on lastIndex
to coerce it to an integer. This patch switches to ToLength when
the --harmony-tolength flag is on, and adds some tests to verify the
new behavior.

BUG=v8:4244
LOG=Y
R=adamk

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

Cr-Commit-Position: refs/heads/master@{#31306}
2015-10-15 14:10:48 +00:00
..
benchmarks [test] Fix status files. 2015-10-07 13:14:28 +00:00
cctest Revert of [Interpreter] Support for operator new. (patchset #17 id:290001 of https://codereview.chromium.org/1402943002/ ) 2015-10-15 12:50:11 +00:00
intl [test] Mark intl test as failing on linux. 2015-10-14 07:09:36 +00:00
js-perf-test [es6] Ship rest parameters. 2015-09-28 11:19:35 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message Fix let pattern error accumulation 2015-10-15 10:46:17 +00:00
mjsunit Make RegExp use ToLength on lastIndex when flag is turned on 2015-10-15 14:10:48 +00:00
mozilla MIPS64: Add big-endian support for mips64. 2015-09-29 17:23:55 +00:00
preparser Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
promises-aplus Remove unnecessary coupling between Promise tests and Object.observe 2015-07-21 17:17:07 +00:00
simdjs [test] Pull simdjs as a dependency. 2015-10-15 11:26:55 +00:00
test262 Revert of Make dates default to the local timezone if none specified (https://codereview.chromium.org/1229903004/) 2015-10-15 12:18:16 +00:00
unittests Revert of [turbofan] Splinter into one range. (patchset #2 id:80001 of https://codereview.chromium.org/1391023007/ ) 2015-10-15 13:28:20 +00:00
webkit Emit better error message about writable properties 2015-10-14 19:22:27 +00:00
default.gyp [swarming] Run unittests together with default tests. 2015-10-06 09:31:49 +00:00
default.isolate [swarming] Run unittests together with default tests. 2015-10-06 09:31:49 +00:00
optimize_for_size.gyp [swarming] Isolate webkit and optimize_for_size. 2015-10-14 17:35:05 +00:00
optimize_for_size.isolate [swarming] Isolate webkit and optimize_for_size. 2015-10-14 17:35:05 +00:00