31 Commits

Author SHA1 Message Date
Rick Waldron
1ec7056f38
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Atomics (#3077) 2021-07-21 11:53:58 -07:00
Shu-yu Guo
6d49a317ac Add missing includes to some Atomics.waitAsync tests 2020-10-19 17:26:47 -04:00
Rick Waldron
d9740c1726 Atomics.waitAsync: fix lint 2020-10-14 14:21:04 -04:00
Rick Waldron
6d8ab9c35e Coverage: more Atomics.waitAsync tests, fixes, improved messages. 2020-10-08 17:25:45 -04:00
Leo Balter
bc433f1e1c Fix typo in the tests for waitAsync
Fixes #2689
2020-07-08 13:46:07 -04:00
Rick Waldron
51e73466ee
Atomics.waitAsync: more guards against false positive test passing (#2678) 2020-06-30 07:40:18 -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
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
24b7f5fa99
Atomics.waitAsync: update feature flags (#2641) 2020-05-27 12:11:06 -07: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
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