v8/test
Toon Verwaest a94c91ca48 [parser] Fix escaped contextual keyword handling
Escaped contextual keywords are simply valid identifiers if they do not occur
in the context where they are a keyword. Escape sequences of the form \uNNNN
or \u{NNNNNN} must be consumed as part of the identifier.

If such escaped contextual keywords do occur in a context where they are a
keyword, they are a syntax error. In that case we manually check locally
whether they are escaped.

Bug: v8:6543, v8:6541

Change-Id: I7e1557963883e722310b9078d7d7636ec94aa603
Reviewed-on: https://chromium-review.googlesource.com/c/1473293
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59628}
2019-02-15 12:28:26 +00:00
..
benchmarks Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
cctest [parser] Fix escaped contextual keyword handling 2019-02-15 12:28:26 +00:00
common [wasm] ReturnCall Implementation (decoder). 2019-02-14 00:02:03 +00:00
debugger Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
fuzzer Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
inspector [parser] Force func decl allocation for non-block code coverage 2019-02-15 11:49:26 +00:00
intl [Intl] Fix Null-dereference in CreateICUDateFormatFromCache 2019-02-14 09:53:56 +00:00
js-perf-test [Intl] Add String toLocale(Lower|Upper)Case perf benchmark 2019-02-15 05:53:04 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message [Intl] Remove --harmony-intl-list-format flag from test 2019-02-13 23:22:43 +00:00
mjsunit [parser] Force func decl allocation for non-block code coverage 2019-02-15 11:49:26 +00:00
mkgrokdump [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
mozilla Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
preparser [testrunner] enable the progress indicator 2019-02-12 16:03:17 +00:00
test262 [parser] Fix escaped contextual keyword handling 2019-02-15 12:28:26 +00:00
torque [torque] make overload resolution robust concerning branching contexts 2019-02-15 10:04:36 +00:00
unittests [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
wasm-js Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
wasm-spec-tests Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
webkit Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
BUILD.gn Add target for common test headers 2019-02-12 09:30:01 +00:00
OWNERS Make tmrts an infra OWNER 2019-02-15 09:02:24 +00:00