Commit Graph

3409 Commits

Author SHA1 Message Date
Frank Yung-Fong Tang 9119877088 correct expectation for exceptZero 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang 2022f97a25 correct expectation for exceptZero 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang 0fc6784390 correct exceptZero expectation 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang 988bf55b25 correct exceptZero expectation 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang e5d4129d37 correct for exceptZero 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang 8293c961e9 correct expectation for exceptZero 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang 0279d96432 correct cases for exceptZero 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang d4017357d8 correction for exceptZero 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang f07fe8cb1c correct 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang c1a1111972 correct 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang 832ecd285f correct 2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang 940be668ca correct expectation for signDisplay: "exceptZero" 2020-04-23 10:46:27 -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 c2f0a3ced9 Bring back accidentally removed __proto__ test 2020-04-23 10:44:37 -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
Alexey Shvayka 57fa74b170 Add yield* throw() method test 2020-04-18 17:08:31 -04:00
Alexey Shvayka 5628e99566 Add default parameters test 2020-04-18 17:08:31 -04:00
Alexey Shvayka 1c067242a4 Add ObjectBindingPattern destructuring tests 2020-04-18 17:08:31 -04:00
Alexey Shvayka 4d9944e014 Add ArrayBindingPattern destructuring tests 2020-04-18 17:08:31 -04:00
Gus Caplan 1d513c3a50 Update indices-groups-object.js 2020-04-18 17:04:51 -04:00
Gus Caplan 30542f3e4c Update groups-object.js 2020-04-18 17:04:51 -04:00
Gus Caplan 97bd6fd12d 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 4a8e49b3ca
Add test for \0 in Unicode patterns (#2569) 2020-04-10 15:41:59 -07: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
Gus Caplan 13d057dffc
fix namespace set test (#2574) 2020-04-10 15:17:03 -07:00
Alexey Shvayka 27a41b6321
Improve malformed RegExp named groups coverage (#2568) 2020-04-10 15:07:50 -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
André Bargull 18bb955771 Upstream additional language tag canonicalisation and Intl.Locale tests from SpiderMonkey
Adds more canonicalisation and Intl.Locale tests from:
- https://hg.mozilla.org/mozilla-central/file/tip/js/src/tests/non262/Intl/Locale
- https://hg.mozilla.org/mozilla-central/file/tip/js/src/tests/non262/Intl/
2020-04-09 09:20:55 -04:00
André Bargull 5d8e6c8e85 Restore grandfathered tests removed in #2054
With the move to UTS 35 for language tag processing, the expected
canonicalisation results for "cel-gaulish" should now be consistent across
implementations.
2020-04-09 09:20:55 -04:00
André Bargull de02cf4dd5 Re-enable variant subtag canonicalisation in tests
UTS 35 canonicalisation requires to (again) canonicalise variant subtags.
2020-04-09 09:20:55 -04:00
Rick Waldron 62b8fce389 Deleting previously valid generated tests 2020-04-02 12:58:38 -04:00
Caio Lima 539c001941 Updating test with 'o?.#field' to be valid program 2020-04-02 12:58:38 -04:00
Alexey Shvayka df59ad6134 Add AsyncIteratorClose tests 2020-04-02 11:25:58 -04:00
Alexey Shvayka fccd9c4b81 Add IteratorClose tests 2020-04-02 11:25:58 -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
Alexey Shvayka 40a1a6f6d2
Improve RegExp LegacyOctalEscapeSequence coverage (#2558) 2020-03-31 13:52:46 -07: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 ffaae1f7ec Logical Assignment Operators: additional syntax tests 2020-03-31 15:05:04 -04:00
Justin Ridgewell 2778324491 Fix tests 2020-03-31 10:56:40 -04:00
Justin Ridgewell 78dbc401b1 Add logical-assignment-operators feature 2020-03-31 10:56:40 -04:00
Justin Ridgewell fdf4675da9 Add tests for Logical Assignment 2020-03-31 10:56:40 -04:00
Caio Lima 6499fa6794 Adding missing cases of instance field without assignment and static field with assignment 2020-03-31 10:39:11 -04:00
Caio Lima 740e157eb0 Adding test to cover case where there is a static field named as 'static' 2020-03-31 10:39:11 -04:00
Alexey Shvayka d279980b96 Add single quote string literal test 2020-03-30 19:30:49 -04:00
Alexey Shvayka 4742461e26 Add double quote string literal test 2020-03-30 19:30:49 -04:00
Alexey Shvayka 1150fe4a5c Add template literal test 2020-03-30 19:30:49 -04: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
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
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