test262/test/built-ins/Promise
Mike Pennisi c44cee291a Assert array equivalency
The `compareArray` utility function returns a boolean value describing
whether or not the input arrays are equivalent--it does not throw an
exception when invoked with non-equivalent arrays. Prior to this commit,
however, two tests invoked `compareArray` without inspecting its return
value, so it had no impact on the result of the test.

Update the tests to fail when the "expected" and "actual" arrays are not
equivalent.
2021-10-04 15:38:08 -04:00
..
Symbol.species
all Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
allSettled chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise (#3091) 2021-07-21 12:48:13 -07:00
any chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise (#3091) 2021-07-21 12:48:13 -07:00
prototype Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
race Assert array equivalency 2021-10-04 15:38:08 -04:00
reject Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
resolve Transform legacy format to harness assertions: test/built-ins/P*/**/*.js 2021-09-02 11:34:18 -07:00
constructor.js Improve Promise constructor coverage (#2158) 2019-05-22 17:33:09 -04:00
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 Improve Promise constructor coverage (#2158) 2019-05-22 17:33:09 -04:00
executor-call-context-strict.js Improve Promise constructor coverage (#2158) 2019-05-22 17:33:09 -04:00
executor-function-extensible.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
executor-function-length.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
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 built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
executor-not-callable.js Improve Promise constructor coverage (#2158) 2019-05-22 17:33:09 -04:00
get-prototype-abrupt-executor-not-callable.js Improve Promise constructor coverage (#2158) 2019-05-22 17:33:09 -04:00
get-prototype-abrupt.js Fix description of Promise constructor test (#2174) 2019-05-22 17:57:45 -04:00
is-a-constructor.js Standardize built-in constructor testing 2020-10-06 12:01:34 -04:00
length.js
name.js
promise.js Improve Promise constructor coverage (#2158) 2019-05-22 17:33:09 -04:00
property-order.js Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
proto-from-ctor-realm.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
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 built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
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 built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-ignored-via-fn-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-ignored-via-fn-immed.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-via-abrupt-queue.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-via-abrupt.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-via-fn-deferred-queue.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-via-fn-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-via-fn-immed-queue.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
reject-via-fn-immed.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
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 built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
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 Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
resolve-ignored-via-fn-immed.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
resolve-non-obj-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-non-obj-immed.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-non-thenable-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-non-thenable-immed.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-poisoned-then-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-poisoned-then-immed.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-prms-cstm-then-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-prms-cstm-then-immed.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-deferred.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
resolve-thenable-immed.js built-ins/Promise/*: make all indentation consistent (depth & character) (#1433) 2018-02-15 15:11:21 -05:00
undefined-newtarget.js Improve Promise constructor coverage (#2158) 2019-05-22 17:33:09 -04:00