| bad-range.js |
---
esid: sec-atomics.wait
description: >
Test range checking of Atomics.wait on arrays that allow atomic operations
includes: [testAtomics.js, testTypedArray.js]
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, TypedArray, arrow-function, let, for-of]
--- |
817 |
- |
| descriptor.js |
---
esid: sec-atomics.wait
description: Testing descriptor property of Atomics.wait
includes: [propertyHelper.js]
--- |
425 |
- |
| did-timeout.js |
---
esid: sec-atomics.wait
description: >
Test that Atomics.wait returns the right result when it timed out and that
the time to time out is reasonable.
includes: [atomicsHelper.js]
--- |
1000 |
- |
| good-views.js |
---
esid: sec-atomics.wait
description: >
Test Atomics.wait on arrays that allow atomic operations,
in an Agent that is allowed to wait.
--- |
1678 |
- |
| length.js |
---
esid: sec-atomics.wait
description: >
Atomics.wait.length is 4.
info: |
Atomics.wait ( ia, index, expect, timeout )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, has a length
property whose value is an integer. Unless otherwise specified, this
value is equal to the largest number of named arguments shown in the
subclause headings for the function description, including optional
parameters. However, rest parameters shown using the form “...name”
are not included in the default argument count.
Unless otherwise specified, the length property of a built-in Function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
1178 |
- |
| name.js |
---
esid: sec-atomics.wait
description: >
Atomics.wait.name is "wait".
includes: [propertyHelper.js]
--- |
479 |
- |
| nan-timeout.js |
---
esid: sec-atomics.wait
description: >
Test that Atomics.wait does not time out with a NaN timeout
--- |
829 |
- |
| negative-timeout.js |
---
esid: sec-atomics.wait
description: >
Test that Atomics.wait times out with a negative timeout
--- |
717 |
- |
| no-spurious-wakeup.js |
---
esid: sec-atomics.wait
description: >
Test that Atomics.wait actually waits and does not spuriously wake
up when the memory value is changed.
includes: [atomicsHelper.js]
--- |
1163 |
- |
| non-views.js |
---
esid: sec-atomics.wait
description: >
Test Atomics.wait on view values other than TypedArrays
includes: [testAtomics.js]
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
--- |
505 |
- |
| nonshared-int-views.js |
---
esid: sec-atomics.wait
description: >
Test Atomics.wait on non-shared integer TypedArrays
includes: [testTypedArray.js]
features: [TypedArray]
--- |
716 |
- |
| shared-nonint-views.js |
---
esid: sec-atomics.wait
description: >
Test Atomics.wait on shared non-integer TypedArrays
includes: [testTypedArray.js]
features: [TypedArray]
--- |
686 |
- |
| was-woken.js |
---
esid: sec-atomics.wait
description: >
Test that Atomics.wait returns the right result when it was awoken.
--- |
811 |
- |