Promise.any: lint fixes

This commit is contained in:
Rick Waldron 2020-03-27 21:00:29 -04:00
parent d53f45db3d
commit 22be03d833
11 changed files with 1 additions and 11 deletions

View File

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

View File

@ -6,7 +6,6 @@ description: >
Explicit iterator closing in response to error Explicit iterator closing in response to error
esid: sec-promise.any esid: sec-promise.any
info: | info: |
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability). 5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
6. If result is an abrupt completion, then 6. If result is an abrupt completion, then
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result). a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).

View File

@ -5,7 +5,6 @@
description: Promise rejection in response to error description: Promise rejection in response to error
esid: sec-promise.any esid: sec-promise.any
info: | info: |
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability). 5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
6. If result is an abrupt completion, then 6. If result is an abrupt completion, then
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result). a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).

View File

@ -6,7 +6,6 @@ description: >
Error retrieving the constructor's `resolve` method not opening iterator Error retrieving the constructor's `resolve` method not opening iterator
esid: sec-promise.any esid: sec-promise.any
info: | info: |
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability). 5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
6. If result is an abrupt completion, then 6. If result is an abrupt completion, then
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result). a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).

View File

@ -6,7 +6,6 @@ description: >
Error retrieving the constructor's `resolve` method (rejecting promise) Error retrieving the constructor's `resolve` method (rejecting promise)
esid: sec-promise.any esid: sec-promise.any
info: | info: |
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability). 5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
6. If result is an abrupt completion, then 6. If result is an abrupt completion, then
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result). a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).

View File

@ -6,7 +6,6 @@ description: >
Gets constructor's `resolve` method once from zero to many invocations. Gets constructor's `resolve` method once from zero to many invocations.
esid: sec-promise.any esid: sec-promise.any
info: | info: |
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability). 5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
6. If result is an abrupt completion, then 6. If result is an abrupt completion, then
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result). a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).

View File

@ -6,7 +6,6 @@ description: >
Gets constructor's `resolve` method once from zero to many invocations. Gets constructor's `resolve` method once from zero to many invocations.
esid: sec-promise.any esid: sec-promise.any
info: | info: |
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability). 5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
6. If result is an abrupt completion, then 6. If result is an abrupt completion, then
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result). a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).

View File

@ -5,7 +5,6 @@ description: >
Error thrown when invoking the instance's `then` method (closing iterator) Error thrown when invoking the instance's `then` method (closing iterator)
esid: sec-promise.any esid: sec-promise.any
info: | info: |
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability). 5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
6. If result is an abrupt completion, then 6. If result is an abrupt completion, then
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result). a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).

View File

@ -6,7 +6,6 @@ description: >
Error thrown when invoking the instance's `then` method (rejecting Promise) Error thrown when invoking the instance's `then` method (rejecting Promise)
esid: sec-promise.any esid: sec-promise.any
info: | info: |
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability). 5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
6. If result is an abrupt completion, then 6. If result is an abrupt completion, then
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result). a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).

View File

@ -5,7 +5,6 @@ description: >
Error thrown when accesing the instance's `then` method (closing iterator) Error thrown when accesing the instance's `then` method (closing iterator)
esid: sec-promise.any esid: sec-promise.any
info: | info: |
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability). 5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
6. If result is an abrupt completion, then 6. If result is an abrupt completion, then
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result). a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).

View File

@ -5,7 +5,6 @@ description: >
Error thrown when accessing the instance's `then` method (rejecting Promise) Error thrown when accessing the instance's `then` method (rejecting Promise)
esid: sec-promise.any esid: sec-promise.any
info: | info: |
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability). 5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
6. If result is an abrupt completion, then 6. If result is an abrupt completion, then
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result). a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).