v8/test
adamk 83b63c308a Sloppy eval declarations should not shadow lexical function declarations
This was being allowed due to the use of BindingFlags instead of VariableMode
to determine whether a looked-up binding was lexical. Because function
declarations are hoisted, they never need hole checks, and so were being
miscategorized as non-lexical.

This patch augments Context::Lookup with a VariableMode out param, which
allows this check to determine precisely whether the binding is lexical.

BUG=v8:4454, v8:5256

Review-Url: https://codereview.chromium.org/2206483004
Cr-Commit-Position: refs/heads/master@{#38260}
2016-08-02 20:27:38 +00:00
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest Remove --harmony-exponentiation-operator flag 2016-08-02 17:17:35 +00:00
fuzzer Provide a convenience array buffer allocator 2016-06-29 07:42:40 +00:00
inspector_protocol_parser_test [inspector] add test configuration for the parser test. 2016-08-01 09:50:14 +00:00
intl Avoid calling the builtin String.prototype.split in Intl 2016-07-08 16:53:09 +00:00
js-perf-test Remove the --ignition-generators flag. 2016-07-25 12:56:27 +00:00
memory [snapshot] support multiple contexts in the same snapshot. 2016-06-15 15:39:06 +00:00
message Remove the --ignition-generators flag. 2016-07-25 12:56:27 +00:00
mjsunit Sloppy eval declarations should not shadow lexical function declarations 2016-08-02 20:27:38 +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 [builtins] take slow path in IsConcatSpreadable if proxy in prototype 2016-07-22 18:43:19 +00:00
unittests [turbofan] Remove IfExceptionHint from exception projections. 2016-08-02 14:49:10 +00:00
webkit [test] Remove deprecated --ignition test-runner flag 2016-08-01 12:11:43 +00:00
bot_default.gyp [inspector] add test configuration for the parser test. 2016-08-01 09:50:14 +00:00
bot_default.isolate [inspector] add test configuration for the parser test. 2016-08-01 09:50:14 +00:00
BUILD.gn [test] Remove deprecated ignition-test-suite alias 2016-08-02 16:45:34 +00:00
default.gyp [inspector] add test configuration for the parser test. 2016-08-01 09:50:14 +00:00
default.isolate [inspector] add test configuration for the parser test. 2016-08-01 09:50:14 +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