mirror of https://github.com/tc39/test262.git
Promise.any: lint fixes
This commit is contained in:
parent
d53f45db3d
commit
22be03d833
|
@ -17,7 +17,7 @@ info: |
|
|||
...
|
||||
|
||||
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 {
|
||||
|
|
|
@ -6,7 +6,6 @@ description: >
|
|||
Explicit iterator closing in response to error
|
||||
esid: sec-promise.any
|
||||
info: |
|
||||
|
||||
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
|
||||
6. If result is an abrupt completion, then
|
||||
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
description: Promise rejection in response to error
|
||||
esid: sec-promise.any
|
||||
info: |
|
||||
|
||||
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
|
||||
6. If result is an abrupt completion, then
|
||||
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).
|
||||
|
|
|
@ -6,7 +6,6 @@ description: >
|
|||
Error retrieving the constructor's `resolve` method not opening iterator
|
||||
esid: sec-promise.any
|
||||
info: |
|
||||
|
||||
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
|
||||
6. If result is an abrupt completion, then
|
||||
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).
|
||||
|
|
|
@ -6,7 +6,6 @@ description: >
|
|||
Error retrieving the constructor's `resolve` method (rejecting promise)
|
||||
esid: sec-promise.any
|
||||
info: |
|
||||
|
||||
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
|
||||
6. If result is an abrupt completion, then
|
||||
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).
|
||||
|
|
|
@ -6,7 +6,6 @@ description: >
|
|||
Gets constructor's `resolve` method once from zero to many invocations.
|
||||
esid: sec-promise.any
|
||||
info: |
|
||||
|
||||
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
|
||||
6. If result is an abrupt completion, then
|
||||
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).
|
||||
|
|
|
@ -6,7 +6,6 @@ description: >
|
|||
Gets constructor's `resolve` method once from zero to many invocations.
|
||||
esid: sec-promise.any
|
||||
info: |
|
||||
|
||||
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
|
||||
6. If result is an abrupt completion, then
|
||||
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).
|
||||
|
|
|
@ -5,7 +5,6 @@ description: >
|
|||
Error thrown when invoking the instance's `then` method (closing iterator)
|
||||
esid: sec-promise.any
|
||||
info: |
|
||||
|
||||
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
|
||||
6. If result is an abrupt completion, then
|
||||
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).
|
||||
|
|
|
@ -6,7 +6,6 @@ description: >
|
|||
Error thrown when invoking the instance's `then` method (rejecting Promise)
|
||||
esid: sec-promise.any
|
||||
info: |
|
||||
|
||||
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
|
||||
6. If result is an abrupt completion, then
|
||||
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).
|
||||
|
|
|
@ -5,7 +5,6 @@ description: >
|
|||
Error thrown when accesing the instance's `then` method (closing iterator)
|
||||
esid: sec-promise.any
|
||||
info: |
|
||||
|
||||
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
|
||||
6. If result is an abrupt completion, then
|
||||
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).
|
||||
|
|
|
@ -5,7 +5,6 @@ description: >
|
|||
Error thrown when accessing the instance's `then` method (rejecting Promise)
|
||||
esid: sec-promise.any
|
||||
info: |
|
||||
|
||||
5. Let result be PerformPromiseAny(iteratorRecord, C, promiseCapability).
|
||||
6. If result is an abrupt completion, then
|
||||
a. If iteratorRecord.[[Done]] is false, set result to IteratorClose(iteratorRecord, result).
|
||||
|
|
Loading…
Reference in New Issue