Commit Graph

1838 Commits

Author SHA1 Message Date
Rick Waldron e3b12065b2 Coverage: Array.prototype.item, String.prototype.item, TypedArray.prototype.item. Closes gh-2809, gh-2810, gh-2811 2020-09-24 17:23:38 -04:00
devsnek bf205bac84 Remove annex b regex from main tests 2020-09-24 16:53:08 -04:00
Rick Waldron 16bf949629 Coverage: String.prototype.split method, regexp separator. Fixes gh-2813 2020-09-24 14:54:28 -04:00
Rick Waldron 834789514d Rename: legacy -> description 2020-09-24 14:54:28 -04:00
Rick Waldron e5fa1d5ef4 Transform: legacy $ERROR -> assert.* 2020-09-24 14:54:28 -04:00
Rick Waldron dcbc02b7fa Coverage: Object.getOwnPropertySymbols/Names called with non-object values. Fixes gh-2804 2020-09-24 14:53:26 -04:00
Rick Waldron 07cc3c8bb1 Coverage: calling array methods with boolean as thisValue. Fixes gh-2803 2020-09-24 14:52:48 -04:00
Rick Waldron 82ee7a2cfb Coverage: String.prototype.replace method calls toString on replaceValue (regexp object). Fixes gh-2797 2020-09-22 10:37:20 -04:00
Rick Waldron fd12f5bc6b Coverage: Error message default value + cleanup. Fixes gh-2789 2020-09-18 16:42:22 -04:00
Rick Waldron 5e3761f5c8 Cleanup: parseInt, migrate legacy tests to assert, update messages. 2020-09-18 16:25:50 -04:00
Rick Waldron 81db9994c9 Cover NumericLiteral..toString, NaN.toString, Infinity.toString. Fixes gh-1732 2020-09-17 16:24:33 -04:00
Rick Waldron b11c1607c0 Coverage: Object.assign, Assignment to readonly property of target must throw a TypeError exception. Fixes gh-2788 2020-09-17 16:21:26 -04:00
Rick Waldron fd26fc17ea Refactor: built-ins/FinalizationRegistry/gc-has-one-chance-to-call-cleanupCallback.js
Per recommendation here: https://github.com/web-platform-tests/wpt/pull/25496/files#r488316588
2020-09-17 10:00:02 -04:00
Rick Waldron 1cd7d87501 Object.defineProperty: Property description must be an object. Fixes gh-1754 2020-09-17 09:59:31 -04:00
Rick Waldron db5b9c1dd9 Object.defineProperties: Property description must be an object. Fixes gh-1754 2020-09-17 09:59:31 -04:00
Rick Waldron e662428fb4 Replace all "valid" occurences of $ERROR with Test262Error.thrower 2020-09-16 17:36:54 -04:00
Rick Waldron f94fc660cc Array#shift throws TypeError if this value's "length" property was defined with [[Writable]]: false. Fixes gh-2773 2020-09-15 16:35:11 -04:00
Rick Waldron 58559ddddd Coverage: Number.prototype.toPrecision throws a RangeError if precision cannot be coerced to a number in range. Fixes gh-2765 2020-09-14 13:36:22 -04:00
Rick Waldron 7f518f7d38 Fixup Map: add proper esid 2020-09-14 13:35:13 -04:00
Frank Tang ab3a86d9b3 Move tests from
https://source.chromium.org/chromium/chromium/src/+/master:v8/test/test262/local-tests/
2020-09-14 13:35:13 -04:00
Alexey Shvayka 323905b70e Improve RegExp.prototype[@@replace] poisoned stdlib test 2020-09-10 16:24:23 -04:00
Alexey Shvayka d10446a5e4 Promise.prototype.finally calls PromiseResolved: add rejected promise test 2020-09-10 16:23:12 -04:00
Alexey Shvayka a841f07a11 Promise.prototype.finally calls PromiseResolved: add resolved promise test 2020-09-10 16:23:12 -04:00
Rick Waldron d9a6a03ffc String.prototype.split: Add features meta data 2020-09-10 15:28:00 -04:00
Alexey Shvayka 7a56df1119 Test that Date.prototype has no [[DateValue]] slot 2020-09-10 15:27:34 -04:00
Alexey Shvayka 9aef4bd5eb Test that Error.prototype has no [[ErrorData]] slot 2020-09-10 15:27:34 -04:00
Alexey Shvayka afd849ad29 Test "length" [[Value]] overflow check order in ArraySetLength 2020-09-09 14:40:23 -04:00
Alexey Shvayka d993d87766 Test "length" [[Value]] coercion order in ArraySetLength 2020-09-09 14:40:23 -04:00
Alexey Shvayka 38f3014063 Test Date.prototype[@@toPrimitive] called as top-level function 2020-09-09 14:34:20 -04:00
Alexey Shvayka b15c3a5b79 Test Date.prototype.toJSON called as top-level function 2020-09-09 14:34:20 -04:00
Alexey Shvayka 87398ac935 Test Error.prototype.toString called as top-level function 2020-09-09 14:34:20 -04:00
Alexey Shvayka 54ef2ae71d Test RegExp.prototype.toString called as top-level function 2020-09-09 14:34:20 -04:00
Alexey Shvayka 9857b124c0 Test Array.prototype methods called as top-level functions 2020-09-09 14:34:20 -04:00
Rick Waldron 1c22e0b2f2 Atomics: fix test info contents to match definition as it appears in ES2020. Fixes gh-2721 2020-09-04 09:32:55 -04:00
Alexey Shvayka c64db438df Test [[Set]] failure near integer limit in Array.prototype.push 2020-09-02 15:30:33 -04:00
Rick Waldron 896994413c
Missing coverage for Object.defineProperty method. Fixes gh-2660 (#2738) 2020-08-31 12:59:07 -07:00
Richard Gibson 93ff9b7262 Replace incorrect use of $DONOTEVALUATE 2020-08-21 15:58:21 -04:00
Richard Gibson 4f126a8ce9 Test the sequence of potentially abrupt steps in String.prototype.split 2020-08-21 15:58:21 -04:00
Richard Gibson 2dd3e50064 Fix confusing comment text 2020-08-21 15:58:21 -04:00
Alexey Shvayka e0a65ee75e Add %GeneratorFunction.prototype% test 2020-08-20 12:52:25 -04:00
Alexey Shvayka fd91dd1e0e Add %AsyncGeneratorFunction.prototype% test 2020-08-20 12:52:25 -04:00
Alexey Shvayka 34fb6c4374 Add %AsyncFunction.prototype% test 2020-08-20 12:52:25 -04:00
Alexey Shvayka 36f73c6142 Add Function.prototype.length property descriptor test 2020-08-20 12:39:28 -04:00
Alexey Shvayka 51fac5f93b Rename & improve large target function "length" test 2020-08-20 12:38:45 -04:00
Alexey Shvayka 8fbe2f82ef Test default value of bound function "length" property 2020-08-20 12:38:45 -04:00
Alexey Shvayka 53d8d9d394 Merge & improve remaining arguments tests 2020-08-20 12:38:45 -04:00
Alexey Shvayka 233ca721f5 Test ToInteger performed on "length" value of target function 2020-08-20 12:38:45 -04:00
Alexey Shvayka f80d7e7777 Merge & refactor bound function "length" property descriptor tests 2020-08-20 12:38:45 -04:00
Alexey Shvayka 897a05954f Test "length" property descriptor of Function.prototype.bind 2020-08-20 12:38:45 -04:00
Gus Caplan 5f99d05c6a native function validator for your consideration 2020-08-04 19:44:31 -04:00
Gus Caplan 156186aee2 New NativeFunction tests 2020-08-04 19:44:31 -04:00
Leo Balter 5a01caed71 Add feature tag for cleanupSome
The WeakRefs proposal advanced to Stage 4 but cleanupSome moved back to a Stage 2 status.
The tests should remain in Test262 for now but this feature flag should help users to
filter tests out.
2020-07-21 16:57:50 -04:00
Jordan Harband 4203041cef
Add tests for `Reflect[Symbol.toStringTag]` (#2710)
Ref https://github.com/tc39/ecma262/pull/2057

Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2020-07-20 13:23:56 -07:00
Leo Balter 2e127ec40e Rename usage of master to main
Ref #2699
2020-07-15 15:47:15 -04:00
Leo Balter b9e4010b20
Fix language in test file (#2700) 2020-07-13 15:01:38 -07:00
QuXing9 91a9abff4e
Add three testcases for test262 suite. (#2692)
* Add tests for escape function when parameter is not a string.

Fixes #2687
Fixes #2637

* Add test for indirect eval calls  when script is a for statement.

When for statement doesn't have a body, it should throw a SyntaxError.

Fixes #2661

* Add tests for Function Constructor when body contains usestrict.

Fixes #2688
Fixes #2638
2020-07-09 09:57:55 -07:00
Rick Waldron d3c693bdfe
AggregateError: update args order evaluation (#2647)
Fixes #2646
2020-07-08 12:13:36 -07:00
Leo Balter bc433f1e1c Fix typo in the tests for waitAsync
Fixes #2689
2020-07-08 13:46:07 -04:00
Alexey Shvayka c472aeea4b Use $DONE instead of $ERROR to avoid unhandled rejections 2020-07-07 11:16:04 -07:00
Alexey Shvayka 739c4cd78d Remove duplicate of "subclass-species-constructor-resolve-count.js" 2020-07-07 11:16:04 -07: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 16b48a1271
Promise.allSettled: coverage updates, R2 (#2684) 2020-06-30 13:56:04 -07:00
André Bargull 836f609b08 Update Atomics.exchange to allow non-shared buffers
Follow-up for: https://github.com/tc39/test262/pull/2633
2020-06-30 16:04:25 -04:00
Rick Waldron 51e73466ee
Atomics.waitAsync: more guards against false positive test passing (#2678) 2020-06-30 07:40:18 -07:00
André Bargull b5650d23a5
Don't call $DONE twice in S25.4.4_A2.1_T3.js (#2679)
Reverts the change from 040eb5393a to avoid
calling $DONE twice in the test file.
2020-06-25 08:35:46 -07:00
Rick Waldron fcb3b91e4a
Atomics.waitAsync: await $262.agent.getReportAsync() in a loop, instead of calling thrice asynchronously. Fixes 2664 (#2676) 2020-06-24 13:51:52 -07:00
Rick Waldron ae7b606cc2 Atomics: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:49 -04: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
Alexey Shvayka 20a1345bbe Add Array.prototype.lastIndexOf test 2020-06-24 15:14:04 -04:00
Alexey Shvayka 545e66b251 Add Array.prototype.indexOf test 2020-06-24 15:14:04 -04:00
Rick Waldron 9dbaa95aed
Promise.race: coverage updates (#2666)
Ref #2629
2020-06-24 11:42:40 -07:00
Rick Waldron 729fa02951 Atomics: update Atomics.sub to match latest proposed spec change
https://github.com/tc39/ecma262/pull/1908#issuecomment-647614204
2020-06-24 12:26:41 -04:00
Rick Waldron 529cff8ee6 Atomics: corrections 2020-06-24 12:26:41 -04:00
Rick Waldron 7e603ae236 Atomics: fix mispelled harness function name 2020-06-24 12:26:41 -04:00
Rick Waldron 4adc41eccf Atomics.* assertion messages and formatting 2020-06-24 12:26:41 -04:00
Rick Waldron d3980866c8 Atomics.xor will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron e4d24694ea Atomics.sub will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 5e43594d44 Atomics.store will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 131165be7e Atomics.or will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron e1c71a65e2 fixup! Atomics.and will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 9e7b4e733d Fix license lint & issues 2020-06-24 12:26:41 -04:00
Rick Waldron 2979e917a2 Atomics: fix assertion messages 2020-06-24 12:26:41 -04:00
Rick Waldron 1f977dc9fc Atomics.exchange will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron eb5120a1e9 Atomics.compareExchange will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron f82e09bab0 Atomics.and will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron b4517aa192 Atomics.add will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 8182e4efc4 Atomics.store will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 11a1eabcc6 Atomics.load will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 302f37eeff Atomics.notify changed to always return 0 on non-shared 2020-06-24 12:26:41 -04:00
Meir Blachman f7322cca7a use $ERROR instead of throwing in 15.2.3.7-2-18.js 2020-06-24 12:25:30 -04:00
André Bargull 3d411fa969 Assert 'errors' is absent for AggregateError.prototype 2020-06-24 12:11:36 -04:00
André Bargull 660a3d6512 Remove built-ins/NativeErrors/AggregateError/prototype/errors
The `errors` property accessors has been removed from the spec proposal.
2020-06-24 12:11:36 -04:00
Alexey Shvayka 2dcdba94e5 Simplify tests 2020-06-17 12:42:37 -04:00
Alexey Shvayka 23417d9569 Test %TypedArray%.prototype.set with primitives 2020-06-17 12:42:37 -04:00
Rick Waldron f89ea8758b
Atomics.waitAsync: BigInt (#2642)
* Atomics.waitAsync: BigInt

* Atomics.waitAsync: check for function to avoid false positives
2020-06-12 09:57:14 -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 adf2cf4204 Add %TypedArray%.prototype.lastIndexOf tests 2020-06-10 15:59:14 -04:00
Alexey Shvayka 063cdb5731 Add %TypedArray%.prototype.indexOf tests 2020-06-10 15:59:14 -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
Alexey Shvayka 0fcc51c9e2 Update copyright for "length" test 2020-06-03 14:03:21 -04:00
Alexey Shvayka 3a4bd7d050 Add symbol primitive test 2020-06-03 14:03:21 -04:00
Alexey Shvayka 38050f0cdd Add string primitive test 2020-06-03 14:03:21 -04:00
Alexey Shvayka f4b30daf12 Rename & improve "length" test 2020-06-03 14:03:21 -04:00
Alexey Shvayka 616978791d Use Promise chaining 2020-06-03 13:25:03 -04:00
Alexey Shvayka 919415704b Add TypedArrayConstructors test 2020-06-03 13:25:03 -04:00
Alexey Shvayka 02013fd1d6 Add AsyncFromSyncIterator tests 2020-06-03 13:25:03 -04:00
Rick Waldron 24b7f5fa99
Atomics.waitAsync: update feature flags (#2641) 2020-05-27 12:11:06 -07:00
Leo Balter 1a7aee6ba0
Add missing coverage for String.prototype.split (#2632)
Fixes #2622
2020-05-20 19:25:07 -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
Rick Waldron 1d142259bc *.prototype.toString(), a-z make radix loop condition inclusive of radix 36 2020-05-13 09:22:25 -04:00
Rick Waldron eff5ba2c98 BigInt/Number.prototype.toString(...), Step 6 2020-05-08 12:16:16 -04:00
Rick Waldron 914ab0280c Atomics.waitAsync: prevent in-agent tests from hanging by checking for Atomics.waitAsync at start of test 2020-05-08 10:01:32 -04:00
Alexey Shvayka 1fccea4471 Object.prototype.hasOwnProperty: Test coercion order 2020-05-06 11:56:49 -04:00
Alexey Shvayka 8a3fe5318d Merge "length" tests & refactor using propertyHelper.js harness 2020-05-06 11:56:49 -04:00
Alexey Shvayka 1c3d1e3026 Object.prototype.toString: Improve revoked Proxy coverage 2020-05-06 11:51:46 -04:00
Mårten Nordheim 9da54d053d Fix #2605; make safe-integer.js call isSafeInteger
The folder and file name implies it should be using isSafeInteger rather
than isInteger which it was using.
2020-05-06 10:51:31 -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ä 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
Alexey Shvayka a3c7d30cbb Add AsyncGeneratorFunction test 2020-04-26 16:19:25 -04:00
Alexey Shvayka 69de665a62 Add GeneratorFunction test 2020-04-26 16:19:25 -04:00
Alexey Shvayka 43bc9f1465 Add Function test 2020-04-26 16:19:25 -04:00
Shu-yu Guo 76b38918a8 Correctly tag AggregateError proto-from-ctor-realm test 2020-04-25 18:51:44 -04:00
Alexey Shvayka c9ce3be95d Add Object.seal test 2020-04-25 18:45:48 -04:00
Alexey Shvayka feaa555fc3 Add Object.isSealed test 2020-04-25 18:45:48 -04:00
Alexey Shvayka a65d0bfb42 Add Object.isFrozen test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 521446b36b Add Object.freeze test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 07ff2ffa4a Add Object.defineProperties test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 56cbc61e42 Add Object.getOwnPropertyDescriptors test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 2183fa7e4e Add Object.assign test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 7a4b88e446 Add `null` named capture coercion test case 2020-04-23 10:48:48 -04:00
Alexey Shvayka 6de6484e21 Add functional replacement test 2020-04-23 10:48:48 -04:00
Alexey Shvayka a6f3449cd8 Add string replacement test 2020-04-23 10:48:48 -04:00
Alexey Shvayka eca34edd7e Drop "the" and align license headers 2020-04-23 10:48:16 -04:00
Alexey Shvayka 3b5845afe7 Add invalid non-Unicode test 2020-04-23 10:48:16 -04:00
Alexey Shvayka b0995ea174 Add invalid Unicode test 2020-04-23 10:48:16 -04:00
Alexey Shvayka fd18971545 Add valid non-Unicode test 2020-04-23 10:48:16 -04:00
Alexey Shvayka 1991c24d91 Add valid Unicode test 2020-04-23 10:48:16 -04:00
Alexey Shvayka df0207cbeb Test revoked [[ProxyHandler]] 2020-04-23 10:45:26 -04:00
Alexey Shvayka d6834acbf1 Test revoked callable [[ProxyTarget]] 2020-04-23 10:45:26 -04:00
Alexey Shvayka 449f3ed0b9 Test revoked [[ProxyTarget]] 2020-04-23 10:45:26 -04:00
Alexey Shvayka 0c06bbcebf Add "proto-from-ctor-realm" test for AggregateError 2020-04-23 10:43:46 -04:00
Alexey Shvayka a24078194c Use isConstructor harness in revocation function test 2020-04-23 10:42:59 -04:00
Alexey Shvayka c31133b195 Add Proxy.revocable built-in test 2020-04-23 10:42:59 -04:00
Rick Waldron fadb9073d3 Atomics.waitAsync: fix lint trash 2020-04-23 10:32:55 -04:00
Rick Waldron d7e4de1484 Atomics.waitAsync: validate array type; waiter list position, notify before timeout 2020-04-23 10:32:55 -04:00
Rick Waldron 161ce480d1 Atomics.waitAsync: misused symbol args. 2020-04-23 10:32:55 -04:00
Rick Waldron bd5b37e51e Atomics.waitAsync: symbol for timeout throws 2020-04-23 10:32:55 -04:00
Rick Waldron eeb75f60dd Atomics.waitAsync: poisoned object throws 2020-04-23 10:32:55 -04:00
Rick Waldron db9c0ef27c Atomics.waitAsync: out of range index 2020-04-23 10:32:55 -04:00
Rick Waldron 092342098e Atomics.waitAsync: fix lint issues 2020-04-23 10:32:55 -04:00
Rick Waldron c3efb56025 Atomics.waitAsync: make all agent timeouts async 2020-04-23 10:32:55 -04:00
Rick Waldron f03c0c2de3 fixup! Atomics.waitAsync: no spurious wakeup on [operation] 2020-04-23 10:32:55 -04:00
Rick Waldron a46bbfd872 Atomics: drop unused id argument to agent receiveBroadcast handler 2020-04-23 10:32:55 -04:00
Rick Waldron 974a4ffbc5 Atomics.waitAsync: no spurious wakeup on [operation] 2020-04-23 10:32:55 -04:00
Rick Waldron 6d4b4eba98 Atomics.waitAsync: false, nan, negative, null, object zero timeouts 2020-04-23 10:32:55 -04:00
Rick Waldron 4c2ca05790 Atomics.waitAsync: negative index throws 2020-04-23 10:32:55 -04:00
Rick Waldron a196c9307d Atomics.waitAsync: negative timeout 2020-04-23 10:32:55 -04:00
Rick Waldron 677fb82a75 Atomics.waitAsync: false for timeouts, revised. 2020-04-23 10:32:55 -04:00
Rick Waldron 9519cd8448 Atomics.waitAsync: Return Value 2020-04-23 10:32:55 -04:00
Rick Waldron dabcc05199 Atomics.waitAsync: false, nan for timeouts 2020-04-23 10:32:55 -04:00
Rick Waldron c0f0adffdd Atomics.waitAsync: ValidateSharedIntegerTypedArray, ValidateAtomicAccess & Return promiseCapability.[[Promise]] 2020-04-23 10:32:55 -04:00
Rick Waldron 4e48a5692c Atomics.wait: fix esid 2020-04-23 10:32:55 -04:00
Rick Waldron bb37b8812f Atomics.waitAsync: add descriptor, length, name tests 2020-04-23 10:32:55 -04:00
Alexey Shvayka 1394a4f33e Fix Proxy tests 2020-04-23 10:31:12 -04:00
Alexey Shvayka fe0d4dc781 Fix bound function tests 2020-04-23 10:31:12 -04:00
Gus Caplan 1d513c3a50 Update indices-groups-object.js 2020-04-18 17:04:51 -04:00
Gus Caplan a799a4ac23 Sort out __proto__ occurances outside of annexB 2020-04-18 17:04:51 -04:00
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