140 Commits

Author SHA1 Message Date
jhnaldo
68205eb76c Fixed wrong esid and features in a Promise.all test 2020-04-18 13:26:27 -04:00
Rick Waldron
772fd320cd
Promise.any: remove erroneous SpeciesConstructor tests until a better solution can be found. (#2562) 2020-03-31 13:51:49 -07:00
Rick Waldron
299cd74ef2 Promise.any: fix "invoke-then.js" test 2020-03-30 13:57:03 -04:00
Rick Waldron
22be03d833 Promise.any: lint fixes 2020-03-27 21:00:29 -04:00
Rick Waldron
d53f45db3d Promise.any: remove unnecessary static resolve def 2020-03-25 12:25:56 -04:00
Rick Waldron
499b748dca Promise.any: review fixes, 2 2020-03-25 12:14:32 -04:00
Rick Waldron
b21b0c1820 Promise.any: additional "resolve from rejection" tests 2020-03-25 12:04:37 -04:00
Rick Waldron
a05fb94eba Promise.any: feature flags, 2 2020-03-25 12:04:37 -04:00
Rick Waldron
7fbce5a9d8 Promise.any: simplify promise creation 2020-03-25 12:04:37 -04:00
Rick Waldron
5c68b60ad3 Promise.any: cleanup in @@species tests 2020-03-25 12:04:37 -04:00
Rick Waldron
d9265df3ab Promise.any: additional then + resolve tests 2020-03-25 12:04:37 -04:00
Rick Waldron
1c748507f2 Promise.any: feature flags 2020-03-25 12:04:36 -04:00
Rick Waldron
5d3eafc547 Promise.any: review fixes 2020-03-25 12:04:36 -04:00
Rick Waldron
6edaba378e Promise.any: updates, corrections and new tests. 2020-03-25 12:04:36 -04:00
Rick Waldron
e0f0c7860b Promise.any: empty iterable rejects with AggregateError 2020-03-25 12:04:36 -04:00
Rick Waldron
272e9abed4 Promise.any: make async operation test actually async 2020-03-25 12:04:36 -04:00
Rick Waldron
47b3858978 Promise.any: expected rejection shouldn't end with error message. 2020-03-25 12:04:36 -04:00
Rick Waldron
55b22d8d9f Promise.any: string iterable should not be rejected (adds error message for clarity) 2020-03-25 12:04:36 -04:00
Rick Waldron
e0abeaa4df Promise.any: convert sync test to async test to ensure run to completion 2020-03-25 12:04:36 -04:00
chicoxyzzy
860e02ad28 add iter-assigned tests 2020-03-25 12:04:36 -04:00
chicoxyzzy
9567abd85a Add iter-arg tests 2020-03-25 12:04:36 -04:00
chicoxyzzy
094ddc7f75 add species-get-error test 2020-03-25 12:04:36 -04:00
chicoxyzzy
e3d48f244a add Invocation of the instance's then method test 2020-03-25 12:04:35 -04:00
chicoxyzzy
afe3f0bb50 add reject-immed test 2020-03-25 12:04:35 -04:00
chicoxyzzy
adcd162c10 add is callable test 2020-03-25 12:04:35 -04:00
chicoxyzzy
88d058b59e Add returns promise test 2020-03-25 12:04:35 -04:00
chicoxyzzy
be1bf6391e Add Promise and Promise.any properties tests 2020-03-25 12:04:35 -04:00
chicoxyzzy
23d7f0b79d add Invocation of the constructor's resolve method test 2020-03-25 12:04:35 -04:00
chicoxyzzy
f0fd4e0d4d update features.txt
-
2020-03-25 12:04:35 -04:00
chicoxyzzy
aca10842a2 Add context tests 2020-03-25 12:04:35 -04:00
chicoxyzzy
715964b16b Add Capability Executor tests 2020-03-25 12:04:35 -04:00
Gus Caplan
900855b07b Fix Promise/prototype/finally/rejected-observable-then-calls-argument 2020-02-13 10:37:24 -05:00
Gus Caplan
505949357b Fix call to $DONE 2020-02-08 08:55:38 -05:00
Rick Waldron
811090fce2 Fix: \$DONE() must not be called with an argument, unless the argument is an error. 2020-02-07 12:24:43 -05:00
Jordan Harband
0ebbdf0395 Promise.prototype.finally thunks have a length of 0 2020-02-07 11:44:31 -05:00
Alexey Shvayka
57d5ffa471 Fix $DONE usage 2020-02-05 15:05:51 -05:00
Alexey Shvayka
c5b1c97362 Fix isConstructor checks 2020-02-05 15:05:51 -05:00
Alexey Shvayka
b3ec56fb8c Add CreateResolvingFunctions tests 2020-02-05 15:05:51 -05:00
Alexey Shvayka
8ce27898b9 Add Then Finally Functions test 2020-02-05 15:05:51 -05:00
Alexey Shvayka
1e13f2b1e7 Add Catch Finally Functions test 2020-02-05 15:05:51 -05:00
Alexey Shvayka
95fd012c66 Add isConstructor to Promise.prototype.finally test 2020-02-05 15:05:51 -05:00
Alexey Shvayka
71a70fc117 Use isConstructor in "executor-function-nonconstructor.js" (#2393) 2019-10-08 14:41:29 -04:00
Mike Pennisi
f26c2a11bd Remove unnecessary "includes" directives
The values defined by the referenced files are not used by these tests.
This makes their inclusion superfluous, which needlessly increases the
time to execute the tests and may confuse some readers.
2019-09-25 13:59:24 -04:00
Alexey Shvayka
8042c57d9b Add Promise#finally invoked on thenable test (#2312)
* Rename proxy context test

* Add thenable context test
2019-08-28 12:42:24 -03:00
André Bargull
59a1a016b7 Assign "name" property to all anonymous functions (#2299)
Implements the changes from <https://github.com/tc39/ecma262/pull/1490>.
2019-08-15 10:58:40 -04:00
Leo Balter
ff9763729d Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
André Bargull
d8c20b423b Call $DONE function exactly once per test
Also make a note in CONTRIBUTING.md that `$DONE` shouldn't be called multiple times.
2019-07-22 02:12:24 -07:00
Alexey Shvayka
d7c95efe66 Improve "name" tests of Promise built-in functions (#2179) 2019-06-26 15:03:14 -04:00
Gus Caplan
61ccff550e Fix invoke-resolve-get-error-close tests (#2210) 2019-06-21 14:26:57 -04:00
Aleksey Shvayka
e4fed70c9b Fix description of Promise constructor test (#2174) 2019-05-22 17:57:45 -04:00