v8/test
marja@chromium.org 2b026851ac Scanner: disallow unicode escapes in regexp flags.
The spec explicitly forbids them. V8 never handled them properly either, just
the Scanner accepted them (it had code to add them literally to the
LiteralBuffer) and later on, Regexp constructor disallowed them.

According to the spec, unicode escapes in regexp flags should be an early error
("It is a Syntax Error if IdentifierPart contains a Unicode escape sequence.").

Note that Scanner is still more relaxed about regexp flags than the
spec. Especially, it accepts any identifier parts (not just a small set of
letters) and doesn't check for duplicates.

R=rossberg@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25215}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25215 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-11-07 14:32:19 +00:00
..
benchmarks Revert "Enable turbofan deoptimization by default." 2014-10-27 14:37:10 +00:00
cctest Scanner: disallow unicode escapes in regexp flags. 2014-11-07 14:32:19 +00:00
intl Allow identifier code points from supplementary multilingual planes. 2014-10-10 07:13:46 +00:00
js-perf-test Add performance tests for Map/Set with String and Object keys 2014-10-29 10:18:38 +00:00
message Enable access check tests that no longer fail with TF. 2014-08-14 13:24:57 +00:00
mjsunit Scanner: disallow unicode escapes in regexp flags. 2014-11-07 14:32:19 +00:00
mozilla Skipt tests with TF on windows. 2014-10-30 09:48:42 +00:00
preparser ES6: Duplicate properties are no longer an error 2014-08-20 14:25:48 +00:00
promises-aplus Enable access check tests that no longer fail with TF. 2014-08-14 13:24:57 +00:00
test262 Convert argument toObject() in Object.getOwnPropertyNames/Descriptors 2014-10-15 14:01:20 +00:00
test262-es6 Adjust test262-es6 following --harmony flag change 2014-11-04 18:38:08 +00:00
unittests Remove heap size filter for context disposal garbage collection. 2014-11-07 13:07:47 +00:00
webkit Skip tests with TF. 2014-10-30 12:38:48 +00:00