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.
5. Return CopyDataProperties(object, fromValue, excludedNames).
features: [object-spread]
---*/
//- error

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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