Add feature flags for various tests

This commit is contained in:
Daniel Ehrenberg 2017-04-05 21:04:35 +02:00 committed by Leo Balter
parent 2878106ca0
commit 6330eccfc4
No known key found for this signature in database
GPG Key ID: 2C75F319D398E36B
45 changed files with 45 additions and 0 deletions

View File

@ -15,6 +15,7 @@ info: |
4. Let excludedNames be a new empty List. 4. Let excludedNames be a new empty List.
5. Return CopyDataProperties(object, fromValue, excludedNames). 5. Return CopyDataProperties(object, fromValue, excludedNames).
features: [object-spread]
---*/ ---*/
//- error //- error

View File

@ -4,6 +4,7 @@
desc: Object Spread operator results in error when using an unresolvable reference desc: Object Spread operator results in error when using an unresolvable reference
template: error template: error
esid: pending esid: pending
features: [object-spread]
info: | info: |
Pending Runtime Semantics: PropertyDefinitionEvaluation Pending Runtime Semantics: PropertyDefinitionEvaluation

View File

@ -10,6 +10,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*(x = 1) {"use strict"}); (async function*(x = 1) {"use strict"});

View File

@ -10,6 +10,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [onlyStrict] flags: [onlyStrict]
features: [async-iteration]
---*/ ---*/
(async function*(arguments) { }); (async function*(arguments) { });

View File

@ -9,6 +9,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function* await() { }); (async function* await() { });

View File

@ -11,6 +11,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [onlyStrict] flags: [onlyStrict]
features: [async-iteration]
---*/ ---*/
(async function* arguments() { }); (async function* arguments() { });

View File

@ -11,6 +11,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [onlyStrict] flags: [onlyStrict]
features: [async-iteration]
---*/ ---*/
(async function* eval() { }); (async function* eval() { });

View File

@ -9,6 +9,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*() { super(); }); (async function*() { super(); });

View File

@ -9,6 +9,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*() { super.prop; }); (async function*() { super.prop; });

View File

@ -10,6 +10,7 @@ negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
flags: [onlyStrict] flags: [onlyStrict]
features: [async-iteration]
---*/ ---*/
(async function*(eval) { }); (async function*(eval) { });

View File

@ -10,6 +10,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*(a) { const a = 0; }); (async function*(a) { const a = 0; });

View File

@ -10,6 +10,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*(a) { let a; }); (async function*(a) { let a; });

View File

@ -9,6 +9,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*(x = await 1) { }); (async function*(x = await 1) { });

View File

@ -10,6 +10,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*(await) { }); (async function*(await) { });

View File

@ -9,6 +9,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*(a = super()) { }); (async function*(a = super()) { });

View File

@ -9,6 +9,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*(a = super.prop) { }); (async function*(a = super.prop) { });

View File

@ -9,6 +9,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*(x = yield) { }); (async function*(x = yield) { });

View File

@ -10,6 +10,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*(yield) { }); (async function*(yield) { });

View File

@ -10,6 +10,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*() { (async function*() {

View File

@ -10,6 +10,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*() { (async function*() {

View File

@ -9,6 +9,7 @@ description: >
negative: negative:
phase: early phase: early
type: ReferenceError type: ReferenceError
features: [async-iteration]
---*/ ---*/
(async function*() { } = 1); (async function*() { } = 1);

View File

@ -9,6 +9,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function* yield() { }); (async function* yield() { });

View File

@ -9,6 +9,7 @@ description: >
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError
features: [async-iteration]
---*/ ---*/
(async function*() { (async function*() {

View File

@ -7,6 +7,7 @@ esid: 14.4
description: > description: >
AwaitExpressions are valid operands to yield expressions. AwaitExpressions are valid operands to yield expressions.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var iter = (async function*() { var iter = (async function*() {

View File

@ -7,6 +7,7 @@ esid: 14.4
description: > description: >
AwaitExpressions are valid operands to yield expressions. AwaitExpressions are valid operands to yield expressions.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var iter = (async function*() { var iter = (async function*() {

View File

@ -7,6 +7,7 @@ esid: 14.4
description: > description: >
AwaitExpressions are valid operands to yield expressions. AwaitExpressions are valid operands to yield expressions.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var thenable = { var thenable = {

View File

@ -8,6 +8,7 @@ description: >
`yield` expressions may be used as the right-hand-side of other `yield` `yield` expressions may be used as the right-hand-side of other `yield`
expressions. expressions.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() { var g = async function*() {

View File

@ -7,6 +7,7 @@ esid: 14.4
description: > description: >
`yield` is a valid statement within async generator function bodies. `yield` is a valid statement within async generator function bodies.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g1 = async function*() { yield; }; var g1 = async function*() { yield; };

View File

@ -7,6 +7,7 @@ esid: 14.4
description: > description: >
Newlines terminate `yield` expressions. Newlines terminate `yield` expressions.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() { var g = async function*() {

View File

@ -7,6 +7,7 @@ esid: 14.4
description: > description: >
The right-hand side of a `yield *` expression may appear on a new line. The right-hand side of a `yield *` expression may appear on a new line.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() {}; var g = async function*() {};

View File

@ -14,6 +14,7 @@ info: |
AsyncGeneratorResolve will unwrap Promise values (steps 6-10) AsyncGeneratorResolve will unwrap Promise values (steps 6-10)
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() { var g = async function*() {

View File

@ -12,6 +12,7 @@ info: |
If completion.[[Type]] is return, and generator.[[AsyncGeneratorState]] is If completion.[[Type]] is return, and generator.[[AsyncGeneratorState]] is
"suspendedStart", generator is closed without being resumed. "suspendedStart", generator is closed without being resumed.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() { var g = async function*() {

View File

@ -13,6 +13,7 @@ info: |
"suspendedYield", generator is resumed and immediately closes the generator "suspendedYield", generator is resumed and immediately closes the generator
and returns completion. and returns completion.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() { var g = async function*() {

View File

@ -13,6 +13,7 @@ info: |
"suspendedYield", and generator is resumed within a try-block with an "suspendedYield", and generator is resumed within a try-block with an
associated finally block, resume execution within finally. associated finally block, resume execution within finally.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() { var g = async function*() {

View File

@ -14,6 +14,7 @@ info: |
"suspendedYield", and generator is resumed within a try-block with an "suspendedYield", and generator is resumed within a try-block with an
associated finally block, resume execution within finally. associated finally block, resume execution within finally.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var error = new Error("boop"); var error = new Error("boop");

View File

@ -13,6 +13,7 @@ info: |
"suspendedYield", and generator is resumed within a try-block with an "suspendedYield", and generator is resumed within a try-block with an
associated finally block, resume execution within finally. associated finally block, resume execution within finally.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() { var g = async function*() {

View File

@ -13,6 +13,7 @@ info: |
"suspendedYield", generator is resumed and immediately closes the generator "suspendedYield", generator is resumed and immediately closes the generator
and returns completion. and returns completion.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() { var g = async function*() {

View File

@ -14,6 +14,7 @@ info: |
AsyncGeneratorReject will not unwrap Promise values AsyncGeneratorReject will not unwrap Promise values
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() { var g = async function*() {

View File

@ -12,6 +12,7 @@ info: |
If completion.[[Type]] is throw, and generator.[[AsyncGeneratorState]] is If completion.[[Type]] is throw, and generator.[[AsyncGeneratorState]] is
"suspendedStart", generator is closed without being resumed. "suspendedStart", generator is closed without being resumed.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var error = new Error('boop'); var error = new Error('boop');

View File

@ -14,6 +14,7 @@ info: |
AsyncGeneratorReject will not unwrap Promise values AsyncGeneratorReject will not unwrap Promise values
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var g = async function*() { var g = async function*() {

View File

@ -13,6 +13,7 @@ info: |
"suspendedYield", and generator is resumed within a try-block with an "suspendedYield", and generator is resumed within a try-block with an
associated catch block, resume execution within catch-block. associated catch block, resume execution within catch-block.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var error = new Error('boop'); var error = new Error('boop');

View File

@ -13,6 +13,7 @@ info: |
"suspendedYield", and generator is resumed within a try-block with an "suspendedYield", and generator is resumed within a try-block with an
associated finally block, resume execution within finally. associated finally block, resume execution within finally.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
class Err extends Error {}; class Err extends Error {};

View File

@ -14,6 +14,7 @@ info: |
"suspendedYield", and generator is resumed within a try-block with an "suspendedYield", and generator is resumed within a try-block with an
associated finally block, resume execution within finally. associated finally block, resume execution within finally.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var error = new Error('boop'); var error = new Error('boop');

View File

@ -13,6 +13,7 @@ info: |
"suspendedYield", and generator is resumed within a try-block with an "suspendedYield", and generator is resumed within a try-block with an
associated finally block, resume execution within finally. associated finally block, resume execution within finally.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var error = new Error('boop'); var error = new Error('boop');

View File

@ -12,6 +12,7 @@ info: |
"suspendedYield", generator is resumed and immediately and "suspendedYield", generator is resumed and immediately and
closes the generator and returns completion. closes the generator and returns completion.
flags: [async] flags: [async]
features: [async-iteration]
---*/ ---*/
var error = new Error('boop'); var error = new Error('boop');