Commit Graph

1557 Commits

Author SHA1 Message Date
Michaël Zasso e1fb459313 Use slice in RegExp lookBehind test
This change allows the test to be run on engines that do not implement
Annex B.
2020-04-18 13:26:52 -04:00
jhnaldo 68205eb76c Fixed wrong `esid` and `features` in a Promise.all test 2020-04-18 13:26:27 -04:00
Alexey Shvayka 048b6b54ff Assert that Symbol is a constructor 2020-04-14 16:45:00 -04:00
Alexey Shvayka 156d1b68fd
Fix async iterator methods not passing absent values tests (#2571)
* Fix `next` method test

* Fix `return` method test

* Drop `throw` method test

%AsyncFromSyncIteratorPrototype%.throw is always called with `value`.
2020-04-10 15:41:20 -07:00
Alexey Shvayka 6fb6ff6ac5 Add String.prototype.split test 2020-04-09 09:48:21 -04:00
Alexey Shvayka 0c0bcef6ea Add String.prototype.search test 2020-04-09 09:48:21 -04:00
Alexey Shvayka 25978298a4 Add String.prototype.replaceAll test 2020-04-09 09:48:21 -04:00
Alexey Shvayka f21c828965 Add String.prototype.replace test 2020-04-09 09:48:21 -04:00
Alexey Shvayka d8a6a06dcd Add String.prototype.match test 2020-04-09 09:48:21 -04:00
Alexey Shvayka c1a7ffa2ef Rename searchValue-replace-method-abrupt.js 2020-04-09 09:48:21 -04:00
Shu-yu Guo 966fc11862 Migrate FinalizationRegistry tests to per-item callback API 2020-04-01 16:45:40 -04:00
Alexey Shvayka 4199a3b34b Add integer index property name test 2020-04-01 11:41:38 -04:00
Alexey Shvayka b69390e68a Add string property name test 2020-04-01 11:41:38 -04:00
Alexey Shvayka 00cf7a1a9c Rename "trap-is-undefined-receiver.js" 2020-04-01 11:41: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
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
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
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
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 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
Rick Waldron 344612b592
Fix: Proxy set, if trap is undefined (#2536) 2020-03-23 15:46:33 -07:00
Alexey Shvayka 33b9bba03b Add Reflect.ownKeys test 2020-03-23 14:50:33 -04:00
Alexey Shvayka b273affa2c Add Object.values test 2020-03-23 14:50:33 -04:00
Alexey Shvayka 5874ca46fc Add Object.keys test 2020-03-23 14:50:33 -04:00
Alexey Shvayka c370276c65 Add Object.getOwnPropertySymbols test 2020-03-23 14:50:33 -04:00
Alexey Shvayka 62c9541be4 Add Object.getOwnPropertyNames test 2020-03-23 14:50:33 -04:00
Alexey Shvayka 021b8f2b33 Add Object.getOwnPropertyDescriptors test 2020-03-23 14:50:33 -04:00
Alexey Shvayka b94190e387 Add Object.entries test 2020-03-23 14:50:33 -04:00
Alexey Shvayka 1eff480aca Add toJSON stack overflow test 2020-03-23 14:47:16 -04:00
Alexey Shvayka 2255a0ff11 Add replacer stack overflow test 2020-03-23 14:47:16 -04:00
Alexey Shvayka d2b5f63a15 Improve "info" meta of replacer with deleted property test 2020-03-23 14:47:16 -04:00
Alexey Shvayka dc21d6b0a4 Add "lastIndex" restore test 2020-03-23 14:34:16 -04:00
Alexey Shvayka fe2dfe9525 Add "lastIndex" init test 2020-03-23 14:34:16 -04:00
Alexey Shvayka b59d07937a Add note on arbitrary large integer 2020-03-23 14:30:51 -04:00
Alexey Shvayka 669250d098 RegExp: Test Quantifier with large integer 2020-03-23 14:30:51 -04:00
Alexey Shvayka 8dccb69cc0 Replace "\b" with "\u0008" 2020-03-23 14:30:17 -04:00
Alexey Shvayka 2377131fd7 Test \b escape inside CharacterClass in Unicode RegExp 2020-03-23 14:30:17 -04:00
Alexey Shvayka 2cae20333d Add functional replacer with empty result test 2020-03-23 14:29:04 -04:00
Alexey Shvayka 8e41e8b439 Add "lastIndex" length abrupt coercion test 2020-03-23 14:29:04 -04:00
Alexey Shvayka 0485b839a6 Add "lastIndex" length coercion test 2020-03-23 14:29:04 -04:00
Alexey Shvayka 807afd9120 Make "length" coercion test more precise 2020-03-23 14:29:04 -04:00
Alexey Shvayka 3f6b961428 Make "index" integer coercion test more precise 2020-03-23 14:29:04 -04:00
Alexey Shvayka 53d16acb3b Add "index" integer coercion test with functional replacer 2020-03-23 14:29:04 -04:00
Alexey Shvayka e3e0e0f629 Add named capture groups abrupt lookup tests 2020-03-23 14:29:04 -04:00
Alexey Shvayka c9e1c1c2b8 Add named capture groups abrupt coercion tests 2020-03-23 14:29:04 -04:00
Alexey Shvayka 4d3db14653 Add named capture groups coercion tests 2020-03-23 14:29:04 -04:00
Alexey Shvayka dbbe2e7cc7 Add "0" string coercion test with global RegExp 2020-03-23 14:29:04 -04:00
Alexey Shvayka 50d1419b00 Make string coercion tests more precise 2020-03-23 14:29:04 -04:00
Alexey Shvayka cf583c96d8 Add poisoned stdlib test 2020-03-23 14:29:04 -04:00
Alexey Shvayka 67e58de839 Fix typo in file name 2020-03-23 14:29:04 -04:00
Alexey Shvayka fea38b7b8e Remove extra operation from "info" 2020-03-23 14:23:05 -04:00
Alexey Shvayka 13082b0385 Add Array#concat test 2020-03-23 14:23:05 -04:00
Alexey Shvayka 679ad48603 Add Array#reduceRight test 2020-03-23 14:23:05 -04:00
Alexey Shvayka 27162904a7 Add Array#fill test 2020-03-23 14:23:05 -04:00
Alexey Shvayka 66913bf778 Add Array#lastIndexOf test 2020-03-23 14:23:05 -04:00
Alexey Shvayka 4d91ea0955 Add Array#indexOf test 2020-03-23 14:23:05 -04:00
Alexey Shvayka 5885db1361 Add Array#copyWithin test 2020-03-23 14:23:05 -04:00
Alexey Shvayka f72db7e12b Add [[Call]] tests 2020-03-23 14:10:11 -04:00
Alexey Shvayka 5c3ea18763 Add [[Construct]] tests 2020-03-23 14:10:11 -04:00
Alexey Shvayka aa53649ef1 Add [[HasProperty]] tests 2020-03-23 14:10:11 -04:00
Alexey Shvayka 6155fcad3d Add [[Get]] tests 2020-03-23 14:10:11 -04:00
Alexey Shvayka 2d60dc0f65 Add [[Set]] tests 2020-03-23 14:10:11 -04:00
Alexey Shvayka 983b1aceb5 Add [[OwnPropertyKeys]] tests 2020-03-23 14:10:11 -04:00
Alexey Shvayka cc6d48d874 Add [[PreventExtensions]] tests 2020-03-23 14:10:11 -04:00
Alexey Shvayka 3987d3c20f Add [[IsExtensible]] tests 2020-03-23 14:10:11 -04:00