Flag sloppy eval in parameter initializer tests as noStrict

This commit is contained in:
Shu-yu Guo 2020-01-03 15:36:51 -08:00
parent 157b18d16b
commit 68352eb8b5
33 changed files with 33 additions and 32 deletions

View File

@ -12,6 +12,7 @@ info: |
features: [default-parameters] features: [default-parameters]
flags: [noStrict]
---*/ ---*/
//- params //- params

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (arrow function expression) description: sloppy direct eval in params introduces var (arrow function expression)
esid: sec-arrow-function-definitions-runtime-semantics-evaluation esid: sec-arrow-function-definitions-runtime-semantics-evaluation
features: [default-parameters] features: [default-parameters]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ArrowFunction : ArrowParameters => ConciseBody ArrowFunction : ArrowParameters => ConciseBody

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (async arrow function expression) description: sloppy direct eval in params introduces var (async arrow function expression)
esid: sec-async-arrow-function-definitions esid: sec-async-arrow-function-definitions
features: [default-parameters, async-functions] features: [default-parameters, async-functions]
flags: [generated, async] flags: [generated, noStrict, async]
info: | info: |
14.7 Async Arrow Function Definitions 14.7 Async Arrow Function Definitions

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (async function named expression) description: sloppy direct eval in params introduces var (async function named expression)
esid: sec-async-function-definitions esid: sec-async-function-definitions
features: [default-parameters, async-functions] features: [default-parameters, async-functions]
flags: [generated, async] flags: [generated, noStrict, async]
info: | info: |
14.6 Async Function Definitions 14.6 Async Function Definitions

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (async function nameless expression) description: sloppy direct eval in params introduces var (async function nameless expression)
esid: sec-async-function-definitions esid: sec-async-function-definitions
features: [default-parameters, async-functions] features: [default-parameters, async-functions]
flags: [generated, async] flags: [generated, noStrict, async]
info: | info: |
14.6 Async Function Definitions 14.6 Async Function Definitions

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (async generator function expression) description: sloppy direct eval in params introduces var (async generator function expression)
esid: sec-asyncgenerator-definitions-evaluation esid: sec-asyncgenerator-definitions-evaluation
features: [default-parameters, async-iteration] features: [default-parameters, async-iteration]
flags: [generated] flags: [generated, noStrict]
info: | info: |
AsyncGeneratorExpression : async [no LineTerminator here] function * ( FormalParameters ) { AsyncGeneratorExpression : async [no LineTerminator here] function * ( FormalParameters ) {
AsyncGeneratorBody } AsyncGeneratorBody }

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (async generator named function expression) description: sloppy direct eval in params introduces var (async generator named function expression)
esid: sec-asyncgenerator-definitions-evaluation esid: sec-asyncgenerator-definitions-evaluation
features: [default-parameters, async-iteration] features: [default-parameters, async-iteration]
flags: [generated] flags: [generated, noStrict]
info: | info: |
AsyncGeneratorExpression : async [no LineTerminator here] function * BindingIdentifier AsyncGeneratorExpression : async [no LineTerminator here] function * BindingIdentifier
( FormalParameters ) { AsyncGeneratorBody } ( FormalParameters ) { AsyncGeneratorBody }

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (static class expression async generator method) description: sloppy direct eval in params introduces var (static class expression async generator method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters, async-iteration] features: [default-parameters, async-iteration]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (class expression async generator method) description: sloppy direct eval in params introduces var (class expression async generator method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters, async-iteration] features: [default-parameters, async-iteration]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (static class expression async method) description: sloppy direct eval in params introduces var (static class expression async method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters, async-functions] features: [default-parameters, async-functions]
flags: [generated, async] flags: [generated, noStrict, async]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (class expression async method) description: sloppy direct eval in params introduces var (class expression async method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters, async-functions] features: [default-parameters, async-functions]
flags: [generated, async] flags: [generated, noStrict, async]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (static class expression generator method) description: sloppy direct eval in params introduces var (static class expression generator method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters, generators] features: [default-parameters, generators]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (class expression method) description: sloppy direct eval in params introduces var (class expression method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters, generators] features: [default-parameters, generators]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (static class expression method) description: sloppy direct eval in params introduces var (static class expression method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters] features: [default-parameters]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (class expression method) description: sloppy direct eval in params introduces var (class expression method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters] features: [default-parameters]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassExpression : class BindingIdentifieropt ClassTail ClassExpression : class BindingIdentifieropt ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (function expression) description: sloppy direct eval in params introduces var (function expression)
esid: sec-function-definitions-runtime-semantics-evaluation esid: sec-function-definitions-runtime-semantics-evaluation
features: [default-parameters] features: [default-parameters]
flags: [generated] flags: [generated, noStrict]
info: | info: |
FunctionExpression : function ( FormalParameters ) { FunctionBody } FunctionExpression : function ( FormalParameters ) { FunctionBody }

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (generator function expression) description: sloppy direct eval in params introduces var (generator function expression)
esid: sec-generator-function-definitions-runtime-semantics-evaluation esid: sec-generator-function-definitions-runtime-semantics-evaluation
features: [default-parameters, generators] features: [default-parameters, generators]
flags: [generated] flags: [generated, noStrict]
info: | info: |
GeneratorExpression : function * ( FormalParameters ) { GeneratorBody } GeneratorExpression : function * ( FormalParameters ) { GeneratorBody }

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (async generator method) description: sloppy direct eval in params introduces var (async generator method)
esid: sec-asyncgenerator-definitions-propertydefinitionevaluation esid: sec-asyncgenerator-definitions-propertydefinitionevaluation
features: [default-parameters, async-iteration] features: [default-parameters, async-iteration]
flags: [generated] flags: [generated, noStrict]
info: | info: |
AsyncGeneratorMethod : AsyncGeneratorMethod :
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) async [no LineTerminator here] * PropertyName ( UniqueFormalParameters )

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (async method) description: sloppy direct eval in params introduces var (async method)
esid: sec-async-function-definitions esid: sec-async-function-definitions
features: [default-parameters, async-functions] features: [default-parameters, async-functions]
flags: [generated, async] flags: [generated, noStrict, async]
info: | info: |
14.6 Async Function Definitions 14.6 Async Function Definitions

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (generator method) description: sloppy direct eval in params introduces var (generator method)
esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation
features: [default-parameters, generators] features: [default-parameters, generators]
flags: [generated] flags: [generated, noStrict]
info: | info: |
GeneratorMethod : GeneratorMethod :
* PropertyName ( StrictFormalParameters ) { GeneratorBody } * PropertyName ( StrictFormalParameters ) { GeneratorBody }

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (method) description: sloppy direct eval in params introduces var (method)
esid: sec-runtime-semantics-definemethod esid: sec-runtime-semantics-definemethod
features: [default-parameters] features: [default-parameters]
flags: [generated] flags: [generated, noStrict]
info: | info: |
MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody } MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody }

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (async function declaration) description: sloppy direct eval in params introduces var (async function declaration)
esid: sec-async-function-definitions esid: sec-async-function-definitions
features: [default-parameters, async-functions] features: [default-parameters, async-functions]
flags: [generated, async] flags: [generated, noStrict, async]
info: | info: |
14.6 Async Function Definitions 14.6 Async Function Definitions

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (async generator function declaration) description: sloppy direct eval in params introduces var (async generator function declaration)
esid: sec-asyncgenerator-definitions-instantiatefunctionobject esid: sec-asyncgenerator-definitions-instantiatefunctionobject
features: [default-parameters, async-iteration] features: [default-parameters, async-iteration]
flags: [generated] flags: [generated, noStrict]
info: | info: |
AsyncGeneratorDeclaration : async [no LineTerminator here] function * BindingIdentifier AsyncGeneratorDeclaration : async [no LineTerminator here] function * BindingIdentifier
( FormalParameters ) { AsyncGeneratorBody } ( FormalParameters ) { AsyncGeneratorBody }

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (static class expression generator method) description: sloppy direct eval in params introduces var (static class expression generator method)
esid: sec-runtime-semantics-bindingclassdeclarationevaluation esid: sec-runtime-semantics-bindingclassdeclarationevaluation
features: [default-parameters, async-iteration] features: [default-parameters, async-iteration]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (class expression method) description: sloppy direct eval in params introduces var (class expression method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters, async-iteration] features: [default-parameters, async-iteration]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (static class declaration async method) description: sloppy direct eval in params introduces var (static class declaration async method)
esid: sec-runtime-semantics-bindingclassdeclarationevaluation esid: sec-runtime-semantics-bindingclassdeclarationevaluation
features: [default-parameters, async-functions] features: [default-parameters, async-functions]
flags: [generated, async] flags: [generated, noStrict, async]
info: | info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (class declaration async method) description: sloppy direct eval in params introduces var (class declaration async method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters, async-functions] features: [default-parameters, async-functions]
flags: [generated, async] flags: [generated, noStrict, async]
info: | info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (static class expression generator method) description: sloppy direct eval in params introduces var (static class expression generator method)
esid: sec-runtime-semantics-bindingclassdeclarationevaluation esid: sec-runtime-semantics-bindingclassdeclarationevaluation
features: [default-parameters, generators] features: [default-parameters, generators]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (class expression method) description: sloppy direct eval in params introduces var (class expression method)
esid: sec-class-definitions-runtime-semantics-evaluation esid: sec-class-definitions-runtime-semantics-evaluation
features: [default-parameters, generators] features: [default-parameters, generators]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (static class expression method) description: sloppy direct eval in params introduces var (static class expression method)
esid: sec-runtime-semantics-bindingclassdeclarationevaluation esid: sec-runtime-semantics-bindingclassdeclarationevaluation
features: [default-parameters] features: [default-parameters]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (class expression method) description: sloppy direct eval in params introduces var (class expression method)
esid: sec-runtime-semantics-bindingclassdeclarationevaluation esid: sec-runtime-semantics-bindingclassdeclarationevaluation
features: [default-parameters] features: [default-parameters]
flags: [generated] flags: [generated, noStrict]
info: | info: |
ClassDeclaration : class BindingIdentifier ClassTail ClassDeclaration : class BindingIdentifier ClassTail

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (function declaration) description: sloppy direct eval in params introduces var (function declaration)
esid: sec-function-definitions-runtime-semantics-instantiatefunctionobject esid: sec-function-definitions-runtime-semantics-instantiatefunctionobject
features: [default-parameters] features: [default-parameters]
flags: [generated] flags: [generated, noStrict]
info: | info: |
FunctionDeclaration : FunctionDeclaration :
function BindingIdentifier ( FormalParameters ) { FunctionBody } function BindingIdentifier ( FormalParameters ) { FunctionBody }

View File

@ -5,7 +5,7 @@
description: sloppy direct eval in params introduces var (generator function declaration) description: sloppy direct eval in params introduces var (generator function declaration)
esid: sec-generator-function-definitions-runtime-semantics-instantiatefunctionobject esid: sec-generator-function-definitions-runtime-semantics-instantiatefunctionobject
features: [default-parameters, generators] features: [default-parameters, generators]
flags: [generated] flags: [generated, noStrict]
info: | info: |
GeneratorDeclaration : function * ( FormalParameters ) { GeneratorBody } GeneratorDeclaration : function * ( FormalParameters ) { GeneratorBody }