48 Commits

Author SHA1 Message Date
Rick Waldron
826b6ae16f
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Promise (#3091) 2021-07-21 12:48:13 -07:00
ExE Boss
8f904d8cc8 Set function length and name in CreateBuiltinFunction 2021-01-29 09:45:20 -05:00
Rick Waldron
d576baf73f Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
Rick Waldron
c644ede430 Built-in function objects that are not identified as constructors must throw a TypeError exception when new'ed. Fixes gh-1739 2020-10-06 12:01:34 -04:00
Rick Waldron
e662428fb4 Replace all "valid" occurences of $ERROR with Test262Error.thrower 2020-09-16 17:36:54 -04:00
Gus Caplan
fe3ad55d80
add missing Promise.any features (#2686) 2020-07-01 10:33:56 -07:00
Rick Waldron
6179359305
Promise.any: coverage updates, R4 (#2683) 2020-06-30 13:56:55 -07:00
Rick Waldron
2f12ab71f8 Promise: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
Rick Waldron
040eb5393a
Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
Rick Waldron
f2ab5b6ca1
Promise.any: coverage update r3 (#2658) 2020-06-12 09:55:37 -07:00
Alexey Shvayka
290ceba31f Update Promise.any 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ä
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
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