From 22be03d83386617953b94764b1963be5b3740ce5 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Fri, 27 Mar 2020 21:00:29 -0400 Subject: [PATCH] Promise.any: lint fixes --- .../Promise/any/does-not-perform-species-get-of-custom.js | 2 +- test/built-ins/Promise/any/invoke-resolve-error-close.js | 1 - test/built-ins/Promise/any/invoke-resolve-error-reject.js | 1 - test/built-ins/Promise/any/invoke-resolve-get-error-close.js | 1 - test/built-ins/Promise/any/invoke-resolve-get-error-reject.js | 1 - .../Promise/any/invoke-resolve-get-once-multiple-calls.js | 1 - test/built-ins/Promise/any/invoke-resolve-get-once-no-calls.js | 1 - test/built-ins/Promise/any/invoke-then-error-close.js | 1 - test/built-ins/Promise/any/invoke-then-error-reject.js | 1 - test/built-ins/Promise/any/invoke-then-get-error-close.js | 1 - test/built-ins/Promise/any/invoke-then-get-error-reject.js | 1 - 11 files changed, 1 insertion(+), 11 deletions(-) diff --git a/test/built-ins/Promise/any/does-not-perform-species-get-of-custom.js b/test/built-ins/Promise/any/does-not-perform-species-get-of-custom.js index c768c790e1..cc96789191 100644 --- a/test/built-ins/Promise/any/does-not-perform-species-get-of-custom.js +++ b/test/built-ins/Promise/any/does-not-perform-species-get-of-custom.js @@ -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 { diff --git a/test/built-ins/Promise/any/invoke-resolve-error-close.js b/test/built-ins/Promise/any/invoke-resolve-error-close.js index a013b6c676..b9bae20cfd 100644 --- a/test/built-ins/Promise/any/invoke-resolve-error-close.js +++ b/test/built-ins/Promise/any/invoke-resolve-error-close.js @@ -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). diff --git a/test/built-ins/Promise/any/invoke-resolve-error-reject.js b/test/built-ins/Promise/any/invoke-resolve-error-reject.js index 7eb29d4f04..9d6c1afb98 100644 --- a/test/built-ins/Promise/any/invoke-resolve-error-reject.js +++ b/test/built-ins/Promise/any/invoke-resolve-error-reject.js @@ -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). diff --git a/test/built-ins/Promise/any/invoke-resolve-get-error-close.js b/test/built-ins/Promise/any/invoke-resolve-get-error-close.js index 87c2de53ce..86566d13b4 100644 --- a/test/built-ins/Promise/any/invoke-resolve-get-error-close.js +++ b/test/built-ins/Promise/any/invoke-resolve-get-error-close.js @@ -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). diff --git a/test/built-ins/Promise/any/invoke-resolve-get-error-reject.js b/test/built-ins/Promise/any/invoke-resolve-get-error-reject.js index 16a5e2dc19..c954c01045 100644 --- a/test/built-ins/Promise/any/invoke-resolve-get-error-reject.js +++ b/test/built-ins/Promise/any/invoke-resolve-get-error-reject.js @@ -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). diff --git a/test/built-ins/Promise/any/invoke-resolve-get-once-multiple-calls.js b/test/built-ins/Promise/any/invoke-resolve-get-once-multiple-calls.js index 971533f05d..d8a421f7d6 100644 --- a/test/built-ins/Promise/any/invoke-resolve-get-once-multiple-calls.js +++ b/test/built-ins/Promise/any/invoke-resolve-get-once-multiple-calls.js @@ -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). diff --git a/test/built-ins/Promise/any/invoke-resolve-get-once-no-calls.js b/test/built-ins/Promise/any/invoke-resolve-get-once-no-calls.js index 5b44a2a8bd..2b7aa1384f 100644 --- a/test/built-ins/Promise/any/invoke-resolve-get-once-no-calls.js +++ b/test/built-ins/Promise/any/invoke-resolve-get-once-no-calls.js @@ -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). diff --git a/test/built-ins/Promise/any/invoke-then-error-close.js b/test/built-ins/Promise/any/invoke-then-error-close.js index be88b73fdb..42d7e92b15 100644 --- a/test/built-ins/Promise/any/invoke-then-error-close.js +++ b/test/built-ins/Promise/any/invoke-then-error-close.js @@ -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). diff --git a/test/built-ins/Promise/any/invoke-then-error-reject.js b/test/built-ins/Promise/any/invoke-then-error-reject.js index f89cb0cb95..bfd8f11371 100644 --- a/test/built-ins/Promise/any/invoke-then-error-reject.js +++ b/test/built-ins/Promise/any/invoke-then-error-reject.js @@ -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). diff --git a/test/built-ins/Promise/any/invoke-then-get-error-close.js b/test/built-ins/Promise/any/invoke-then-get-error-close.js index e04e295068..b2d174cbf4 100644 --- a/test/built-ins/Promise/any/invoke-then-get-error-close.js +++ b/test/built-ins/Promise/any/invoke-then-get-error-close.js @@ -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). diff --git a/test/built-ins/Promise/any/invoke-then-get-error-reject.js b/test/built-ins/Promise/any/invoke-then-get-error-reject.js index 6036e6c9c9..b202898aec 100644 --- a/test/built-ins/Promise/any/invoke-then-get-error-reject.js +++ b/test/built-ins/Promise/any/invoke-then-get-error-reject.js @@ -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).