mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 22:15:24 +02:00
features: update all features flags for all test files with harness/* deps that require a feature flag
This commit is contained in:
parent
fa61006313
commit
e3447b8200
@ -10,6 +10,7 @@ info: >
|
||||
8. If _a_ has a [[TypedArrayName]] internal slot, then
|
||||
a. If IsDetachedBuffer(_a_.[[ViewedArrayBuffer]]) is *true*, throw a *TypeError* exception.
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(TA => {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.add
|
||||
description: >
|
||||
Test range checking of Atomics.add on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-atomics.add
|
||||
description: Test Atomics.add on arrays that allow atomic operations.
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.add
|
||||
description: >
|
||||
Test Atomics.add on view values other than TypedArrays
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.add
|
||||
description: >
|
||||
Test Atomics.add on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.add
|
||||
description: >
|
||||
Test Atomics.add on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.and
|
||||
description: >
|
||||
Test range checking of Atomics.and on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-atomics.and
|
||||
description: Test Atomics.and on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.and
|
||||
description: >
|
||||
Test Atomics.and on view values other than TypedArrays
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.and
|
||||
description: >
|
||||
Test Atomics.and on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.and
|
||||
description: >
|
||||
Test Atomics.and on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.compareexchange
|
||||
description: >
|
||||
Test range checking of Atomics.compareExchange on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-atomics.compareexchange
|
||||
description: Test Atomics.compareExchange on arrays that allow atomic operations.
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.compareexchange
|
||||
description: >
|
||||
Test Atomics.compareExchange on view values other than TypedArrays
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.compareexchange
|
||||
description: >
|
||||
Test Atomics.compareExchange on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.compareexchange
|
||||
description: >
|
||||
Test Atomics.compareExchange on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.exchange
|
||||
description: >
|
||||
Test range checking of Atomics.exchange on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-atomics.exchange
|
||||
description: Test Atomics.exchange on arrays that allow atomic operations.
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.exchange
|
||||
description: >
|
||||
Test Atomics.exchange on view values other than TypedArrays
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.exchange
|
||||
description: >
|
||||
Test Atomics.exchange on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.exchange
|
||||
description: >
|
||||
Test Atomics.exchange on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.load
|
||||
description: >
|
||||
Test range checking of Atomics.load on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-atomics.load
|
||||
description: Test Atomics.load on arrays that allow atomic operations.
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.load
|
||||
description: >
|
||||
Test Atomics.load on view values other than TypedArrays
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.load
|
||||
description: >
|
||||
Test Atomics.load on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.load
|
||||
description: >
|
||||
Test Atomics.load on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.or
|
||||
description: >
|
||||
Test range checking of Atomics.or on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-atomics.or
|
||||
description: Test Atomics.or on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.or
|
||||
description: >
|
||||
Test Atomics.or on view values other than TypedArrays
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.or
|
||||
description: >
|
||||
Test Atomics.or on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.or
|
||||
description: >
|
||||
Test Atomics.or on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.store
|
||||
description: >
|
||||
Test range checking of Atomics.store on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-atomics.store
|
||||
description: Test Atomics.store on arrays that allow atomic operations.
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.store
|
||||
description: >
|
||||
Test Atomics.store on view values other than TypedArrays
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.store
|
||||
description: >
|
||||
Test Atomics.store on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.store
|
||||
description: >
|
||||
Test Atomics.store on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.sub
|
||||
description: >
|
||||
Test range checking of Atomics.sub on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-atomics.sub
|
||||
description: Test Atomics.sub on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.sub
|
||||
description: >
|
||||
Test Atomics.sub on view values other than TypedArrays
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.sub
|
||||
description: >
|
||||
Test Atomics.sub on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.sub
|
||||
description: >
|
||||
Test Atomics.sub on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.wait
|
||||
description: >
|
||||
Test range checking of Atomics.wait on arrays that allow atomic operations
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -6,6 +6,7 @@ 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]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.wait
|
||||
description: >
|
||||
Test Atomics.wait on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.wait
|
||||
description: >
|
||||
Test Atomics.wait on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.wake
|
||||
description: >
|
||||
Test range checking of Atomics.wake on arrays that allow atomic operations
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -7,6 +7,7 @@ description: >
|
||||
Test Atomics.wait on arrays that allow atomic operations,
|
||||
in an Agent that is allowed to wait. There is only the one Agent.
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.wake
|
||||
description: >
|
||||
Test Atomics.wake on view values other than TypedArrays
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.wake
|
||||
description: >
|
||||
Test Atomics.wake on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.wake
|
||||
description: >
|
||||
Test Atomics.wake on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.xor
|
||||
description: >
|
||||
Test range checking of Atomics.xor on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(4);
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-atomics.xor
|
||||
description: Test Atomics.xor on arrays that allow atomic operations
|
||||
includes: [testAtomics.js, testTypedArray.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, TypedArray, for-of]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.xor
|
||||
description: >
|
||||
Test Atomics.xor on view values other than TypedArrays
|
||||
includes: [testAtomics.js]
|
||||
features: [SharedArrayBuffer, ArrayBuffer, DataView, Atomics, arrow-function, let, for-of]
|
||||
---*/
|
||||
|
||||
testWithAtomicsNonViewValues(function(view) {
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.xor
|
||||
description: >
|
||||
Test Atomics.xor on non-shared integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var ab = new ArrayBuffer(16);
|
||||
|
@ -6,6 +6,7 @@ esid: sec-atomics.xor
|
||||
description: >
|
||||
Test Atomics.xor on shared non-integer TypedArrays
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var sab = new SharedArrayBuffer(1024);
|
||||
|
@ -9,6 +9,7 @@ info: >
|
||||
4. Let pos be ? ToInteger(position).
|
||||
|
||||
includes: [typeCoercion.js]
|
||||
features: [BigInt, Symbol.toPrimitive]
|
||||
---*/
|
||||
|
||||
testCoercibleToIntegerZero(function(zero) {
|
||||
|
@ -9,6 +9,7 @@ info: >
|
||||
3. Let searchStr be ? ToString(searchString).
|
||||
|
||||
includes: [typeCoercion.js]
|
||||
features: [Symbol.toPrimitive, BigInt]
|
||||
---*/
|
||||
|
||||
testCoercibleToString(function(value, expectedString) {
|
||||
|
@ -9,8 +9,8 @@ info: >
|
||||
|
||||
%TypedArray%[@@species] is an accessor property whose set accessor function
|
||||
is undefined.
|
||||
features: [Symbol.species]
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.species, TypedArray]
|
||||
---*/
|
||||
|
||||
var desc = Object.getOwnPropertyDescriptor(TypedArray, Symbol.species);
|
||||
|
@ -8,8 +8,8 @@ info: >
|
||||
22.2.2.4 get %TypedArray% [ @@species ]
|
||||
|
||||
1. Return the this value.
|
||||
features: [Symbol.species]
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.species, TypedArray]
|
||||
---*/
|
||||
|
||||
var value = {};
|
||||
|
@ -10,6 +10,7 @@ info: >
|
||||
7. Let len be ? ToLength(? Get(arrayLike, "length")).
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var arrayLike = {};
|
||||
|
@ -10,6 +10,7 @@ info: >
|
||||
7. Let len be ? ToLength(? Get(arrayLike, "length")).
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var arrayLike = { length: {} };
|
||||
|
@ -11,6 +11,7 @@ info: >
|
||||
2. If IsConstructor(C) is false, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var from = TypedArray.from;
|
||||
|
@ -16,6 +16,7 @@ info: >
|
||||
1. Let newTypedArray be ? Construct(constructor, argumentList).
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
@ -14,8 +14,8 @@ info: >
|
||||
|
||||
1. Let usingIterator be ? GetMethod(items, @@iterator).
|
||||
...
|
||||
features: [Symbol.iterator]
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.iterator, TypedArray]
|
||||
---*/
|
||||
|
||||
var iter = {};
|
||||
|
@ -16,8 +16,8 @@ info: >
|
||||
2. If usingIterator is not undefined, then
|
||||
a. Let iterator be ? GetIterator(items, usingIterator).
|
||||
...
|
||||
features: [Symbol.iterator]
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.iterator, TypedArray]
|
||||
---*/
|
||||
|
||||
var iter = {};
|
||||
|
@ -11,8 +11,8 @@ info: >
|
||||
d. Repeat, while next is not false
|
||||
i. Let next be ? IteratorStep(iterator).
|
||||
...
|
||||
features: [Symbol.iterator]
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.iterator, TypedArray]
|
||||
---*/
|
||||
|
||||
var iter = {};
|
||||
|
@ -13,8 +13,8 @@ info: >
|
||||
ii. If next is not false, then
|
||||
1. Let nextValue be ? IteratorValue(next).
|
||||
...
|
||||
features: [Symbol.iterator]
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.iterator, TypedArray]
|
||||
---*/
|
||||
|
||||
var iter = {};
|
||||
|
@ -11,7 +11,7 @@ info: >
|
||||
a. If IsCallable(mapfn) is false, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol, Symbol.iterator]
|
||||
features: [Symbol, Symbol.iterator, TypedArray]
|
||||
---*/
|
||||
|
||||
var getIterator = 0;
|
||||
|
@ -11,6 +11,7 @@ info: >
|
||||
2. If IsConstructor(C) is false, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var from = TypedArray.from;
|
||||
|
@ -12,6 +12,7 @@ info: >
|
||||
Note: ES2016 replaces all the references for the %TypedArray% constructor to a
|
||||
single chapter covering all arguments cases.
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
@ -12,6 +12,7 @@ info: >
|
||||
4. If IsConstructor(C) is false, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var of = TypedArray.of;
|
||||
|
@ -16,6 +16,7 @@ info: >
|
||||
1. Let newTypedArray be ? Construct(constructor, argumentList).
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
|
@ -12,6 +12,7 @@ info: >
|
||||
4. If IsConstructor(C) is false, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var m = { m() {} }.m;
|
||||
|
@ -11,7 +11,7 @@ info: >
|
||||
5. Assert: name is a String value.
|
||||
6. Return name.
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [Symbol.toStringTag]
|
||||
features: [Symbol.toStringTag, TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
@ -11,8 +11,8 @@ info: >
|
||||
...
|
||||
3. If O does not have a [[TypedArrayName]] internal slot, return undefined.
|
||||
...
|
||||
features: [Symbol.toStringTag]
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.toStringTag, TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -9,8 +9,8 @@ info: >
|
||||
1. Let O be the this value.
|
||||
2. If Type(O) is not Object, return undefined.
|
||||
...
|
||||
features: [Symbol.toStringTag]
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.toStringTag, TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -12,7 +12,7 @@ info: >
|
||||
5. Assert: name is a String value.
|
||||
6. Return name.
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.toStringTag]
|
||||
features: [Symbol.toStringTag, TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
@ -12,7 +12,7 @@ info: >
|
||||
3. If O does not have a [[TypedArrayName]] internal slot, return undefined.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol.toStringTag, DataView]
|
||||
features: [Symbol.toStringTag, DataView, TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -10,7 +10,7 @@ info: >
|
||||
2. If Type(O) is not Object, return undefined.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol, Symbol.toStringTag]
|
||||
features: [Symbol, Symbol.toStringTag, TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -10,6 +10,7 @@ info: >
|
||||
4. Let buffer be the value of O's [[ViewedArrayBuffer]] internal slot.
|
||||
5. Return buffer.
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
@ -13,6 +13,7 @@ info: >
|
||||
exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -12,6 +12,7 @@ info: >
|
||||
exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -11,6 +11,7 @@ info: >
|
||||
4. Let buffer be the value of O's [[ViewedArrayBuffer]] internal slot.
|
||||
5. Return buffer.
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
@ -15,7 +15,7 @@ info: >
|
||||
exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [DataView]
|
||||
features: [DataView, TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -10,7 +10,7 @@ info: >
|
||||
2. If Type(O) is not Object, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol]
|
||||
features: [Symbol, TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -11,6 +11,7 @@ info: >
|
||||
5. If IsDetachedBuffer(buffer) is true, return 0.
|
||||
...
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
@ -13,6 +13,7 @@ info: >
|
||||
exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -12,6 +12,7 @@ info: >
|
||||
exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -11,6 +11,7 @@ info: >
|
||||
6. Let size be the value of O's [[ByteLength]] internal slot.
|
||||
7. Return size.
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
@ -15,7 +15,7 @@ info: >
|
||||
exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [DataView]
|
||||
features: [DataView, TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -10,7 +10,7 @@ info: >
|
||||
2. If Type(O) is not Object, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol]
|
||||
features: [Symbol, TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -11,6 +11,7 @@ info: >
|
||||
5. If IsDetachedBuffer(buffer) is true, return 0.
|
||||
...
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
@ -13,6 +13,7 @@ info: >
|
||||
exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -12,6 +12,7 @@ info: >
|
||||
exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -11,6 +11,7 @@ info: >
|
||||
6. Let offset be the value of O's [[ByteOffset]] internal slot.
|
||||
7. Return size.
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
@ -15,7 +15,7 @@ info: >
|
||||
exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [DataView]
|
||||
features: [DataView, TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -10,7 +10,7 @@ info: >
|
||||
2. If Type(O) is not Object, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [Symbol]
|
||||
features: [Symbol, TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
@ -16,6 +16,7 @@ info: >
|
||||
5. If IsDetachedBuffer(buffer) is true, throw a TypeError exception.
|
||||
...
|
||||
includes: [testTypedArray.js, detachArrayBuffer.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var obj = {
|
||||
|
@ -23,6 +23,7 @@ info: >
|
||||
2. Let len be ? ToLength(? Get(O, "length")).
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
Object.defineProperty(TypedArray.prototype, "length", {
|
||||
|
@ -17,6 +17,7 @@ info: >
|
||||
exception.
|
||||
...
|
||||
includes: [testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var copyWithin = TypedArray.prototype.copyWithin;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user