mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 13:04:39 +02:00
Add missing generators flags
This commit is contained in:
parent
e38587ec2c
commit
f8f5a7a1e7
@ -8,6 +8,7 @@ es6id: B.1.4
|
|||||||
description: >
|
description: >
|
||||||
"ControlLetter :: RUSSIAN ALPHABET is incorrect"
|
"ControlLetter :: RUSSIAN ALPHABET is incorrect"
|
||||||
Instead, fall back to semantics to match literal "\\c"
|
Instead, fall back to semantics to match literal "\\c"
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function* invalidControls() {
|
function* invalidControls() {
|
||||||
|
@ -10,6 +10,7 @@ info: >
|
|||||||
|
|
||||||
The production ClassAtomNoDash :: `\` evaluates as follows:
|
The production ClassAtomNoDash :: `\` evaluates as follows:
|
||||||
1. Return the CharSet containing the single character `\`.
|
1. Return the CharSet containing the single character `\`.
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function* invalidControls() {
|
function* invalidControls() {
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
esid: sec-createdynamicfunction
|
esid: sec-createdynamicfunction
|
||||||
description: Function.prototype.toString on a generator function created with the GeneratorFunction constructor
|
description: Function.prototype.toString on a generator function created with the GeneratorFunction constructor
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
let GeneratorFunction = Object.getPrototypeOf(function*(){}).constructor;
|
let GeneratorFunction = Object.getPrototypeOf(function*(){}).constructor;
|
||||||
|
@ -20,6 +20,7 @@ info: >
|
|||||||
c. If fnDefinable is false, throw TypeError exception.
|
c. If fnDefinable is false, throw TypeError exception.
|
||||||
...
|
...
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var error;
|
var error;
|
||||||
|
@ -6,6 +6,7 @@ author: Brian Terlson <brian.terlson@microsoft.com>
|
|||||||
esid: pending
|
esid: pending
|
||||||
description: >
|
description: >
|
||||||
Await in a generator is an identifier
|
Await in a generator is an identifier
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function* foo(await) { yield await; };
|
function* foo(await) { yield await; };
|
||||||
|
@ -6,6 +6,7 @@ author: Brian Terlson <brian.terlson@microsoft.com>
|
|||||||
esid: pending
|
esid: pending
|
||||||
description: >
|
description: >
|
||||||
Await is allowed as an identifier in generator functions nested in async functions
|
Await is allowed as an identifier in generator functions nested in async functions
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var await;
|
var await;
|
||||||
|
@ -26,7 +26,7 @@ info: |
|
|||||||
2. If HasInitializer of FormalsList is true or HasInitializer of
|
2. If HasInitializer of FormalsList is true or HasInitializer of
|
||||||
FormalParameter is true, return count.
|
FormalParameter is true, return count.
|
||||||
3. Return count+1.
|
3. Return count+1.
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
description: Referencing the arguments object from a default parameter (class expression method)
|
description: Referencing the arguments object from a default parameter (class expression method)
|
||||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||||
es6id: 14.5.16
|
es6id: 14.5.16
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
info: |
|
info: |
|
||||||
ClassExpression : class BindingIdentifieropt ClassTail
|
ClassExpression : class BindingIdentifieropt ClassTail
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
description: Referencing the arguments object from a default parameter (class expression method)
|
description: Referencing the arguments object from a default parameter (class expression method)
|
||||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||||
es6id: 14.5.16
|
es6id: 14.5.16
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
info: |
|
info: |
|
||||||
ClassExpression : class BindingIdentifieropt ClassTail
|
ClassExpression : class BindingIdentifieropt ClassTail
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
description: Referencing the arguments object from a default parameter (static class expression generator method)
|
description: Referencing the arguments object from a default parameter (static class expression generator method)
|
||||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||||
es6id: 14.5.16
|
es6id: 14.5.16
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
info: |
|
info: |
|
||||||
ClassExpression : class BindingIdentifieropt ClassTail
|
ClassExpression : class BindingIdentifieropt ClassTail
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
description: Referencing the arguments object from a default parameter (static class expression generator method)
|
description: Referencing the arguments object from a default parameter (static class expression generator method)
|
||||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||||
es6id: 14.5.16
|
es6id: 14.5.16
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
info: |
|
info: |
|
||||||
ClassExpression : class BindingIdentifieropt ClassTail
|
ClassExpression : class BindingIdentifieropt ClassTail
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ info: |
|
|||||||
d. Set the VariableEnvironment of calleeContext to varEnv.
|
d. Set the VariableEnvironment of calleeContext to varEnv.
|
||||||
e. Let instantiatedVarNames be a new empty List.
|
e. Let instantiatedVarNames be a new empty List.
|
||||||
[...]
|
[...]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var probe;
|
var probe;
|
||||||
|
@ -18,6 +18,7 @@ info: |
|
|||||||
d. Set the VariableEnvironment of calleeContext to varEnv.
|
d. Set the VariableEnvironment of calleeContext to varEnv.
|
||||||
e. Let instantiatedVarNames be a new empty List.
|
e. Let instantiatedVarNames be a new empty List.
|
||||||
[...]
|
[...]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 'outside';
|
var x = 'outside';
|
||||||
|
@ -17,6 +17,7 @@ info: |
|
|||||||
d. Set the VariableEnvironment of calleeContext to varEnv.
|
d. Set the VariableEnvironment of calleeContext to varEnv.
|
||||||
e. Let instantiatedVarNames be a new empty List.
|
e. Let instantiatedVarNames be a new empty List.
|
||||||
[...]
|
[...]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var probe;
|
var probe;
|
||||||
|
@ -18,6 +18,7 @@ info: |
|
|||||||
d. Set the VariableEnvironment of calleeContext to varEnv.
|
d. Set the VariableEnvironment of calleeContext to varEnv.
|
||||||
e. Let instantiatedVarNames be a new empty List.
|
e. Let instantiatedVarNames be a new empty List.
|
||||||
[...]
|
[...]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 'outside';
|
var x = 'outside';
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
es6id: 12.2.5
|
es6id: 12.2.5
|
||||||
description: >
|
description: >
|
||||||
super method calls in object literal concise generator
|
super method calls in object literal concise generator
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
var proto = {
|
var proto = {
|
||||||
method() {
|
method() {
|
||||||
|
@ -26,7 +26,7 @@ info: |
|
|||||||
2. If HasInitializer of FormalsList is true or HasInitializer of
|
2. If HasInitializer of FormalsList is true or HasInitializer of
|
||||||
FormalParameter is true, return count.
|
FormalParameter is true, return count.
|
||||||
3. Return count+1.
|
3. Return count+1.
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ info: >
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
description: Referencing the arguments object from a default parameter (generator method)
|
description: Referencing the arguments object from a default parameter (generator method)
|
||||||
esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation
|
esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation
|
||||||
es6id: 14.4.13
|
es6id: 14.4.13
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
info: |
|
info: |
|
||||||
GeneratorMethod :
|
GeneratorMethod :
|
||||||
* PropertyName ( StrictFormalParameters ) { GeneratorBody }
|
* PropertyName ( StrictFormalParameters ) { GeneratorBody }
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
description: Referencing the arguments object from a default parameter (generator method)
|
description: Referencing the arguments object from a default parameter (generator method)
|
||||||
esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation
|
esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation
|
||||||
es6id: 14.4.13
|
es6id: 14.4.13
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
info: |
|
info: |
|
||||||
GeneratorMethod :
|
GeneratorMethod :
|
||||||
* PropertyName ( StrictFormalParameters ) { GeneratorBody }
|
* PropertyName ( StrictFormalParameters ) { GeneratorBody }
|
||||||
|
@ -40,7 +40,7 @@ info: |
|
|||||||
like-named lexical declaration.
|
like-named lexical declaration.
|
||||||
iii. Let thisLex be thisLex's outer environment reference.
|
iii. Let thisLex be thisLex's outer environment reference.
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
features: [let]
|
features: [generators, let]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var o = {
|
var o = {
|
||||||
|
@ -15,6 +15,7 @@ info: |
|
|||||||
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
||||||
[...]
|
[...]
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 'outside';
|
var x = 'outside';
|
||||||
|
@ -16,6 +16,7 @@ info: |
|
|||||||
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
||||||
[...]
|
[...]
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 'outside';
|
var x = 'outside';
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
||||||
[...]
|
[...]
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 'outside';
|
var x = 'outside';
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
11. Set the LexicalEnvironment of currentContext to originalEnv.
|
||||||
[...]
|
[...]
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 'outside';
|
var x = 'outside';
|
||||||
|
@ -17,6 +17,7 @@ info: |
|
|||||||
d. Set the VariableEnvironment of calleeContext to varEnv.
|
d. Set the VariableEnvironment of calleeContext to varEnv.
|
||||||
e. Let instantiatedVarNames be a new empty List.
|
e. Let instantiatedVarNames be a new empty List.
|
||||||
[...]
|
[...]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var probe;
|
var probe;
|
||||||
|
@ -18,6 +18,7 @@ info: |
|
|||||||
d. Set the VariableEnvironment of calleeContext to varEnv.
|
d. Set the VariableEnvironment of calleeContext to varEnv.
|
||||||
e. Let instantiatedVarNames be a new empty List.
|
e. Let instantiatedVarNames be a new empty List.
|
||||||
[...]
|
[...]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 'outside';
|
var x = 'outside';
|
||||||
|
@ -9,6 +9,7 @@ flags: [module]
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -23,6 +23,7 @@ info: |
|
|||||||
5. Perform ? InitializeBoundName("*default*", value, env).
|
5. Perform ? InitializeBoundName("*default*", value, env).
|
||||||
[...]
|
[...]
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
export default (function* () { return 24601; });
|
export default (function* () { return 24601; });
|
||||||
|
@ -23,6 +23,7 @@ info: |
|
|||||||
5. Perform ? InitializeBoundName("*default*", value, env).
|
5. Perform ? InitializeBoundName("*default*", value, env).
|
||||||
[...]
|
[...]
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
export default (function* gName() { return 88; });
|
export default (function* gName() { return 88; });
|
||||||
|
@ -6,6 +6,7 @@ description: >
|
|||||||
need to be terminated with a semicolon or newline
|
need to be terminated with a semicolon or newline
|
||||||
esid: sec-moduleevaluation
|
esid: sec-moduleevaluation
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var count = 0;
|
var count = 0;
|
||||||
|
@ -6,6 +6,7 @@ description: >
|
|||||||
be terminated with a semicolon or newline
|
be terminated with a semicolon or newline
|
||||||
esid: sec-moduleevaluation
|
esid: sec-moduleevaluation
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var count = 0;
|
var count = 0;
|
||||||
|
@ -6,6 +6,7 @@ description: >
|
|||||||
with a semicolon or newline
|
with a semicolon or newline
|
||||||
esid: sec-moduleevaluation
|
esid: sec-moduleevaluation
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var count = 0;
|
var count = 0;
|
||||||
|
@ -38,6 +38,7 @@ info: |
|
|||||||
and N2 as its target binding and record that the binding is initialized.
|
and N2 as its target binding and record that the binding is initialized.
|
||||||
6. Return NormalCompletion(empty).
|
6. Return NormalCompletion(empty).
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(
|
assert.sameValue(
|
||||||
|
@ -43,6 +43,7 @@ info: |
|
|||||||
function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody }
|
function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody }
|
||||||
[+Default] function * ( FormalParameters[Yield] ) { GeneratorBody }
|
[+Default] function * ( FormalParameters[Yield] ) { GeneratorBody }
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(g().next().value, 23, 'generator function value is hoisted');
|
assert.sameValue(g().next().value, 23, 'generator function value is hoisted');
|
||||||
|
@ -43,6 +43,7 @@ info: |
|
|||||||
function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody }
|
function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody }
|
||||||
[+Default] function * ( FormalParameters[Yield] ) { GeneratorBody }
|
[+Default] function * ( FormalParameters[Yield] ) { GeneratorBody }
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(g().next().value, 23, 'generator function value is hoisted');
|
assert.sameValue(g().next().value, 23, 'generator function value is hoisted');
|
||||||
|
@ -40,6 +40,7 @@ info: |
|
|||||||
and N2 as its target binding and record that the binding is initialized.
|
and N2 as its target binding and record that the binding is initialized.
|
||||||
6. Return NormalCompletion(empty).
|
6. Return NormalCompletion(empty).
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(
|
assert.sameValue(
|
||||||
|
@ -14,6 +14,7 @@ info: |
|
|||||||
1. Let env be a new Lexical Environment.
|
1. Let env be a new Lexical Environment.
|
||||||
[...]
|
[...]
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
import './instn-uniq-env-rec-other_FIXTURE.js'
|
import './instn-uniq-env-rec-other_FIXTURE.js'
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -18,6 +18,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -19,6 +19,7 @@ negative:
|
|||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
flags: [module]
|
flags: [module]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -14,6 +14,7 @@ info: >
|
|||||||
6. If hasNameProperty is false, then perform SetFunctionName(value,
|
6. If hasNameProperty is false, then perform SetFunctionName(value,
|
||||||
className).
|
className).
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
class A {
|
class A {
|
||||||
|
@ -26,7 +26,7 @@ info: |
|
|||||||
2. If HasInitializer of FormalsList is true or HasInitializer of
|
2. If HasInitializer of FormalsList is true or HasInitializer of
|
||||||
FormalParameter is true, return count.
|
FormalParameter is true, return count.
|
||||||
3. Return count+1.
|
3. Return count+1.
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
description: Referencing the arguments object from a default parameter (class expression method)
|
description: Referencing the arguments object from a default parameter (class expression method)
|
||||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||||
es6id: 14.5.16
|
es6id: 14.5.16
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
info: |
|
info: |
|
||||||
ClassDeclaration : class BindingIdentifier ClassTail
|
ClassDeclaration : class BindingIdentifier ClassTail
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
description: Referencing the arguments object from a default parameter (class expression method)
|
description: Referencing the arguments object from a default parameter (class expression method)
|
||||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||||
es6id: 14.5.16
|
es6id: 14.5.16
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
info: |
|
info: |
|
||||||
ClassDeclaration : class BindingIdentifier ClassTail
|
ClassDeclaration : class BindingIdentifier ClassTail
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
description: Referencing the arguments object from a default parameter (static class expression generator method)
|
description: Referencing the arguments object from a default parameter (static class expression generator method)
|
||||||
esid: sec-runtime-semantics-bindingclassdeclarationevaluation
|
esid: sec-runtime-semantics-bindingclassdeclarationevaluation
|
||||||
es6id: 14.5.15
|
es6id: 14.5.15
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
info: |
|
info: |
|
||||||
ClassDeclaration : class BindingIdentifier ClassTail
|
ClassDeclaration : class BindingIdentifier ClassTail
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
description: Referencing the arguments object from a default parameter (static class expression generator method)
|
description: Referencing the arguments object from a default parameter (static class expression generator method)
|
||||||
esid: sec-runtime-semantics-bindingclassdeclarationevaluation
|
esid: sec-runtime-semantics-bindingclassdeclarationevaluation
|
||||||
es6id: 14.5.15
|
es6id: 14.5.15
|
||||||
features: [default-parameters]
|
features: [generators, default-parameters]
|
||||||
info: |
|
info: |
|
||||||
ClassDeclaration : class BindingIdentifier ClassTail
|
ClassDeclaration : class BindingIdentifier ClassTail
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ info: |
|
|||||||
d. Set the VariableEnvironment of calleeContext to varEnv.
|
d. Set the VariableEnvironment of calleeContext to varEnv.
|
||||||
e. Let instantiatedVarNames be a new empty List.
|
e. Let instantiatedVarNames be a new empty List.
|
||||||
[...]
|
[...]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var probe;
|
var probe;
|
||||||
|
@ -18,6 +18,7 @@ info: |
|
|||||||
d. Set the VariableEnvironment of calleeContext to varEnv.
|
d. Set the VariableEnvironment of calleeContext to varEnv.
|
||||||
e. Let instantiatedVarNames be a new empty List.
|
e. Let instantiatedVarNames be a new empty List.
|
||||||
[...]
|
[...]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 'outside';
|
var x = 'outside';
|
||||||
|
@ -17,6 +17,7 @@ info: |
|
|||||||
d. Set the VariableEnvironment of calleeContext to varEnv.
|
d. Set the VariableEnvironment of calleeContext to varEnv.
|
||||||
e. Let instantiatedVarNames be a new empty List.
|
e. Let instantiatedVarNames be a new empty List.
|
||||||
[...]
|
[...]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var probe;
|
var probe;
|
||||||
|
@ -18,6 +18,7 @@ info: |
|
|||||||
d. Set the VariableEnvironment of calleeContext to varEnv.
|
d. Set the VariableEnvironment of calleeContext to varEnv.
|
||||||
e. Let instantiatedVarNames be a new empty List.
|
e. Let instantiatedVarNames be a new empty List.
|
||||||
[...]
|
[...]
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 'outside';
|
var x = 'outside';
|
||||||
|
@ -6,6 +6,7 @@ description: >
|
|||||||
Runtime Semantics: ClassDefinitionEvaluation
|
Runtime Semantics: ClassDefinitionEvaluation
|
||||||
|
|
||||||
If superclass has a [[FunctionKind]] internal slot whose value is "generator", throw a TypeError exception.
|
If superclass has a [[FunctionKind]] internal slot whose value is "generator", throw a TypeError exception.
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
function * G() {}
|
function * G() {}
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ description: >
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -12,6 +12,7 @@ description: >
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ es6id: 13.7.2
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ es6id: 13.7.5
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ es6id: 13.7.5
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
es6id: 13.6.4.13
|
es6id: 13.6.4.13
|
||||||
description: >
|
description: >
|
||||||
Nested statements should operate independently.
|
Nested statements should operate independently.
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function* values() {
|
function* values() {
|
||||||
|
@ -7,6 +7,7 @@ es6id: 13.7.4
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ es6id: 13.6
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ es6id: 13.6
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ es6id: 13.6
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ es6id: 13.6
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ es6id: 13.13
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -14,6 +14,7 @@ info: >
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -7,6 +7,7 @@ es6id: 13.7.3
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -8,6 +8,7 @@ flags: [noStrict]
|
|||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
features: [generators]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user