From d53f45db3d3bc71b3b46319c6a03d39fa4747ee5 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Wed, 25 Mar 2020 12:25:56 -0400 Subject: [PATCH] Promise.any: remove unnecessary static resolve def --- .../Promise/any/does-not-perform-species-get-of-custom.js | 3 --- 1 file changed, 3 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 fe112b30ae..c768c790e1 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 @@ -24,9 +24,6 @@ class Custom extends Promise { static get [Symbol.species]() { throw new Test262Error('Erroneous Get(C, @@species) via SpeciesConstructor() occurred.'); } - static resolve() { - throw new Test262Error('Custom.resolve was reached'); - } } Promise.any.call(Custom, [1]).then(() => $DONE(), $DONE);