v8/test
mike d0c65f93bf [parser] Relex restriction on reserved words
Some IdentifierNames are only included in the set of FutureReservedWords
for strict mode code. Outside of strict mode, these IdentifierNames may
be used as Identifiers. Notably, this includes their use as
BindingIdentifiers in LexicalBindings.

From ES2015 12.1.1 Static Semantics: Early Errors (Identifiers):

> It is a Syntax Error if this phrase is contained in strict mode code
> and the StringValue of IdentifierName is: "implements", "interface",
> "let", "package", "private", "protected", "public", "static", or
> "yield".

http://www.ecma-international.org/ecma-262/6.0/#sec-identifiers-static-semantics-early-errors

Due to a error in its heuristic for disambiguating the `let` token, V8
does not currently allow any of the strict-mode-only FutureReservedWords
to be used as a BindingIdentifier outside of strict mode.

Update V8's heuristic for disambiguating the `let` keyword to account
for strict mode, enabling these IdentifierNames to be used

BUG=v8:4918
LOG=N
R=adamk@chromium.org

Review-Url: https://codereview.chromium.org/1891453005
Cr-Commit-Position: refs/heads/master@{#36296}
2016-05-17 21:14:01 +00:00
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest [parser] Relex restriction on reserved words 2016-05-17 21:14:01 +00:00
fuzzer [fuzzer] Force a GC before shutting down isolates 2016-05-06 12:53:29 +00:00
intl Remove certain non-standard properties from Intl 2016-05-12 00:34:48 +00:00
js-perf-test [js-perf-test] Fix JSTests/PropertyQueries microbenchmark. 2016-05-17 11:28:31 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message [es8] Throw SyntaxError when trying to tail call a direct eval. 2016-05-10 09:33:33 +00:00
mjsunit [turbofan] Escape analysis treats guard nodes as escaping. 2016-05-17 15:47:35 +00:00
mozilla [turbofan] Implement top-level lookup slot declaration. 2016-05-10 08:19:22 +00:00
preparser [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
test262 Use ICU case conversion/transliterator for case conversion 2016-05-11 19:03:04 +00:00
unittests [Interpreter] Change LogicalNot to ToBooleanLogicalNot and add non-ToBoolean version. 2016-05-17 20:41:04 +00:00
webkit [Interpreter] Fix incorrect frame walking in arguments create stubs 2016-05-11 15:07:52 +00:00
bot_default.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
bot_default.isolate Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
default.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
default.isolate Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
ignition.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
ignition.isolate [testing] Extend interpreter testing to webkit suite. 2016-03-14 16:12:50 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate [swarming] Roll luci-go/isolate to 5c67f7b670b5. 2016-01-19 17:03:56 +00:00
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate [Swarming] Isolate perf tests. 2016-02-15 11:17:18 +00:00