mirror of
https://github.com/tc39/test262.git
synced 2025-07-25 15:04:43 +02:00
Atomics: features list corrections
This commit is contained in:
parent
3ea465996c
commit
1a382d2c3c
@ -18,7 +18,7 @@ info: |
|
|||||||
6. If n equals 8, return AR.[[IsLockFree8]].
|
6. If n equals 8, return AR.[[IsLockFree8]].
|
||||||
7. Return false.
|
7. Return false.
|
||||||
|
|
||||||
features: [Atomics, SharedArrayBuffer, TypedArray]
|
features: [Atomics, BigInt, SharedArrayBuffer, TypedArray]
|
||||||
includes: [testBigIntTypedArray.js]
|
includes: [testBigIntTypedArray.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ description: >
|
|||||||
Test that Atomics.wait actually waits and does not spuriously wake
|
Test that Atomics.wait actually waits and does not spuriously wake
|
||||||
up when the memory value is changed.
|
up when the memory value is changed.
|
||||||
includes: [atomicsHelper.js]
|
includes: [atomicsHelper.js]
|
||||||
features: [Atomics, SharedArrayBuffer, TypedArray]
|
features: [Atomics, BigInt, SharedArrayBuffer, TypedArray]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
$262.agent.start(`
|
$262.agent.start(`
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
esid: sec-atomics.wait
|
esid: sec-atomics.wait
|
||||||
description: >
|
description: >
|
||||||
Demonstrates that Atomics.store(...) is causing a waiting
|
Demonstrates that Atomics.store(...) is causing a waiting
|
||||||
features: [Atomics, computed-property-names, SharedArrayBuffer, TypedArray]
|
features: [Atomics, BigInt, SharedArrayBuffer, TypedArray]
|
||||||
---*/
|
---*/
|
||||||
function getReport() {
|
function getReport() {
|
||||||
var r;
|
var r;
|
||||||
|
@ -12,8 +12,7 @@ info: |
|
|||||||
9.If IsSharedArrayBuffer(buffer) is false, throw a TypeError exception.
|
9.If IsSharedArrayBuffer(buffer) is false, throw a TypeError exception.
|
||||||
...
|
...
|
||||||
4.If bufferData is a Data Block, return false.
|
4.If bufferData is a Data Block, return false.
|
||||||
features: [ArrayBuffer, Atomics, TypedArray]
|
features: [ArrayBuffer, Atomics, BigInt, TypedArray]
|
||||||
includes: [testAtomics.js, testBigIntTypedArray.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var i64a = new BigInt64Array(new ArrayBuffer(4));
|
var i64a = new BigInt64Array(new ArrayBuffer(4));
|
||||||
|
@ -13,7 +13,7 @@ info: |
|
|||||||
...
|
...
|
||||||
3.If bufferData is null, return false.
|
3.If bufferData is null, return false.
|
||||||
includes: [detachArrayBuffer.js]
|
includes: [detachArrayBuffer.js]
|
||||||
features: [ArrayBuffer, BigInt, Atomics, TypedArray]
|
features: [ArrayBuffer, Atomics, BigInt, TypedArray]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var i64a = new BigInt64Array(new ArrayBuffer(1024));
|
var i64a = new BigInt64Array(new ArrayBuffer(1024));
|
||||||
|
@ -14,8 +14,7 @@ info: |
|
|||||||
a.Perform LeaveCriticalSection(WL).
|
a.Perform LeaveCriticalSection(WL).
|
||||||
b. Return the String "not-equal".
|
b. Return the String "not-equal".
|
||||||
|
|
||||||
features: [Atomics, SharedArrayBuffer, TypedArray]
|
features: [Atomics, BigInt, SharedArrayBuffer, TypedArray]
|
||||||
includes: [atomicsHelper.js, testBigIntTypedArray.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function getReport() {
|
function getReport() {
|
||||||
|
@ -5,8 +5,7 @@
|
|||||||
esid: sec-atomics.wait
|
esid: sec-atomics.wait
|
||||||
description: >
|
description: >
|
||||||
Test that Atomics.wait returns the right result when it was awoken.
|
Test that Atomics.wait returns the right result when it was awoken.
|
||||||
features: [Atomics, SharedArrayBuffer, TypedArray]
|
features: [Atomics, BigInt, SharedArrayBuffer, TypedArray]
|
||||||
includes: [testAtomics.js, testBigIntTypedArray.js]
|
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function getReport() {
|
function getReport() {
|
||||||
|
@ -12,7 +12,7 @@ info: |
|
|||||||
...
|
...
|
||||||
5.If onlyInt32 is true, then
|
5.If onlyInt32 is true, then
|
||||||
If typeName is not "BigInt64Array", throw a TypeError exception.
|
If typeName is not "BigInt64Array", throw a TypeError exception.
|
||||||
features: [Atomics, BigInt]
|
features: [Atomics, BigInt, TypedArray]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var poisoned = {
|
var poisoned = {
|
||||||
|
@ -12,7 +12,7 @@ info: |
|
|||||||
9.If IsSharedArrayBuffer(buffer) is false, throw a TypeError exception.
|
9.If IsSharedArrayBuffer(buffer) is false, throw a TypeError exception.
|
||||||
...
|
...
|
||||||
4.If bufferData is a Data Block, return false.
|
4.If bufferData is a Data Block, return false.
|
||||||
features: [ArrayBuffer, BigInt, Atomics, TypedArray]
|
features: [ArrayBuffer, Atomics, BigInt, TypedArray]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var i64a = new BigInt64Array(new ArrayBuffer(4));
|
var i64a = new BigInt64Array(new ArrayBuffer(4));
|
||||||
|
@ -13,7 +13,7 @@ info: |
|
|||||||
...
|
...
|
||||||
3.If bufferData is null, return false.
|
3.If bufferData is null, return false.
|
||||||
includes: [detachArrayBuffer.js]
|
includes: [detachArrayBuffer.js]
|
||||||
features: [ArrayBuffer, BigInt, Atomics, TypedArray]
|
features: [ArrayBuffer, Atomics, BigInt, TypedArray]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var i64a = new BigInt64Array(new ArrayBuffer(1024));
|
var i64a = new BigInt64Array(new ArrayBuffer(1024));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user