test262/test/built-ins/Promise/race
Mike Pennisi 9b622bf093 Remove or relocate misleading tests
These tests were designed to test the built-in "Promise.race Resolve
Element function," but ECMA262 does not describe such a function.

Contrary to the test's description, the function under test is created
by the InstantiateArrowFunctionExpression abstract operation. The
following tests verify most of the details directly (only the function
object's extensibility was not already tested by the existing tests):

- test/language/expressions/arrow-function/name.js
- test/language/expressions/arrow-function/throw-new.js
- test/language/expressions/arrow-function/prototype-rules.js

The definition of the built-in resolving functions is closely related,
but Test262 already includes tests for the corresponding concerns:

- test/built-ins/Promise/resolve-function-extensible.js
- test/built-ins/Promise/resolve-function-name.js
- test/built-ins/Promise/resolve-function-nonconstructor.js
- test/built-ins/Promise/resolve-function-prototype.js

Remove the tests and introduce one additional test to preserve coverage
while improving discoverability.
2021-05-11 17:36:28 -04:00
..
S25.4.4.3_A1.1_T1.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A2.1_T1.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A2.2_T1.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A2.2_T2.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A2.2_T3.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A3.1_T1.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A3.1_T2.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A4.1_T1.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A4.1_T2.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A5.1_T1.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A6.1_T1.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
S25.4.4.3_A6.2_T1.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
S25.4.4.3_A7.1_T1.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
S25.4.4.3_A7.1_T2.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
S25.4.4.3_A7.1_T3.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
S25.4.4.3_A7.2_T1.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
S25.4.4.3_A7.3_T1.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
S25.4.4.3_A7.3_T2.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
capability-executor-called-twice.js Fix tests for new resolve lookup 2019-04-24 17:28:01 -04:00
capability-executor-not-callable.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
ctx-ctor-throws.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
ctx-ctor.js Add missing mandatory Promise.{all,race} argument 2018-11-08 09:37:56 +01:00
ctx-non-ctor.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
ctx-non-object.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
invoke-resolve-error-close.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
invoke-resolve-error-reject.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
invoke-resolve-get-error-reject.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
invoke-resolve-get-error.js Update Promise.race tests 2020-06-03 15:49:04 -04:00
invoke-resolve-get-once-multiple-calls.js Add tests for Promise.all|race resolve lookup 2019-04-24 17:28:01 -04:00
invoke-resolve-get-once-no-calls.js Add tests for Promise.all|race resolve lookup 2019-04-24 17:28:01 -04:00
invoke-resolve-on-promises-every-iteration-of-custom.js Promise: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
invoke-resolve-on-promises-every-iteration-of-promise.js Promise: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
invoke-resolve-on-values-every-iteration-of-promise.js Promise: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
invoke-resolve-return.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
invoke-resolve.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
invoke-then-error-close.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
invoke-then-error-reject.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
invoke-then-get-error-close.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
invoke-then-get-error-reject.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
invoke-then.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
iter-arg-is-false-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-arg-is-null-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-arg-is-number-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-arg-is-string-resolve.js Fix various test bugs (#1502) 2018-03-22 16:36:57 -04:00
iter-arg-is-symbol-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-arg-is-true-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-arg-is-undefined-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-false-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-null-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-number-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-string-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-symbol-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-true-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-assigned-undefined-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-next-val-err-no-close.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iter-next-val-err-reject.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iter-returns-false-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-null-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-number-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-string-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-symbol-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-true-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-returns-undefined-reject.js Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496) 2018-03-19 14:01:36 -04:00
iter-step-err-no-close.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iter-step-err-reject.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
length.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
name.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
not-a-constructor.js Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
prop-desc.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
reject-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-from-same-thenable.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
reject-ignored-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-ignored-immed.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
reject-immed.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
resolve-from-same-thenable.js Replace all "valid" occurences of $ERROR with Test262Error.thrower 2020-09-16 17:36:54 -04:00
resolve-ignores-late-rejection-deferred.js Promise.race: coverage updates (#2666) 2020-06-24 11:42:40 -07:00
resolve-ignores-late-rejection.js Promise.race: coverage updates (#2666) 2020-06-24 11:42:40 -07:00
resolve-non-callable.js Update Promise.race tests 2020-06-03 15:49:04 -04:00
resolve-non-obj.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
resolve-non-thenable.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
resolve-poisoned-then.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
resolve-prms-cstm-then.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-self.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-thenable.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
resolved-sequence-extra-ticks.js Promise.race: coverage updates (#2666) 2020-06-24 11:42:40 -07:00
resolved-sequence-mixed.js Promise.race: coverage updates (#2666) 2020-06-24 11:42:40 -07:00
resolved-sequence-with-rejections.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
resolved-sequence.js Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
resolved-then-catch-finally.js Promise.race: coverage updates (#2666) 2020-06-24 11:42:40 -07:00
same-reject-function.js Replace all "valid" occurences of $ERROR with Test262Error.thrower 2020-09-16 17:36:54 -04:00
same-resolve-function.js Replace all "valid" occurences of $ERROR with Test262Error.thrower 2020-09-16 17:36:54 -04:00
species-get-error.js Fix tests for new resolve lookup 2019-04-24 17:28:01 -04:00