Commit Graph

159 Commits

Author SHA1 Message Date
Rick Waldron 040eb5393a
Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
Rick Waldron 9dbaa95aed
Promise.race: coverage updates (#2666)
Ref #2629
2020-06-24 11:42:40 -07:00
Rick Waldron f2ab5b6ca1
Promise.any: coverage update r3 (#2658) 2020-06-12 09:55:37 -07:00
Rick Waldron c4c978b7ed
Promise.all, Promise.allSettled: coverage updates (#2657) 2020-06-12 09:54:52 -07:00
Alexey Shvayka 7ed6238a89 Replace `instanceof` with reference equality 2020-06-11 19:36:49 -04:00
Alexey Shvayka ac4d02d77a Fix Promise.prototype.finally test 2020-06-11 19:36:49 -04:00
Alexey Shvayka 290ceba31f Update Promise.any tests 2020-06-03 15:49:04 -04:00
Alexey Shvayka fb88b47938 Update Promise.race tests 2020-06-03 15:49:04 -04:00
Alexey Shvayka c915741594 Update Promise.allSettled tests 2020-06-03 15:49:04 -04:00
Alexey Shvayka cf37b039a8 Update Promise.all tests 2020-06-03 15:49:04 -04:00
Rick Waldron 081afde9c1 Promise.any: coverage updates, R3 2020-06-03 11:07:28 -07:00
Rick Waldron 9999dff8fd Promise.any: coverage updates, R2 2020-06-03 11:07:28 -07:00
Rick Waldron 3604a65a29 Promise.any: coverage updates, R1 2020-06-03 11:07:28 -07:00
Marja Hölttä 218edad632
Remove duplicate Promise.all tests (#2624)
1) Promise/all/S25.4.4.1_A6.1_T1.js is the same as
Promise/all/S25.4.4.1_A2.1_T1.js

2) Promise/all/S25.4.4.1_A6.1_T2.js is covered by
Promise/all/S25.4.4.1_A2.3_T1.js and
Promise/all/S25.4.4.1_A2.3_T2.js
2020-05-18 10:42:56 -07:00
Marja Hölttä 429c60ec38 fix 2020-05-06 10:48:38 -04:00
Marja Hölttä 4be59efd30 fix 2020-05-06 10:48:38 -04:00
Marja Hölttä affe579677 fix 2020-05-06 10:48:38 -04:00
Marja Hölttä 58dba42939 Add Promise/*/resolve-not-callable-close.js 2020-05-06 10:48:38 -04:00
Gus Caplan 4d9dccf443 Remove invalid feature, fix lint 2020-04-29 17:31:45 -04:00
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