mirror of
https://github.com/tc39/test262.git
synced 2025-07-31 01:44:54 +02:00
Promise.any: lint fixes
This commit is contained in:
parent
d53f45db3d
commit
22be03d833
@ -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 {
|
||||||
|
@ -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).
|
||||||
|
@ -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).
|
||||||
|
@ -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).
|
||||||
|
@ -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).
|
||||||
|
@ -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).
|
||||||
|
@ -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).
|
||||||
|
@ -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).
|
||||||
|
@ -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).
|
||||||
|
@ -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).
|
||||||
|
@ -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).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user