v8/test
littledan d03191beb1 Use a new lexical context for sloppy-mode eval
In ES6, direct eval() in sloppy mode uses the enclosing function-level
("var") scope for var-style bindings and a new lexical scope for lexical
bindings like let and class. This patch implements that feature by making
lexical bindings that are directly within an EVAL_SCOPE be on the local
scope rather than the enclosing one.

BUG=v8:4288
LOG=Y
R=adamk

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

Cr-Commit-Position: refs/heads/master@{#30120}
2015-08-11 21:30:40 +00:00
..
benchmarks [test] Key variant flags by variant name everywhere. 2015-07-29 07:14:30 +00:00
cctest [runtime] Store constructor function index on primitive maps. 2015-08-11 19:36:14 +00:00
intl Ensure String.prototype.normalize.length is 0 2015-08-05 15:13:45 +00:00
js-perf-test [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message Improve error message for duplicate parameters 2015-07-14 21:59:03 +00:00
mjsunit Use a new lexical context for sloppy-mode eval 2015-08-11 21:30:40 +00:00
mozilla Revert "In RegExp, lastIndex is read with ToLength, not ToInteger" 2015-07-27 10:58:53 +00:00
preparser [test] Key variant flags by variant name everywhere. 2015-07-29 07:14:30 +00:00
promises-aplus Remove unnecessary coupling between Promise tests and Object.observe 2015-07-21 17:17:07 +00:00
simdjs SIMD.js Add the other SIMD Phase 1 types. 2015-08-03 13:02:56 +00:00
test262 Revert "In RegExp, lastIndex is read with ToLength, not ToInteger" 2015-07-27 10:58:53 +00:00
test262-es6 [es6] Add appropriate ToString call to String.prototype.normalize 2015-08-11 00:12:12 +00:00
unittests [turbofan] Drop V8_TURBOFAN_BACKEND and V8_TURBOFAN_TARGET defines. 2015-08-10 07:17:34 +00:00
webkit Use a new lexical context for sloppy-mode eval 2015-08-11 21:30:40 +00:00