Promise.any: feature flags

This commit is contained in:
Rick Waldron 2020-03-24 12:10:16 -04:00
parent 5d3eafc547
commit 1c748507f2
28 changed files with 28 additions and 28 deletions

View File

@ -17,7 +17,7 @@ info: |
...
flags: [async]
features: [Promise.any, Symbol.species]
features: [Promise.any, Symbol.species, class, class-static-method, computed-property-names, Symbol, arrow-function]
---*/
class C extends Promise {

View File

@ -17,7 +17,7 @@ info: |
...
flags: [async]
features: [Promise.any, Symbol.species]
features: [Promise.any, Symbol.species, Symbol, arrow-function]
---*/
Object.defineProperty(Promise, Symbol.species, {

View File

@ -14,7 +14,7 @@ info: |
7. If ! IsCallable(promiseResolve) is false, throw a TypeError exception.
flags: [async]
features: [Promise.any]
features: [Promise.any, arrow-function]
---*/
Promise.resolve = null;

View File

@ -15,7 +15,7 @@ info: |
i. Let nextPromise be ? Call(promiseResolve, constructor, « nextValue »).
flags: [async]
features: [Promise.any]
features: [Promise.any, class, arrow-function]
---*/
class Custom extends Promise {}

View File

@ -15,7 +15,7 @@ info: |
i. Let nextPromise be ? Call(promiseResolve, constructor, « nextValue »).
flags: [async]
features: [Promise.any]
features: [Promise.any, arrow-function]
---*/
let values = [1,1,1];

View File

@ -15,7 +15,7 @@ info: |
i. Let nextPromise be ? Call(promiseResolve, constructor, « nextValue »).
flags: [async]
features: [Promise.any]
features: [Promise.any, class, arrow-function]
---*/
class Custom extends Promise {}

View File

@ -15,7 +15,7 @@ info: |
i. Let nextPromise be ? Call(promiseResolve, constructor, « nextValue »).
flags: [async]
features: [Promise.any]
features: [Promise.any, arrow-function]
---*/
let values = [1, 2, 3];

View File

@ -17,7 +17,7 @@ info: |
r. Perform ? Invoke(nextPromise, "then", « resultCapability.[[Resolve]], rejectElement »).
flags: [async]
features: [Promise.any]
features: [Promise.any, arrow-function]
---*/
let boundPromiseResolve = Promise.resolve.bind(Promise);

View File

@ -16,7 +16,7 @@ info: |
r. Perform ? Invoke(nextPromise, "then", « resultCapability.[[Resolve]], rejectElement »).
flags: [async]
features: [Promise.any]
features: [Promise.any, arrow-function]
---*/
let promises = [

View File

@ -16,7 +16,7 @@ info: |
r. Perform ? Invoke(nextPromise, "then", « resultCapability.[[Resolve]], rejectElement »).
flags: [async]
features: [Promise.any]
features: [Promise.any, arrow-function]
---*/
let promise = new Promise(() => {});

View File

@ -25,7 +25,7 @@ info: |
...
flags: [async]
features: [AggregateError, Promise.any]
features: [AggregateError, Promise.any, arrow-function]
---*/
Promise.any([])

View File

@ -24,7 +24,7 @@ info: |
3. Return ThrowCompletion(error).
...
features: [AggregateError, Promise.any]
features: [AggregateError, Promise.any, arrow-function]
flags: [async]
---*/

View File

@ -19,7 +19,7 @@ info: |
...
Let iterator be ? Call(method, obj).
...
features: [Promise.any]
features: [Promise.any, Symbol, Symbol.iterator, arrow-function]
flags: [async]
---*/

View File

@ -20,7 +20,7 @@ info: |
Let iterator be ? Call(method, obj).
If Type(iterator) is not Object, throw a TypeError exception.
...
features: [Promise.any]
features: [Promise.any, arrow-function]
flags: [async]
---*/

View File

@ -35,7 +35,7 @@ info: |
Call ( F, V [ , argumentsList ] )
2. If IsCallable(F) is false, throw a TypeError exception.
features: [Promise.any, Symbol.iterator]
features: [Promise.any, Symbol.iterator, Symbol, computed-property-names]
flags: [async]
---*/

View File

@ -33,7 +33,7 @@ info: |
Call ( F, V [ , argumentsList ] )
2. If IsCallable(F) is false, throw a TypeError exception.
features: [Promise.any, Symbol.iterator]
features: [Promise.any, Symbol.iterator, Symbol, computed-property-names]
flags: [async]
---*/

View File

@ -33,7 +33,7 @@ info: |
Call ( F, V [ , argumentsList ] )
2. If IsCallable(F) is false, throw a TypeError exception.
features: [Promise.any, Symbol.iterator]
features: [Promise.any, Symbol.iterator, Symbol, computed-property-names]
flags: [async]
---*/

View File

@ -33,7 +33,7 @@ info: |
Call ( F, V [ , argumentsList ] )
2. If IsCallable(F) is false, throw a TypeError exception.
features: [Promise.any, Symbol.iterator]
features: [Promise.any, Symbol.iterator, Symbol, computed-property-names]
flags: [async]
---*/

View File

@ -33,7 +33,7 @@ info: |
Call ( F, V [ , argumentsList ] )
2. If IsCallable(F) is false, throw a TypeError exception.
features: [Promise.any, Symbol, Symbol.iterator]
features: [Promise.any, Symbol, Symbol.iterator, computed-property-names]
flags: [async]
---*/

View File

@ -33,7 +33,7 @@ info: |
Call ( F, V [ , argumentsList ] )
2. If IsCallable(F) is false, throw a TypeError exception.
features: [Promise.any, Symbol.iterator]
features: [Promise.any, Symbol.iterator, Symbol, computed-property-names]
flags: [async]
---*/

View File

@ -33,7 +33,7 @@ info: |
Call ( F, V [ , argumentsList ] )
2. If IsCallable(F) is false, throw a TypeError exception.
features: [Promise.any, Symbol.iterator]
features: [Promise.any, Symbol.iterator, Symbol, computed-property-names]
flags: [async]
---*/

View File

@ -21,7 +21,7 @@ info: |
c. ReturnIfAbrupt(next).
flags: [async]
features: [Promise.any, Symbol.iterator]
features: [Promise.any, Symbol.iterator, computed-property-names, Symbol, arrow-function]
---*/
let returnCount = 0;

View File

@ -21,7 +21,7 @@ info: |
c. ReturnIfAbrupt(next).
flags: [async]
features: [Promise.any, Symbol.iterator]
features: [Promise.any, Symbol.iterator, computed-property-names, Symbol, arrow-function]
---*/
let poisonedDone = {};

View File

@ -6,7 +6,7 @@ esid: sec-promise.any
description: >
Promise.any rejection reasons from various rejections are all present
flags: [async]
features: [Promise.any]
features: [Promise.any, arrow-function]
---*/
let rejections = [

View File

@ -10,7 +10,7 @@ info: |
flags: [async]
features: [AggregateError, Promise.any]
features: [AggregateError, Promise.any, arrow-function]
---*/
var rejection = {};

View File

@ -16,7 +16,7 @@ info: |
r. Perform ? Invoke(nextPromise, "then", « resultCapability.[[Resolve]], rejectElement »).
flags: [async]
features: [Promise.any]
features: [Promise.any, arrow-function]
---*/
var resolver = {

View File

@ -16,7 +16,7 @@ info: |
r. Perform ? Invoke(nextPromise, "then", « resultCapability.[[Resolve]], rejectElement »).
flags: [async]
features: [Promise.any]
features: [Promise.any, arrow-function]
---*/
var resolver = {

View File

@ -6,7 +6,7 @@ esid: sec-promise.any
description: >
Promise.any resolves with the first item that does not reject.
flags: [async]
features: [Promise.any]
features: [Promise.any, arrow-function]
---*/
let fulfillables = [