v8/test
mike 43fa3e65c9 [modules] Treat top-level functions as lexical
[15.2.1.11 Static Semantics:
LexicallyDeclaredNames](https://tc39.github.io/ecma262/#sec-module-semantics-static-semantics-lexicallydeclarednames)
(in contrast with its definition for StatementListItem) makes no
explicit provision for HoistableDeclarations. This means that function
declarations are treated as lexically scoped in module code, as
described in section 15.2.1.11's informative note:

> At the top level of a function, or script, function declarations are
> treated like var declarations rather than like lexical declarations.

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

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

Cr-Commit-Position: refs/heads/master@{#35633}
2016-04-19 17:53:03 +00:00
..
benchmarks [test] Re-enable typescript that is no longer failing on ia32. 2015-10-26 06:00:35 +00:00
cctest [modules] Treat top-level functions as lexical 2016-04-19 17:53:03 +00:00
fuzzer Expose JSON stringifier through V8 API 2016-04-15 18:24:28 +00:00
intl [test] Set default locale in test runner 2016-04-19 11:27:08 +00:00
js-perf-test [js-perf-test] fixup error in JSTests.json 2016-03-09 11:58:00 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message Remove runtime flags for sloppy mode block scoping features 2016-04-08 00:30:20 +00:00
mjsunit Fix polymorphic keyed load handler selection for proxies. 2016-04-19 08:58:43 +00:00
mozilla Pass all parser flags from Parser to PreParser 2016-03-19 00:55:10 +00:00
preparser [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
test262 [test] Set default locale in test runner 2016-04-19 11:27:08 +00:00
unittests [Interpreter] Remove register file register and replace with LoadParentFramePointer. 2016-04-19 12:48:41 +00:00
webkit S390: Skip slow test. 2016-04-08 14:15:44 +00:00
bot_default.gyp Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +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 Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +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 [test] Add ignition test set. 2016-01-04 17:26:42 +00:00
ignition.isolate [testing] Extend interpreter testing to webkit suite. 2016-03-14 16:12:50 +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] Roll luci-go/isolate to 5c67f7b670b5. 2016-01-19 17:03:56 +00:00
perf.gyp [Swarming] Isolate perf tests. 2016-02-15 11:17:18 +00:00
perf.isolate [Swarming] Isolate perf tests. 2016-02-15 11:17:18 +00:00