Commit Graph

4458 Commits

Author SHA1 Message Date
Alexey Shvayka b90a11e620 Add `throw` method test 2020-03-30 19:22:57 -04:00
Alexey Shvayka 543370c44d Add `return` method test 2020-03-30 19:22:57 -04:00
Alexey Shvayka 1bf4e159dd Add `next` method test 2020-03-30 19:22:57 -04:00
André Bargull ae8694b4b7 Copy "invalid options" test from RelativeTimeFormat to NumberFormat/DateTimeFormat
The invalid 'numberingSystem' options test from RelativeTimeFormat covers a few
more cases, so let's reuse it for NumberFormat and DateTimeFormat.
While there, also add tests using non-ASCII inputs.

Fixes #2540
2020-03-30 13:58:04 -04:00
Rick Waldron 299cd74ef2 Promise.any: fix "invoke-then.js" test 2020-03-30 13:57:03 -04:00
Alexey Shvayka 9ccd3a7b9e Test revoked callable [[ProxyTarget]] 2020-03-30 09:48:37 -04:00
Alexey Shvayka 91b867b660 Fix non-callable [[ProxyTarget]] test 2020-03-30 09:48:37 -04:00
Alexey Shvayka e8e3aaa77b Test revoked [[ProxyHandler]] 2020-03-30 09:48:37 -04:00
Alexey Shvayka 8b610fb33a Test revoked [[ProxyTarget]] 2020-03-30 09:48:37 -04:00
Caio Lima 432adbb61e Adding case where 'static' is used as a field name 2020-03-28 16:47:44 -04:00
Leo Balter 4bf836c898
Merge pull request #2533 from tc39/promise-any
Promise.any & AggregateError tests (supercedes and closes gh-2437)
2020-03-27 20:18:57 -07: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 f70e3e3cf1 Features: remove duplicate "Promise.any" 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
Alexey Shvayka 96cf75770e Harness: properly format negative zero 2020-03-25 12:03:05 -04:00
Alexey Shvayka 1e63ce0eae Improve String.prototype.@@replace poisoned stdlib test 2020-03-25 11:59:43 -04:00
Alexey Shvayka 9b71a7cada Fix inconsistent indentation in YAML 2020-03-25 11:59:43 -04:00
Alexey Shvayka ad046ceddd Avoid using Array.isArray directly 2020-03-25 11:59:43 -04:00
Alexey Shvayka 8fe71e1f56 Drop JSON.stringify stack overflow tests 2020-03-25 11:59:43 -04:00
Rick Waldron dfc7ecc678
AggregateError: If NewTarget is undefined, let newTarget be the active function object (#2537) 2020-03-23 15:58:03 -07:00
Caio Lima db6f630e65
Adding test coverage for 'OptionalChain'.PrivateIdentifier case (#2534) 2020-03-23 15:47:51 -07:00
Rick Waldron 344612b592
Fix: Proxy set, if trap is undefined (#2536) 2020-03-23 15:46:33 -07:00
Alexey Shvayka 79146e5cf4 Bring back `verifyProp` param to `isWritable` 2020-03-23 18:19:01 -04:00
Alexey Shvayka 3bf630cdda Add for/in test 2020-03-23 14:50:33 -04:00