diff --git a/test/built-ins/Atomics/add/bigint/good-views.js b/test/built-ins/Atomics/add/bigint/good-views.js index a0ba6015e9..c3781dbfc6 100644 --- a/test/built-ins/Atomics/add/bigint/good-views.js +++ b/test/built-ins/Atomics/add/bigint/good-views.js @@ -5,7 +5,7 @@ esid: sec-atomics.add description: Test Atomics.add on arrays that allow atomic operations. includes: [testAtomics.js, testBigIntTypedArray.js] -features: [ArrayBuffer, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, arrow-function, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] ---*/ var sab = new SharedArrayBuffer(1024); diff --git a/test/built-ins/Atomics/and/bigint/good-views.js b/test/built-ins/Atomics/and/bigint/good-views.js index b0cd17f087..9f31e377a0 100644 --- a/test/built-ins/Atomics/and/bigint/good-views.js +++ b/test/built-ins/Atomics/and/bigint/good-views.js @@ -5,7 +5,7 @@ esid: sec-atomics.and description: Test Atomics.and on arrays that allow atomic operations includes: [testAtomics.js, testBigIntTypedArray.js] -features: [ArrayBuffer, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, arrow-function, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] ---*/ var sab = new SharedArrayBuffer(1024); diff --git a/test/built-ins/Atomics/compareExchange/bigint/good-views.js b/test/built-ins/Atomics/compareExchange/bigint/good-views.js index f68e8b4592..af8c26c093 100644 --- a/test/built-ins/Atomics/compareExchange/bigint/good-views.js +++ b/test/built-ins/Atomics/compareExchange/bigint/good-views.js @@ -5,7 +5,7 @@ esid: sec-atomics.compareexchange description: Test Atomics.compareExchange on arrays that allow atomic operations. includes: [testAtomics.js, testBigIntTypedArray.js] -features: [ArrayBuffer, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, arrow-function, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] ---*/ var sab = new SharedArrayBuffer(1024); diff --git a/test/built-ins/Atomics/exchange/bigint/good-views.js b/test/built-ins/Atomics/exchange/bigint/good-views.js index 610305fb46..cca30e8aeb 100644 --- a/test/built-ins/Atomics/exchange/bigint/good-views.js +++ b/test/built-ins/Atomics/exchange/bigint/good-views.js @@ -5,7 +5,7 @@ esid: sec-atomics.exchange description: Test Atomics.exchange on arrays that allow atomic operations. includes: [testAtomics.js, testBigIntTypedArray.js] -features: [ArrayBuffer, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, arrow-function, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] ---*/ var sab = new SharedArrayBuffer(1024); diff --git a/test/built-ins/Atomics/isLockFree/bigint/corner-cases.js b/test/built-ins/Atomics/isLockFree/bigint/corner-cases.js index 45daa591d4..ee48ff883c 100644 --- a/test/built-ins/Atomics/isLockFree/bigint/corner-cases.js +++ b/test/built-ins/Atomics/isLockFree/bigint/corner-cases.js @@ -5,7 +5,7 @@ esid: sec-atomics.islockfree description: > Test isLockFree on various non-intuitive arguments -features: [arrow-function, Atomics] +features: [arrow-function, Atomics, SharedArrayBuffer, ArrayBuffer, DataView, BigInt, let, TypedArray, for-of] includes: [testAtomics.js, testBigIntTypedArray.js] ---*/ diff --git a/test/built-ins/Atomics/load/bigint/good-views.js b/test/built-ins/Atomics/load/bigint/good-views.js index e279779be7..e044358c01 100644 --- a/test/built-ins/Atomics/load/bigint/good-views.js +++ b/test/built-ins/Atomics/load/bigint/good-views.js @@ -5,7 +5,7 @@ esid: sec-atomics.load description: Test Atomics.load on arrays that allow atomic operations. includes: [testAtomics.js, testBigIntTypedArray.js] -features: [ArrayBuffer, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, arrow-function, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] ---*/ var sab = new SharedArrayBuffer(1024); diff --git a/test/built-ins/Atomics/or/bigint/good-views.js b/test/built-ins/Atomics/or/bigint/good-views.js index 3ccab90fe4..5c9afcf62a 100644 --- a/test/built-ins/Atomics/or/bigint/good-views.js +++ b/test/built-ins/Atomics/or/bigint/good-views.js @@ -5,7 +5,7 @@ esid: sec-atomics.or description: Test Atomics.or on arrays that allow atomic operations includes: [testAtomics.js, testBigIntTypedArray.js] -features: [ArrayBuffer, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, arrow-function, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] ---*/ var sab = new SharedArrayBuffer(1024); diff --git a/test/built-ins/Atomics/sub/bigint/good-views.js b/test/built-ins/Atomics/sub/bigint/good-views.js index f7574f50d4..ca79f54086 100644 --- a/test/built-ins/Atomics/sub/bigint/good-views.js +++ b/test/built-ins/Atomics/sub/bigint/good-views.js @@ -5,7 +5,7 @@ esid: sec-atomics.sub description: Test Atomics.sub on arrays that allow atomic operations includes: [testAtomics.js, testBigIntTypedArray.js] -features: [ArrayBuffer, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, arrow-function, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] ---*/ var sab = new SharedArrayBuffer(1024); diff --git a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-add.js b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-add.js index afb26a6728..5bd19b1e30 100644 --- a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-add.js +++ b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-add.js @@ -6,7 +6,7 @@ esid: sec-atomics.wait description: > Waiter does not spuriously wake on index which is subject to Add operation includes: [atomicsHelper.js] -features: [Atomics, BigInt, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, DataView, let, arrow-function, for-of, Atomics, BigInt, SharedArrayBuffer, TypedArray] ---*/ const TIMEOUT = 2000; diff --git a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-and.js b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-and.js index 533bb27cf1..87e8ccf1c8 100644 --- a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-and.js +++ b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-and.js @@ -6,7 +6,7 @@ esid: sec-atomics.wait description: > Waiter does not spuriously wake on index which is subject to And operation includes: [testAtomics.js] -features: [Atomics, BigInt, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, DataView, let, arrow-function, for-of, Atomics, BigInt, SharedArrayBuffer, TypedArray] ---*/ const TIMEOUT = 2000; const i64a = new BigInt64Array( diff --git a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-compareExchange.js b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-compareExchange.js index 60a5b9a2e1..504b0388b4 100644 --- a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-compareExchange.js +++ b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-compareExchange.js @@ -6,7 +6,7 @@ esid: sec-atomics.wait description: > Waiter does not spuriously wake on index which is subject to compareExchange operation includes: [testAtomics.js] -features: [Atomics, BigInt, SharedArrayBuffer, TypedArray] +features: [Atomics, BigInt, SharedArrayBuffer, TypedArray, ArrayBuffer, DataView, let, arrow-function, for-of] ---*/ const TIMEOUT = 2000; const i64a = new BigInt64Array( diff --git a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-exchange.js b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-exchange.js index fa3c7dc027..4c33d8d52a 100644 --- a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-exchange.js +++ b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-exchange.js @@ -6,7 +6,7 @@ esid: sec-atomics.wait description: > Waiter does not spuriously wake on index which is subject to exchange operation includes: [testAtomics.js] -features: [Atomics, BigInt, SharedArrayBuffer, TypedArray] +features: [Atomics, BigInt, SharedArrayBuffer, TypedArray, ArrayBuffer, DataView, let, arrow-function, for-of] ---*/ const TIMEOUT = 2000; const i64a = new BigInt64Array( diff --git a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-or.js b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-or.js index 60f004ea21..dd7d2a46fb 100644 --- a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-or.js +++ b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-or.js @@ -6,7 +6,7 @@ esid: sec-atomics.wait description: > Waiter does not spuriously wake on index which is subject to Or operation includes: [testAtomics.js] -features: [Atomics, BigInt, SharedArrayBuffer, TypedArray] +features: [Atomics, BigInt, SharedArrayBuffer, TypedArray, ArrayBuffer, DataView, let, arrow-function, for-of, Atomics, BigInt, SharedArrayBuffer, TypedArray] ---*/ const TIMEOUT = 2000; const i64a = new BigInt64Array( diff --git a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-store.js b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-store.js index 9429f6ef75..0d3d607a02 100644 --- a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-store.js +++ b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-store.js @@ -6,7 +6,7 @@ esid: sec-atomics.wait description: > Demonstrates that Atomics.store(...) is causing a waiting includes: [testAtomics.js] -features: [Atomics, BigInt, SharedArrayBuffer, TypedArray] +features: [Atomics, BigInt, SharedArrayBuffer, TypedArray, ArrayBuffer, DataView, let, arrow-function, for-of, Atomics, BigInt, SharedArrayBuffer, TypedArray] ---*/ const TIMEOUT = 2000; const i64a = new BigInt64Array( diff --git a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-sub.js b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-sub.js index 050749ad9f..5f0d479990 100644 --- a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-sub.js +++ b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-sub.js @@ -6,7 +6,7 @@ esid: sec-atomics.wait description: > Waiter does not spuriously wake on index which is subject to Sub operation includes: [testAtomics.js] -features: [Atomics, BigInt, SharedArrayBuffer, TypedArray] +features: [Atomics, BigInt, SharedArrayBuffer, TypedArray, ArrayBuffer, DataView, let, arrow-function, for-of, Atomics, BigInt, SharedArrayBuffer, TypedArray] ---*/ const TIMEOUT = 2000; const i64a = new BigInt64Array( diff --git a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-xor.js b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-xor.js index 47a044c44c..ec197a933d 100644 --- a/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-xor.js +++ b/test/built-ins/Atomics/wait/bigint/no-spurious-wakeup-on-xor.js @@ -6,7 +6,7 @@ esid: sec-atomics.wait description: > Waiter does not spuriously wake on index which is subject to xor operation includes: [testAtomics.js] -features: [Atomics, BigInt, SharedArrayBuffer, TypedArray] +features: [Atomics, BigInt, SharedArrayBuffer, TypedArray, ArrayBuffer, DataView, let, arrow-function, for-of, Atomics, BigInt, SharedArrayBuffer, TypedArray] ---*/ const TIMEOUT = 2000; const i64a = new BigInt64Array( diff --git a/test/built-ins/Atomics/wait/bigint/non-bigint64-typedarray-throws.js b/test/built-ins/Atomics/wait/bigint/non-bigint64-typedarray-throws.js index 8d8ebc0755..6278a5c328 100644 --- a/test/built-ins/Atomics/wait/bigint/non-bigint64-typedarray-throws.js +++ b/test/built-ins/Atomics/wait/bigint/non-bigint64-typedarray-throws.js @@ -19,7 +19,7 @@ info: | a. If typeName is not "Int32Array" or "BigInt64Array", throw a TypeError exception. -features: [Atomics, BigInt, SharedArrayBuffer, TypedArray] +features: [Atomics, BigInt, SharedArrayBuffer, TypedArray, ArrayBuffer, DataView, let, arrow-function, for-of, Atomics, BigInt, SharedArrayBuffer, TypedArray] includes: [testAtomics.js, testBigIntTypedArray.js] ---*/ diff --git a/test/built-ins/Atomics/wait/no-spurious-wakeup-on-add.js b/test/built-ins/Atomics/wait/no-spurious-wakeup-on-add.js index 33de28b41f..94dcfe9c7b 100644 --- a/test/built-ins/Atomics/wait/no-spurious-wakeup-on-add.js +++ b/test/built-ins/Atomics/wait/no-spurious-wakeup-on-add.js @@ -6,7 +6,7 @@ esid: sec-atomics.wait description: > Waiter does not spuriously wake on index which is subject to Add operation includes: [atomicsHelper.js] -features: [Atomics, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, DataView, let, arrow-function, for-of, Atomics, BigInt, SharedArrayBuffer, TypedArray] ---*/ const TIMEOUT = 2000; diff --git a/test/built-ins/Atomics/wake/undefined-index-defaults-to-zero.js b/test/built-ins/Atomics/wake/undefined-index-defaults-to-zero.js index 93cc8e3441..9e2e4d5be0 100644 --- a/test/built-ins/Atomics/wake/undefined-index-defaults-to-zero.js +++ b/test/built-ins/Atomics/wake/undefined-index-defaults-to-zero.js @@ -45,7 +45,7 @@ const i32a = new Int32Array( $262.agent.broadcast(i32a.buffer); $262.agent.sleep(100); // halfway through timeout -// wake at index 0 +// wake at index 0, undefined => 0 assert.sameValue( Atomics.wake(i32a, undefined, 1), 1, @@ -54,10 +54,10 @@ assert.sameValue( assert.sameValue(getReport(), 'ok', 'getReport() returns "ok"'); -// wake again at index 0 +// wake again at index 0, default => 0 assert.sameValue( - Atomics.wake(i32a /* default values used */), + Atomics.wake(i32a /*, default values used */), 1, - 'Atomics.wake(i32a) returns 1' + 'Atomics.wake(i32a /*, default values used */) returns 1' ); assert.sameValue(getReport(), 'ok', 'getReport() returns "ok"'); diff --git a/test/built-ins/Atomics/wake/wake-nan.js b/test/built-ins/Atomics/wake/wake-nan.js index ddb4166384..54a33f8f5b 100644 --- a/test/built-ins/Atomics/wake/wake-nan.js +++ b/test/built-ins/Atomics/wake/wake-nan.js @@ -6,7 +6,7 @@ esid: sec-atomics.wake description: > Test that Atomics.wake wakes zero waiters if the count is NaN includes: [testAtomics.js] -features: [Atomics, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, DataView, let, arrow-function, for-of, Atomics, BigInt, SharedArrayBuffer, TypedArray] ---*/ $262.agent.start(` diff --git a/test/built-ins/Atomics/xor/bigint/good-views.js b/test/built-ins/Atomics/xor/bigint/good-views.js index 28a27807f4..b0f5159f5c 100644 --- a/test/built-ins/Atomics/xor/bigint/good-views.js +++ b/test/built-ins/Atomics/xor/bigint/good-views.js @@ -5,7 +5,7 @@ esid: sec-atomics.xor description: Test Atomics.xor on arrays that allow atomic operations includes: [testAtomics.js, testBigIntTypedArray.js] -features: [ArrayBuffer, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] +features: [ArrayBuffer, arrow-function, Atomics, BigInt, DataView, for-of, let, SharedArrayBuffer, TypedArray] ---*/ var sab = new SharedArrayBuffer(1024);