test262/test/built-ins/Promise
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
..
Symbol.species
all Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
allSettled Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
any Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
prototype Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
race Remove or relocate misleading tests 2021-05-11 17:36:28 -04:00
reject Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
resolve Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
constructor.js
create-resolving-functions-reject.js Clean up some existing constructor checks; eliminate duplicate checks 2020-10-06 12:01:34 -04:00
create-resolving-functions-resolve.js Clean up some existing constructor checks; eliminate duplicate checks 2020-10-06 12:01:34 -04:00
exception-after-resolve-in-executor.js
exception-after-resolve-in-thenable-job.js
exec-args.js
executor-call-context-sloppy.js
executor-call-context-strict.js
executor-function-extensible.js
executor-function-length.js
executor-function-name.js Assign "name" property to all anonymous functions (#2299) 2019-08-15 10:58:40 -04:00
executor-function-not-a-constructor.js Clean up some existing constructor checks; eliminate duplicate checks 2020-10-06 12:01:34 -04:00
executor-function-property-order.js Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
executor-function-prototype.js
executor-not-callable.js
get-prototype-abrupt-executor-not-callable.js
get-prototype-abrupt.js
is-a-constructor.js Standardize built-in constructor testing 2020-10-06 12:01:34 -04:00
length.js
name.js
promise.js
property-order.js Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
proto-from-ctor-realm.js
reject-function-extensible.js
reject-function-length.js
reject-function-name.js Assign "name" property to all anonymous functions (#2299) 2019-08-15 10:58:40 -04:00
reject-function-nonconstructor.js
reject-function-property-order.js Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
reject-function-prototype.js
reject-ignored-via-abrupt.js
reject-ignored-via-fn-deferred.js
reject-ignored-via-fn-immed.js
reject-via-abrupt-queue.js
reject-via-abrupt.js
reject-via-fn-deferred-queue.js
reject-via-fn-deferred.js
reject-via-fn-immed-queue.js
reject-via-fn-immed.js
resolve-function-extensible.js
resolve-function-length.js
resolve-function-name.js Assign "name" property to all anonymous functions (#2299) 2019-08-15 10:58:40 -04:00
resolve-function-nonconstructor.js
resolve-function-property-order.js Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
resolve-function-prototype.js
resolve-ignored-via-fn-deferred.js
resolve-ignored-via-fn-immed.js
resolve-non-obj-deferred.js
resolve-non-obj-immed.js
resolve-non-thenable-deferred.js
resolve-non-thenable-immed.js
resolve-poisoned-then-deferred.js
resolve-poisoned-then-immed.js
resolve-prms-cstm-then-deferred.js
resolve-prms-cstm-then-immed.js
resolve-self.js
resolve-thenable-deferred.js
resolve-thenable-immed.js
undefined-newtarget.js