23 Commits

Author SHA1 Message Date
Ms2ger
823f4cfd20 Fix some esids that should have been lower case 2025-06-09 08:32:28 -07:00
André Bargull
c6ad284d99 Add coverage for IteratorClose in Promise combinators
SM doesn't pass these tests, whereas JSC and V8 passes them.
2025-06-04 10:27:46 +02:00
Kevin Gibbons
961480ac61 remove some auto-generated error messages in "assert.throws" tests 2024-03-25 12:09:10 +01:00
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
Rick Waldron
16b48a1271
Promise.allSettled: coverage updates, R2 (#2684) 2020-06-30 13:56:04 -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
c4c978b7ed
Promise.all, Promise.allSettled: coverage updates (#2657) 2020-06-12 09:54:52 -07:00
Alexey Shvayka
c915741594 Update Promise.allSettled tests 2020-06-03 15:49:04 -04: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ä
58dba42939 Add Promise/*/resolve-not-callable-close.js 2020-05-06 10:48:38 -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
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
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
Leo Balter
3b2ad0b5d0 Fix tests for new resolve lookup in Promise.allSettled 2019-04-24 17:28:01 -04:00
Leo Balter
7e7b9e103d
Port tests from Promise.all to Promise.allSettled (#2124) 2019-04-17 14:17:54 -04:00