v8/test/mjsunit/harmony
littledan 1ebf0d7c5d Split function block scoping into a separate flag
In an initial attempt to implement sloppy mode lexical bindings,
functions were made lexically scoped in sloppy mode. However, the
ES2015 spec says that they need an additional hoisted var binding,
and further, it's not clear when we'll implement that behavior
or whether it's web-compatible.

This patch splits off function block scoping into a new, separate
flag called --harmony_sloppy_function. This change will enable the
possibility of testing and shipping this feature separately from
other block scoping-related features which don't have the same risks.

BUG=v8:4285
R=adamk
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#30122}
2015-08-12 00:00:01 +00:00
..
regress Regression test for crbug 517455 2015-08-07 13:32:46 +00:00
array-concat.js Guard @@isConcatSpreadable behind a flag 2015-07-08 21:49:58 +00:00
array-copywithin.js
array-fill.js
array-find.js
array-findindex.js
array-from.js
array-includes-to-object-sloppy.js
array-includes-to-object-strict.js
array-includes.js
array-of.js
arrow-functions-lexical-arguments.js [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
arrow-functions-this.js
arrow-functions.js
arrow-rest-params.js
atomics.js Don't use length property when bounds checking atomics functions 2015-07-14 16:17:21 +00:00
block-conflicts-sloppy.js Split function block scoping into a separate flag 2015-08-12 00:00:01 +00:00
block-const-assign-sloppy.js Delete --harmony-computed-property-names flag 2015-08-05 21:32:38 +00:00
block-for-sloppy.js Split off a separate --harmony_sloppy_let flag 2015-07-25 00:05:18 +00:00
block-lazy-compile.js
block-leave-sloppy.js Split off a separate --harmony_sloppy_let flag 2015-07-25 00:05:18 +00:00
block-let-crankshaft-sloppy.js Split off a separate --harmony_sloppy_let flag 2015-07-25 00:05:18 +00:00
block-let-declaration-sloppy.js Split off a separate --harmony_sloppy_let flag 2015-07-25 00:05:18 +00:00
block-let-semantics-sloppy.js Split function block scoping into a separate flag 2015-08-12 00:00:01 +00:00
block-scope-class.js Split function block scoping into a separate flag 2015-08-12 00:00:01 +00:00
block-scoping-sloppy.js Split function block scoping into a separate flag 2015-08-12 00:00:01 +00:00
block-scoping-top-level-sloppy.js Split off a separate --harmony_sloppy_let flag 2015-07-25 00:05:18 +00:00
classes-derived-return-type.js
dataview-accessors.js
destructuring-parameters-literalcount-nolazy.js Delete --harmony-computed-property-names flag 2015-08-05 21:32:38 +00:00
destructuring-parameters-literalcount.js Delete --harmony-computed-property-names flag 2015-08-05 21:32:38 +00:00
destructuring.js [es6] Fix parsing of expressions in patterns 2015-08-07 21:56:00 +00:00
futex.js Atomics Futex API 2015-07-17 17:11:47 +00:00
module-linking.js
module-parsing-eval.js
module-recompile.js
module-resolution.js
modules.js
new-target.js [es6] new.target should not be shadowable in a with scope 2015-08-04 17:15:40 +00:00
object-assign.js
object-literals-super.js [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
private.js All private symbols are own symbols 2015-06-16 08:13:42 +00:00
proxies-example-membrane.js
proxies-for.js
proxies-function.js
proxies-hash.js
proxies-json.js
proxies-symbols.js
proxies-with-unscopables.js
proxies-with.js
proxies.js Fix keyed stores to strings convertible to indices 2015-07-13 10:46:35 +00:00
reflect-apply.js
reflect-construct.js
regexp-flags.js
regexp-sticky.js
rest-params-lazy-parsing.js
rest-params.js [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
set-prototype-of.js [es6] throw TypeError when setting cyclic prototype value 2015-06-19 22:18:36 +00:00
sharedarraybuffer.js Revert of Add %TypedArray% to proto chain (patchset #6 id:100001 of https://codereview.chromium.org/1186733002/) 2015-06-17 09:05:51 +00:00
simd.js SIMD.js Add the other SIMD Phase 1 types. 2015-08-03 13:02:56 +00:00
spread-array.js
spread-call-new-class.js
spread-call-new.js
spread-call-super-property.js
spread-call.js
super.js [es6] Fix function context check for super and new.target 2015-07-23 09:58:59 +00:00
typed-array-includes.js Add includes method to typed arrays 2015-08-11 17:55:24 +00:00
unicode-escapes-in-regexps.js