v8/test
marja c7851da4ae Introduce LanguageMode, drop StrictMode.
This enables adding more language modes in the future.

For maximum flexibility, LanguageMode is a bitmask, so we're not restricted to
use a sequence of language modes which are progressively stricter, but we can
express the language mode as combination of features.

For now, LanguageMode can only be "sloppy" or "strict", and there are
STATIC_ASSERTS in places which need to change when more modes are added.

LanguageMode is a bit like the old LanguageMode when "extended" mode was still
around (see https://codereview.chromium.org/8417035 and
https://codereview.chromium.org/181543002 ) except that it's transmitted through
all the layers (there's no StrictModeFlag).

BUG=

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

Cr-Commit-Position: refs/heads/master@{#26419}
2015-02-04 09:34:26 +00:00
..
benchmarks Enable test coverage for --turbo-deoptimization mode. 2015-01-16 12:53:30 +00:00
cctest Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00
intl Allow identifier code points from supplementary multilingual planes. 2014-10-10 07:13:46 +00:00
js-perf-test Perf tests for Template Literals 2014-12-12 05:14:28 +00:00
message Fix messages tests. 2014-12-10 08:54:48 +00:00
mjsunit Update harmony ObjectProtoToString() to 2/2/2015 spec 2015-02-03 21:05:25 +00:00
mozilla MIPS: Skip mozilla/js1_5/extensions/regress-355497 in simulator. 2015-02-03 06:31:55 +00:00
preparser Update tests in preparation for shipping classes. 2014-12-11 15:54:09 +00:00
promises-aplus Enable access check tests that no longer fail with TF. 2014-08-14 13:24:57 +00:00
test262 Move object literal checking into checker classes 2015-01-29 23:12:43 +00:00
test262-es6 Move object literal checking into checker classes 2015-01-29 23:12:43 +00:00
unittests Introduce LanguageMode, drop StrictMode. 2015-02-04 09:34:26 +00:00
webkit Move object literal checking into checker classes 2015-01-29 23:12:43 +00:00