summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2018-02-27 17:45:25 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-27 17:45:25 -0500
commit4efdb83ae9c38c453b42bde8ffec685d4e920152 (patch)
tree3029e598349bbb1b17a21072d5e76c11040062dd
parent27128070275f467aa62f74b515ec111ca902f997 (diff)
downloadqtdeclarative-testsuites-4efdb83ae9c38c453b42bde8ffec685d4e920152.tar.gz
Updates a portion of the BigInt tests that need work. Ref gh-1461 (#1462)
-rw-r--r--harness/testBigIntTypedArray.js3
-rw-r--r--test/built-ins/TypedArray/prototype/copyWithin/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/copyWithin/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/copyWithin/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/copyWithin/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/copyWithin/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/copyWithin/BigInt/this-is-not-object.js50
-rw-r--r--test/built-ins/TypedArray/prototype/copyWithin/BigInt/this-is-not-typedarray-instance.js42
-rw-r--r--test/built-ins/TypedArray/prototype/every/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/every/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/every/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/every/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/every/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/every/BigInt/this-is-not-object.js51
-rw-r--r--test/built-ins/TypedArray/prototype/every/BigInt/this-is-not-typedarray-instance.js43
-rw-r--r--test/built-ins/TypedArray/prototype/fill/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/fill/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/fill/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/fill/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/fill/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/fill/BigInt/this-is-not-object.js50
-rw-r--r--test/built-ins/TypedArray/prototype/fill/BigInt/this-is-not-typedarray-instance.js42
-rw-r--r--test/built-ins/TypedArray/prototype/filter/BigInt/invoked-as-func.js30
-rw-r--r--test/built-ins/TypedArray/prototype/filter/BigInt/invoked-as-method.js30
-rw-r--r--test/built-ins/TypedArray/prototype/filter/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/filter/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/filter/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/filter/BigInt/this-is-not-object.js53
-rw-r--r--test/built-ins/TypedArray/prototype/filter/BigInt/this-is-not-typedarray-instance.js45
-rw-r--r--test/built-ins/TypedArray/prototype/find/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/find/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/find/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/find/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/find/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/find/BigInt/this-is-not-object.js51
-rw-r--r--test/built-ins/TypedArray/prototype/find/BigInt/this-is-not-typedarray-instance.js43
-rw-r--r--test/built-ins/TypedArray/prototype/findIndex/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/findIndex/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/findIndex/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/findIndex/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/findIndex/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/findIndex/BigInt/this-is-not-object.js51
-rw-r--r--test/built-ins/TypedArray/prototype/findIndex/BigInt/this-is-not-typedarray-instance.js43
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/BigInt/this-is-not-object.js51
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/BigInt/this-is-not-typedarray-instance.js43
-rw-r--r--test/built-ins/TypedArray/prototype/includes/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/includes/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/includes/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/includes/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/includes/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/includes/BigInt/this-is-not-object.js50
-rw-r--r--test/built-ins/TypedArray/prototype/includes/BigInt/this-is-not-typedarray-instance.js42
-rw-r--r--test/built-ins/TypedArray/prototype/indexOf/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/indexOf/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/indexOf/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/indexOf/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/indexOf/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/indexOf/BigInt/this-is-not-object.js50
-rw-r--r--test/built-ins/TypedArray/prototype/indexOf/BigInt/this-is-not-typedarray-instance.js42
-rw-r--r--test/built-ins/TypedArray/prototype/join/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/join/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/join/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/join/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/join/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/join/BigInt/this-is-not-object.js50
-rw-r--r--test/built-ins/TypedArray/prototype/join/BigInt/this-is-not-typedarray-instance.js42
-rw-r--r--test/built-ins/TypedArray/prototype/keys/BigInt/invoked-as-func.js30
-rw-r--r--test/built-ins/TypedArray/prototype/keys/BigInt/invoked-as-method.js30
-rw-r--r--test/built-ins/TypedArray/prototype/keys/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/keys/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/keys/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/keys/BigInt/this-is-not-object.js52
-rw-r--r--test/built-ins/TypedArray/prototype/keys/BigInt/this-is-not-typedarray-instance.js44
-rw-r--r--test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/this-is-not-object.js50
-rw-r--r--test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/this-is-not-typedarray-instance.js42
-rw-r--r--test/built-ins/TypedArray/prototype/map/BigInt/invoked-as-func.js30
-rw-r--r--test/built-ins/TypedArray/prototype/map/BigInt/invoked-as-method.js30
-rw-r--r--test/built-ins/TypedArray/prototype/map/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/map/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/map/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/map/BigInt/this-is-not-object.js51
-rw-r--r--test/built-ins/TypedArray/prototype/map/BigInt/this-is-not-typedarray-instance.js43
-rw-r--r--test/built-ins/TypedArray/prototype/reduce/BigInt/invoked-as-func.js30
-rw-r--r--test/built-ins/TypedArray/prototype/reduce/BigInt/invoked-as-method.js30
-rw-r--r--test/built-ins/TypedArray/prototype/reduce/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/reduce/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/reduce/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/reduce/BigInt/this-is-not-object.js51
-rw-r--r--test/built-ins/TypedArray/prototype/reduce/BigInt/this-is-not-typedarray-instance.js43
-rw-r--r--test/built-ins/TypedArray/prototype/reduceRight/BigInt/invoked-as-func.js30
-rw-r--r--test/built-ins/TypedArray/prototype/reduceRight/BigInt/invoked-as-method.js30
-rw-r--r--test/built-ins/TypedArray/prototype/reduceRight/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/reduceRight/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/reduceRight/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/reduceRight/BigInt/this-is-not-object.js51
-rw-r--r--test/built-ins/TypedArray/prototype/reduceRight/BigInt/this-is-not-typedarray-instance.js43
-rw-r--r--test/built-ins/TypedArray/prototype/reverse/BigInt/invoked-as-func.js30
-rw-r--r--test/built-ins/TypedArray/prototype/reverse/BigInt/invoked-as-method.js30
-rw-r--r--test/built-ins/TypedArray/prototype/reverse/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/reverse/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/reverse/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/reverse/BigInt/this-is-not-object.js50
-rw-r--r--test/built-ins/TypedArray/prototype/reverse/BigInt/this-is-not-typedarray-instance.js42
-rw-r--r--test/built-ins/TypedArray/prototype/set/BigInt/invoked-as-func.js21
-rw-r--r--test/built-ins/TypedArray/prototype/set/BigInt/invoked-as-method.js21
-rw-r--r--test/built-ins/TypedArray/prototype/set/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/set/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/set/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/set/BigInt/this-is-not-object.js75
-rw-r--r--test/built-ins/TypedArray/prototype/set/BigInt/this-is-not-typedarray-instance.js56
-rw-r--r--test/built-ins/TypedArray/prototype/slice/BigInt/invoked-as-func.js30
-rw-r--r--test/built-ins/TypedArray/prototype/slice/BigInt/invoked-as-method.js30
-rw-r--r--test/built-ins/TypedArray/prototype/slice/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/slice/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/slice/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/slice/BigInt/this-is-not-object.js52
-rw-r--r--test/built-ins/TypedArray/prototype/slice/BigInt/this-is-not-typedarray-instance.js44
-rw-r--r--test/built-ins/TypedArray/prototype/some/BigInt/invoked-as-func.js29
-rw-r--r--test/built-ins/TypedArray/prototype/some/BigInt/invoked-as-method.js29
-rw-r--r--test/built-ins/TypedArray/prototype/some/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/some/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/some/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/some/BigInt/this-is-not-object.js51
-rw-r--r--test/built-ins/TypedArray/prototype/some/BigInt/this-is-not-typedarray-instance.js43
-rw-r--r--test/built-ins/TypedArray/prototype/sort/BigInt/invoked-as-func.js35
-rw-r--r--test/built-ins/TypedArray/prototype/sort/BigInt/invoked-as-method.js35
-rw-r--r--test/built-ins/TypedArray/prototype/sort/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/sort/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/sort/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/sort/BigInt/this-is-not-object.js51
-rw-r--r--test/built-ins/TypedArray/prototype/sort/BigInt/this-is-not-typedarray-instance.js43
-rw-r--r--test/built-ins/TypedArray/prototype/subarray/BigInt/invoked-as-func.js24
-rw-r--r--test/built-ins/TypedArray/prototype/subarray/BigInt/invoked-as-method.js24
-rw-r--r--test/built-ins/TypedArray/prototype/subarray/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/subarray/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/subarray/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/subarray/BigInt/this-is-not-object.js47
-rw-r--r--test/built-ins/TypedArray/prototype/subarray/BigInt/this-is-not-typedarray-instance.js39
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/BigInt/invoked-as-func.js31
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/BigInt/invoked-as-method.js31
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/BigInt/this-is-not-object.js50
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/BigInt/this-is-not-typedarray-instance.js42
-rw-r--r--test/built-ins/TypedArray/prototype/values/BigInt/invoked-as-func.js30
-rw-r--r--test/built-ins/TypedArray/prototype/values/BigInt/invoked-as-method.js30
-rw-r--r--test/built-ins/TypedArray/prototype/values/BigInt/length.js30
-rw-r--r--test/built-ins/TypedArray/prototype/values/BigInt/name.js27
-rw-r--r--test/built-ins/TypedArray/prototype/values/BigInt/prop-desc.js19
-rw-r--r--test/built-ins/TypedArray/prototype/values/BigInt/this-is-not-object.js52
-rw-r--r--test/built-ins/TypedArray/prototype/values/BigInt/this-is-not-typedarray-instance.js44
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size-sab.js5
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size.js5
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/buffer-arg/byteoffset-throws-from-modulo-element-size-sab.js5
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/buffer-arg/byteoffset-throws-from-modulo-element-size.js5
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-not-object-throws.js6
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js6
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-not-ctor-throws.js6
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-prototype-throws.js6
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-returns-new-typedarray.js10
-rw-r--r--test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size-sab.js5
-rw-r--r--test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size.js5
-rw-r--r--test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size-sab.js5
-rw-r--r--test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size.js5
175 files changed, 16 insertions, 5334 deletions
diff --git a/harness/testBigIntTypedArray.js b/harness/testBigIntTypedArray.js
index f071e5515..7b5d14e16 100644
--- a/harness/testBigIntTypedArray.js
+++ b/harness/testBigIntTypedArray.js
@@ -8,13 +8,12 @@ description: |
/**
* The %TypedArray% intrinsic constructor function.
*/
-var TypedArray = Object.getPrototypeOf(Int8Array);
+var TypedArray = Object.getPrototypeOf(BigInt64Array);
/**
* Calls the provided function for every typed array constructor.
*
* @param {typedArrayConstructorCallback} f - the function to call for each typed array constructor.
- * @param {Array} selected - An optional Array with filtered typed arrays
*/
function testWithBigIntTypedArrayConstructors(f) {
/**
diff --git a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/copyWithin/BigInt/invoked-as-func.js
deleted file mode 100644
index 7559361e1..000000000
--- a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.copywithin
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.5 %TypedArray%.prototype.copyWithin (target, start [, end ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var copyWithin = TypedArray.prototype.copyWithin;
-
-assert.sameValue(typeof copyWithin, 'function');
-
-assert.throws(TypeError, function() {
- copyWithin();
-});
diff --git a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/copyWithin/BigInt/invoked-as-method.js
deleted file mode 100644
index 5a40d48c9..000000000
--- a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.copywithin
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.5 %TypedArray%.prototype.copyWithin (target, start [, end ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.copyWithin, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.copyWithin();
-});
diff --git a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/length.js b/test/built-ins/TypedArray/prototype/copyWithin/BigInt/length.js
deleted file mode 100644
index 7c635e69c..000000000
--- a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.copywithin
-description: >
- %TypedArray%.prototype.copyWithin.length is 2.
-info: |
- %TypedArray%.prototype.copyWithin (target, start [, end ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.copyWithin.length, 2);
-
-verifyNotEnumerable(TypedArray.prototype.copyWithin, "length");
-verifyNotWritable(TypedArray.prototype.copyWithin, "length");
-verifyConfigurable(TypedArray.prototype.copyWithin, "length");
diff --git a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/name.js b/test/built-ins/TypedArray/prototype/copyWithin/BigInt/name.js
deleted file mode 100644
index 902c628c4..000000000
--- a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.copywithin
-description: >
- %TypedArray%.prototype.copyWithin.name is "copyWithin".
-info: |
- %TypedArray%.prototype.copyWithin (target, start [, end ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.copyWithin.name, "copyWithin");
-
-verifyNotEnumerable(TypedArray.prototype.copyWithin, "name");
-verifyNotWritable(TypedArray.prototype.copyWithin, "name");
-verifyConfigurable(TypedArray.prototype.copyWithin, "name");
diff --git a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/copyWithin/BigInt/prop-desc.js
deleted file mode 100644
index d75e27ac0..000000000
--- a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.copywithin
-description: >
- "copyWithin" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'copyWithin');
-verifyWritable(TypedArrayPrototype, 'copyWithin');
-verifyConfigurable(TypedArrayPrototype, 'copyWithin');
diff --git a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/copyWithin/BigInt/this-is-not-object.js
deleted file mode 100644
index 3c1b7c435..000000000
--- a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.copywithin
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.5 %TypedArray%.prototype.copyWithin (target, start [ , end ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var copyWithin = TypedArray.prototype.copyWithin;
-
-assert.throws(TypeError, function() {
- copyWithin.call(undefined, 0, 0);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- copyWithin.call(null, 0, 0);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- copyWithin.call(42, 0, 0);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- copyWithin.call("1", 0, 0);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- copyWithin.call(true, 0, 0);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- copyWithin.call(false, 0, 0);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- copyWithin.call(s, 0, 0);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/copyWithin/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 95d9bfd12..000000000
--- a/test/built-ins/TypedArray/prototype/copyWithin/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.copywithin
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.5 %TypedArray%.prototype.copyWithin (target, start [ , end ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var copyWithin = TypedArray.prototype.copyWithin;
-
-assert.throws(TypeError, function() {
- copyWithin.call({}, 0, 0);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- copyWithin.call([], 0, 0);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- copyWithin.call(ab, 0, 0);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- copyWithin.call(dv, 0, 0);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/every/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/every/BigInt/invoked-as-func.js
deleted file mode 100644
index 83d64511c..000000000
--- a/test/built-ins/TypedArray/prototype/every/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.every
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.7 %TypedArray%.prototype.every ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var every = TypedArray.prototype.every;
-
-assert.sameValue(typeof every, 'function');
-
-assert.throws(TypeError, function() {
- every();
-});
diff --git a/test/built-ins/TypedArray/prototype/every/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/every/BigInt/invoked-as-method.js
deleted file mode 100644
index 2b99d4c68..000000000
--- a/test/built-ins/TypedArray/prototype/every/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.every
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.7 %TypedArray%.prototype.every ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.every, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.every();
-});
diff --git a/test/built-ins/TypedArray/prototype/every/BigInt/length.js b/test/built-ins/TypedArray/prototype/every/BigInt/length.js
deleted file mode 100644
index cbe40ceaa..000000000
--- a/test/built-ins/TypedArray/prototype/every/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.every
-description: >
- %TypedArray%.prototype.every.length is 1.
-info: |
- %TypedArray%.prototype.every ( callbackfn [ , thisArg ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.every.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.every, "length");
-verifyNotWritable(TypedArray.prototype.every, "length");
-verifyConfigurable(TypedArray.prototype.every, "length");
diff --git a/test/built-ins/TypedArray/prototype/every/BigInt/name.js b/test/built-ins/TypedArray/prototype/every/BigInt/name.js
deleted file mode 100644
index c7fb7d764..000000000
--- a/test/built-ins/TypedArray/prototype/every/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.every
-description: >
- %TypedArray%.prototype.every.name is "every".
-info: |
- %TypedArray%.prototype.every ( callbackfn [ , thisArg ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.every.name, "every");
-
-verifyNotEnumerable(TypedArray.prototype.every, "name");
-verifyNotWritable(TypedArray.prototype.every, "name");
-verifyConfigurable(TypedArray.prototype.every, "name");
diff --git a/test/built-ins/TypedArray/prototype/every/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/every/BigInt/prop-desc.js
deleted file mode 100644
index d1c570ca1..000000000
--- a/test/built-ins/TypedArray/prototype/every/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.every
-description: >
- "every" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'every');
-verifyWritable(TypedArrayPrototype, 'every');
-verifyConfigurable(TypedArrayPrototype, 'every');
diff --git a/test/built-ins/TypedArray/prototype/every/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/every/BigInt/this-is-not-object.js
deleted file mode 100644
index af9557ea0..000000000
--- a/test/built-ins/TypedArray/prototype/every/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.every
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.7 %TypedArray%.prototype.every ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var every = TypedArray.prototype.every;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- every.call(undefined, callbackfn);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- every.call(null, callbackfn);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- every.call(42, callbackfn);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- every.call("1", callbackfn);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- every.call(true, callbackfn);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- every.call(false, callbackfn);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- every.call(s, callbackfn);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/every/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/every/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 21ff576b5..000000000
--- a/test/built-ins/TypedArray/prototype/every/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.every
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.7 %TypedArray%.prototype.every ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var every = TypedArray.prototype.every;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- every.call({}, callbackfn);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- every.call([], callbackfn);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- every.call(ab, callbackfn);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- every.call(dv, callbackfn);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/fill/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/fill/BigInt/invoked-as-func.js
deleted file mode 100644
index f7f0936d1..000000000
--- a/test/built-ins/TypedArray/prototype/fill/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.fill
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.8 %TypedArray%.prototype.fill (value [ , start [ , end ] ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var fill = TypedArray.prototype.fill;
-
-assert.sameValue(typeof fill, 'function');
-
-assert.throws(TypeError, function() {
- fill();
-});
diff --git a/test/built-ins/TypedArray/prototype/fill/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/fill/BigInt/invoked-as-method.js
deleted file mode 100644
index 897c2164b..000000000
--- a/test/built-ins/TypedArray/prototype/fill/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.fill
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.8 %TypedArray%.prototype.fill (value [ , start [ , end ] ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.fill, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.fill();
-});
diff --git a/test/built-ins/TypedArray/prototype/fill/BigInt/length.js b/test/built-ins/TypedArray/prototype/fill/BigInt/length.js
deleted file mode 100644
index 6bf1feff5..000000000
--- a/test/built-ins/TypedArray/prototype/fill/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.fill
-description: >
- %TypedArray%.prototype.fill.length is 1.
-info: |
- %TypedArray%.prototype.fill (value [ , start [ , end ] ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.fill.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.fill, "length");
-verifyNotWritable(TypedArray.prototype.fill, "length");
-verifyConfigurable(TypedArray.prototype.fill, "length");
diff --git a/test/built-ins/TypedArray/prototype/fill/BigInt/name.js b/test/built-ins/TypedArray/prototype/fill/BigInt/name.js
deleted file mode 100644
index 82e72227a..000000000
--- a/test/built-ins/TypedArray/prototype/fill/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.fill
-description: >
- %TypedArray%.prototype.fill.name is "fill".
-info: |
- %TypedArray%.prototype.fill (value [ , start [ , end ] ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.fill.name, "fill");
-
-verifyNotEnumerable(TypedArray.prototype.fill, "name");
-verifyNotWritable(TypedArray.prototype.fill, "name");
-verifyConfigurable(TypedArray.prototype.fill, "name");
diff --git a/test/built-ins/TypedArray/prototype/fill/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/fill/BigInt/prop-desc.js
deleted file mode 100644
index 752b7a282..000000000
--- a/test/built-ins/TypedArray/prototype/fill/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.fill
-description: >
- "fill" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'fill');
-verifyWritable(TypedArrayPrototype, 'fill');
-verifyConfigurable(TypedArrayPrototype, 'fill');
diff --git a/test/built-ins/TypedArray/prototype/fill/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/fill/BigInt/this-is-not-object.js
deleted file mode 100644
index 5846bbcae..000000000
--- a/test/built-ins/TypedArray/prototype/fill/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.fill
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.8 %TypedArray%.prototype.fill (value [ , start [ , end ] ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var fill = TypedArray.prototype.fill;
-
-assert.throws(TypeError, function() {
- fill.call(undefined, 0);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- fill.call(null, 0);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- fill.call(42, 0);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- fill.call("1", 0);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- fill.call(true, 0);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- fill.call(false, 0);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- fill.call(s, 0);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/fill/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/fill/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 8cb012108..000000000
--- a/test/built-ins/TypedArray/prototype/fill/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.fill
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.8 %TypedArray%.prototype.fill (value [ , start [ , end ] ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var fill = TypedArray.prototype.fill;
-
-assert.throws(TypeError, function() {
- fill.call({}, 0);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- fill.call([], 0);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- fill.call(ab, 0);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- fill.call(dv, 0);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/filter/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/filter/BigInt/invoked-as-func.js
deleted file mode 100644
index 92e9758b5..000000000
--- a/test/built-ins/TypedArray/prototype/filter/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.filter
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.9 %TypedArray%.prototype.filter ( callbackfn [ , thisArg ] )
-
- 1. Let O be the this value.
- 2. Let valid be ValidateTypedArray(O).
- 3. ReturnIfAbrupt(valid).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var filter = TypedArray.prototype.filter;
-
-assert.sameValue(typeof filter, 'function');
-
-assert.throws(TypeError, function() {
- filter();
-});
diff --git a/test/built-ins/TypedArray/prototype/filter/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/filter/BigInt/invoked-as-method.js
deleted file mode 100644
index 18c818b65..000000000
--- a/test/built-ins/TypedArray/prototype/filter/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.filter
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.9 %TypedArray%.prototype.filter ( callbackfn [ , thisArg ] )
-
- 1. Let O be the this value.
- 2. Let valid be ValidateTypedArray(O).
- 3. ReturnIfAbrupt(valid).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.filter, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.filter();
-});
diff --git a/test/built-ins/TypedArray/prototype/filter/BigInt/length.js b/test/built-ins/TypedArray/prototype/filter/BigInt/length.js
deleted file mode 100644
index 3c0af26ac..000000000
--- a/test/built-ins/TypedArray/prototype/filter/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.filter
-description: >
- %TypedArray%.prototype.filter.length is 1.
-info: |
- %TypedArray%.prototype.filter ( callbackfn [ , thisArg ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.filter.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.filter, "length");
-verifyNotWritable(TypedArray.prototype.filter, "length");
-verifyConfigurable(TypedArray.prototype.filter, "length");
diff --git a/test/built-ins/TypedArray/prototype/filter/BigInt/name.js b/test/built-ins/TypedArray/prototype/filter/BigInt/name.js
deleted file mode 100644
index 4eb3d76b2..000000000
--- a/test/built-ins/TypedArray/prototype/filter/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.filter
-description: >
- %TypedArray%.prototype.filter.name is "filter".
-info: |
- %TypedArray%.prototype.filter ( callbackfn [ , thisArg ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.filter.name, "filter");
-
-verifyNotEnumerable(TypedArray.prototype.filter, "name");
-verifyNotWritable(TypedArray.prototype.filter, "name");
-verifyConfigurable(TypedArray.prototype.filter, "name");
diff --git a/test/built-ins/TypedArray/prototype/filter/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/filter/BigInt/prop-desc.js
deleted file mode 100644
index 37c277bcf..000000000
--- a/test/built-ins/TypedArray/prototype/filter/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.filter
-description: >
- "filter" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'filter');
-verifyWritable(TypedArrayPrototype, 'filter');
-verifyConfigurable(TypedArrayPrototype, 'filter');
diff --git a/test/built-ins/TypedArray/prototype/filter/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/filter/BigInt/this-is-not-object.js
deleted file mode 100644
index 0a8a31a27..000000000
--- a/test/built-ins/TypedArray/prototype/filter/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.filter
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.9 %TypedArray%.prototype.filter ( callbackfn [ , thisArg ] )
-
- The following steps are taken:
-
- 1. Let O be the this value.
- 2. Perform ? ValidateTypedArray(O).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var filter = TypedArray.prototype.filter;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- filter.call(undefined, callbackfn);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- filter.call(null, callbackfn);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- filter.call(42, callbackfn);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- filter.call("1", callbackfn);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- filter.call(true, callbackfn);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- filter.call(false, callbackfn);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- filter.call(s, callbackfn);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/filter/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/filter/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 4bb60e605..000000000
--- a/test/built-ins/TypedArray/prototype/filter/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.filter
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.9 %TypedArray%.prototype.filter ( callbackfn [ , thisArg ] )
-
- The following steps are taken:
-
- 1. Let O be the this value.
- 2. Perform ? ValidateTypedArray(O).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var filter = TypedArray.prototype.filter;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- filter.call({}, callbackfn);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- filter.call([], callbackfn);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- filter.call(ab, callbackfn);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- filter.call(dv, callbackfn);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/find/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/find/BigInt/invoked-as-func.js
deleted file mode 100644
index 088c3398a..000000000
--- a/test/built-ins/TypedArray/prototype/find/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.find
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.10 %TypedArray%.prototype.find (predicate [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var find = TypedArray.prototype.find;
-
-assert.sameValue(typeof find, 'function');
-
-assert.throws(TypeError, function() {
- find();
-});
diff --git a/test/built-ins/TypedArray/prototype/find/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/find/BigInt/invoked-as-method.js
deleted file mode 100644
index 7bb3bb741..000000000
--- a/test/built-ins/TypedArray/prototype/find/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.find
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.10 %TypedArray%.prototype.find (predicate [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.find, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.find();
-});
diff --git a/test/built-ins/TypedArray/prototype/find/BigInt/length.js b/test/built-ins/TypedArray/prototype/find/BigInt/length.js
deleted file mode 100644
index 9c8cdcacc..000000000
--- a/test/built-ins/TypedArray/prototype/find/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.find
-description: >
- %TypedArray%.prototype.find.length is 1.
-info: |
- %TypedArray%.prototype.find (predicate [ , thisArg ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.find.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.find, "length");
-verifyNotWritable(TypedArray.prototype.find, "length");
-verifyConfigurable(TypedArray.prototype.find, "length");
diff --git a/test/built-ins/TypedArray/prototype/find/BigInt/name.js b/test/built-ins/TypedArray/prototype/find/BigInt/name.js
deleted file mode 100644
index c84053e8e..000000000
--- a/test/built-ins/TypedArray/prototype/find/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.find
-description: >
- %TypedArray%.prototype.find.name is "find".
-info: |
- %TypedArray%.prototype.find (predicate [ , thisArg ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.find.name, "find");
-
-verifyNotEnumerable(TypedArray.prototype.find, "name");
-verifyNotWritable(TypedArray.prototype.find, "name");
-verifyConfigurable(TypedArray.prototype.find, "name");
diff --git a/test/built-ins/TypedArray/prototype/find/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/find/BigInt/prop-desc.js
deleted file mode 100644
index e2c5e7e9d..000000000
--- a/test/built-ins/TypedArray/prototype/find/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.find
-description: >
- "find" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'find');
-verifyWritable(TypedArrayPrototype, 'find');
-verifyConfigurable(TypedArrayPrototype, 'find');
diff --git a/test/built-ins/TypedArray/prototype/find/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/find/BigInt/this-is-not-object.js
deleted file mode 100644
index 149306352..000000000
--- a/test/built-ins/TypedArray/prototype/find/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.find
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.10 %TypedArray%.prototype.find (predicate [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var find = TypedArray.prototype.find;
-var predicate = function() {};
-
-assert.throws(TypeError, function() {
- find.call(undefined, predicate);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- find.call(null, predicate);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- find.call(42, predicate);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- find.call("1", predicate);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- find.call(true, predicate);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- find.call(false, predicate);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- find.call(s, predicate);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/find/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/find/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 957be1152..000000000
--- a/test/built-ins/TypedArray/prototype/find/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.find
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.10 %TypedArray%.prototype.find (predicate [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var find = TypedArray.prototype.find;
-var predicate = function() {};
-
-assert.throws(TypeError, function() {
- find.call({}, predicate);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- find.call([], predicate);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- find.call(ab, predicate);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- find.call(dv, predicate);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/findIndex/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/findIndex/BigInt/invoked-as-func.js
deleted file mode 100644
index f305556a1..000000000
--- a/test/built-ins/TypedArray/prototype/findIndex/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.findindex
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.11 %TypedArray%.prototype.findIndex ( predicate [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var findIndex = TypedArray.prototype.findIndex;
-
-assert.sameValue(typeof findIndex, 'function');
-
-assert.throws(TypeError, function() {
- findIndex();
-});
diff --git a/test/built-ins/TypedArray/prototype/findIndex/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/findIndex/BigInt/invoked-as-method.js
deleted file mode 100644
index 1871afdab..000000000
--- a/test/built-ins/TypedArray/prototype/findIndex/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.findindex
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.11 %TypedArray%.prototype.findIndex ( predicate [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.findIndex, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.findIndex();
-});
diff --git a/test/built-ins/TypedArray/prototype/findIndex/BigInt/length.js b/test/built-ins/TypedArray/prototype/findIndex/BigInt/length.js
deleted file mode 100644
index 64d37958e..000000000
--- a/test/built-ins/TypedArray/prototype/findIndex/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.findindex
-description: >
- %TypedArray%.prototype.findIndex.length is 1.
-info: |
- %TypedArray%.prototype.findIndex (predicate [ , thisArg ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.findIndex.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.findIndex, "length");
-verifyNotWritable(TypedArray.prototype.findIndex, "length");
-verifyConfigurable(TypedArray.prototype.findIndex, "length");
diff --git a/test/built-ins/TypedArray/prototype/findIndex/BigInt/name.js b/test/built-ins/TypedArray/prototype/findIndex/BigInt/name.js
deleted file mode 100644
index 84a9724a2..000000000
--- a/test/built-ins/TypedArray/prototype/findIndex/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.findindex
-description: >
- %TypedArray%.prototype.findIndex.name is "findIndex".
-info: |
- %TypedArray%.prototype.findIndex (predicate [ , thisArg ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.findIndex.name, "findIndex");
-
-verifyNotEnumerable(TypedArray.prototype.findIndex, "name");
-verifyNotWritable(TypedArray.prototype.findIndex, "name");
-verifyConfigurable(TypedArray.prototype.findIndex, "name");
diff --git a/test/built-ins/TypedArray/prototype/findIndex/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/findIndex/BigInt/prop-desc.js
deleted file mode 100644
index 9913a867e..000000000
--- a/test/built-ins/TypedArray/prototype/findIndex/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.findindex
-description: >
- "findIndex" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'findIndex');
-verifyWritable(TypedArrayPrototype, 'findIndex');
-verifyConfigurable(TypedArrayPrototype, 'findIndex');
diff --git a/test/built-ins/TypedArray/prototype/findIndex/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/findIndex/BigInt/this-is-not-object.js
deleted file mode 100644
index fedede8b0..000000000
--- a/test/built-ins/TypedArray/prototype/findIndex/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.findindex
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.11 %TypedArray%.prototype.findIndex ( predicate [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var findIndex = TypedArray.prototype.findIndex;
-var predicate = function() {};
-
-assert.throws(TypeError, function() {
- findIndex.call(undefined, predicate);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- findIndex.call(null, predicate);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- findIndex.call(42, predicate);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- findIndex.call("1", predicate);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- findIndex.call(true, predicate);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- findIndex.call(false, predicate);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- findIndex.call(s, predicate);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/findIndex/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/findIndex/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 0c1bbab00..000000000
--- a/test/built-ins/TypedArray/prototype/findIndex/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.findindex
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.11 %TypedArray%.prototype.findIndex ( predicate [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var findIndex = TypedArray.prototype.findIndex;
-var predicate = function() {};
-
-assert.throws(TypeError, function() {
- findIndex.call({}, predicate);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- findIndex.call([], predicate);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- findIndex.call(ab, predicate);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- findIndex.call(dv, predicate);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/forEach/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/forEach/BigInt/invoked-as-func.js
deleted file mode 100644
index d4eb50b88..000000000
--- a/test/built-ins/TypedArray/prototype/forEach/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.foreach
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.12 %TypedArray%.prototype.forEach ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var forEach = TypedArray.prototype.forEach;
-
-assert.sameValue(typeof forEach, 'function');
-
-assert.throws(TypeError, function() {
- forEach();
-});
diff --git a/test/built-ins/TypedArray/prototype/forEach/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/forEach/BigInt/invoked-as-method.js
deleted file mode 100644
index f45505275..000000000
--- a/test/built-ins/TypedArray/prototype/forEach/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.foreach
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.12 %TypedArray%.prototype.forEach ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.forEach, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.forEach();
-});
diff --git a/test/built-ins/TypedArray/prototype/forEach/BigInt/length.js b/test/built-ins/TypedArray/prototype/forEach/BigInt/length.js
deleted file mode 100644
index f8f9624a9..000000000
--- a/test/built-ins/TypedArray/prototype/forEach/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.foreach
-description: >
- %TypedArray%.prototype.forEach.length is 1.
-info: |
- %TypedArray%.prototype.forEach (callbackfn [ , thisArg ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.forEach.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.forEach, "length");
-verifyNotWritable(TypedArray.prototype.forEach, "length");
-verifyConfigurable(TypedArray.prototype.forEach, "length");
diff --git a/test/built-ins/TypedArray/prototype/forEach/BigInt/name.js b/test/built-ins/TypedArray/prototype/forEach/BigInt/name.js
deleted file mode 100644
index 36c9ffde4..000000000
--- a/test/built-ins/TypedArray/prototype/forEach/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.foreach
-description: >
- %TypedArray%.prototype.forEach.name is "forEach".
-info: |
- %TypedArray%.prototype.forEach (callbackfn [ , thisArg ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.forEach.name, "forEach");
-
-verifyNotEnumerable(TypedArray.prototype.forEach, "name");
-verifyNotWritable(TypedArray.prototype.forEach, "name");
-verifyConfigurable(TypedArray.prototype.forEach, "name");
diff --git a/test/built-ins/TypedArray/prototype/forEach/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/forEach/BigInt/prop-desc.js
deleted file mode 100644
index b095a89f2..000000000
--- a/test/built-ins/TypedArray/prototype/forEach/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.foreach
-description: >
- "forEach" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'forEach');
-verifyWritable(TypedArrayPrototype, 'forEach');
-verifyConfigurable(TypedArrayPrototype, 'forEach');
diff --git a/test/built-ins/TypedArray/prototype/forEach/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/forEach/BigInt/this-is-not-object.js
deleted file mode 100644
index 6317c05d5..000000000
--- a/test/built-ins/TypedArray/prototype/forEach/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.foreach
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.12 %TypedArray%.prototype.forEach ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var forEach = TypedArray.prototype.forEach;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- forEach.call(undefined, callbackfn);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- forEach.call(null, callbackfn);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- forEach.call(42, callbackfn);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- forEach.call("1", callbackfn);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- forEach.call(true, callbackfn);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- forEach.call(false, callbackfn);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- forEach.call(s, callbackfn);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/forEach/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/forEach/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 33db208c9..000000000
--- a/test/built-ins/TypedArray/prototype/forEach/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.foreach
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.12 %TypedArray%.prototype.forEach ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var forEach = TypedArray.prototype.forEach;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- forEach.call({}, callbackfn);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- forEach.call([], callbackfn);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- forEach.call(ab, callbackfn);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- forEach.call(dv, callbackfn);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/includes/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/includes/BigInt/invoked-as-func.js
deleted file mode 100644
index cb8069bc3..000000000
--- a/test/built-ins/TypedArray/prototype/includes/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.includes
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.14 %TypedArray%.prototype.includes ( searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var includes = TypedArray.prototype.includes;
-
-assert.sameValue(typeof includes, "function");
-
-assert.throws(TypeError, function() {
- includes();
-});
diff --git a/test/built-ins/TypedArray/prototype/includes/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/includes/BigInt/invoked-as-method.js
deleted file mode 100644
index 78f7428a1..000000000
--- a/test/built-ins/TypedArray/prototype/includes/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.includes
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.14 %TypedArray%.prototype.includes ( searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.includes, "function");
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.includes();
-});
diff --git a/test/built-ins/TypedArray/prototype/includes/BigInt/length.js b/test/built-ins/TypedArray/prototype/includes/BigInt/length.js
deleted file mode 100644
index f438ccd6f..000000000
--- a/test/built-ins/TypedArray/prototype/includes/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.includes
-description: >
- %TypedArray%.prototype.includes.length is 1.
-info: |
- %TypedArray%.prototype.includes ( searchElement [ , fromIndex ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.includes.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.includes, "length");
-verifyNotWritable(TypedArray.prototype.includes, "length");
-verifyConfigurable(TypedArray.prototype.includes, "length");
diff --git a/test/built-ins/TypedArray/prototype/includes/BigInt/name.js b/test/built-ins/TypedArray/prototype/includes/BigInt/name.js
deleted file mode 100644
index 4d90c44c8..000000000
--- a/test/built-ins/TypedArray/prototype/includes/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.includes
-description: >
- %TypedArray%.prototype.includes.name is "includes".
-info: |
- %TypedArray%.prototype.includes (searchElement [ , fromIndex ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.includes.name, "includes");
-
-verifyNotEnumerable(TypedArray.prototype.includes, "name");
-verifyNotWritable(TypedArray.prototype.includes, "name");
-verifyConfigurable(TypedArray.prototype.includes, "name");
diff --git a/test/built-ins/TypedArray/prototype/includes/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/includes/BigInt/prop-desc.js
deleted file mode 100644
index fa4630d51..000000000
--- a/test/built-ins/TypedArray/prototype/includes/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.includes
-description: >
- "includes" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, "includes");
-verifyWritable(TypedArrayPrototype, "includes");
-verifyConfigurable(TypedArrayPrototype, "includes");
diff --git a/test/built-ins/TypedArray/prototype/includes/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/includes/BigInt/this-is-not-object.js
deleted file mode 100644
index 88a42bcdf..000000000
--- a/test/built-ins/TypedArray/prototype/includes/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.includes
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.14 %TypedArray%.prototype.includes ( searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var includes = TypedArray.prototype.includes;
-
-assert.throws(TypeError, function() {
- includes.call(undefined, 42);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- includes.call(null, 42);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- includes.call(42, 42);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- includes.call("1", 42);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- includes.call(true, 42);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- includes.call(false, 42);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- includes.call(s, 42);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/includes/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/includes/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 713fe26dd..000000000
--- a/test/built-ins/TypedArray/prototype/includes/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.includes
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.14 %TypedArray%.prototype.includes ( searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var includes = TypedArray.prototype.includes;
-
-assert.throws(TypeError, function() {
- includes.call({}, 42);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- includes.call([], 42);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- includes.call(ab, 42);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- includes.call(dv, 42);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/indexOf/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/indexOf/BigInt/invoked-as-func.js
deleted file mode 100644
index f2d8ff705..000000000
--- a/test/built-ins/TypedArray/prototype/indexOf/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.indexof
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.13 %TypedArray%.prototype.indexOf (searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var indexOf = TypedArray.prototype.indexOf;
-
-assert.sameValue(typeof indexOf, 'function');
-
-assert.throws(TypeError, function() {
- indexOf();
-});
diff --git a/test/built-ins/TypedArray/prototype/indexOf/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/indexOf/BigInt/invoked-as-method.js
deleted file mode 100644
index 80560a9ad..000000000
--- a/test/built-ins/TypedArray/prototype/indexOf/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.indexof
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.13 %TypedArray%.prototype.indexOf (searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.indexOf, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.indexOf();
-});
diff --git a/test/built-ins/TypedArray/prototype/indexOf/BigInt/length.js b/test/built-ins/TypedArray/prototype/indexOf/BigInt/length.js
deleted file mode 100644
index d39f7dab9..000000000
--- a/test/built-ins/TypedArray/prototype/indexOf/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.indexof
-description: >
- %TypedArray%.prototype.indexOf.length is 1.
-info: |
- %TypedArray%.prototype.indexOf (searchElement [ , fromIndex ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.indexOf.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.indexOf, "length");
-verifyNotWritable(TypedArray.prototype.indexOf, "length");
-verifyConfigurable(TypedArray.prototype.indexOf, "length");
diff --git a/test/built-ins/TypedArray/prototype/indexOf/BigInt/name.js b/test/built-ins/TypedArray/prototype/indexOf/BigInt/name.js
deleted file mode 100644
index 93ad66115..000000000
--- a/test/built-ins/TypedArray/prototype/indexOf/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.indexof
-description: >
- %TypedArray%.prototype.indexOf.name is "indexOf".
-info: |
- %TypedArray%.prototype.indexOf (searchElement [ , fromIndex ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.indexOf.name, "indexOf");
-
-verifyNotEnumerable(TypedArray.prototype.indexOf, "name");
-verifyNotWritable(TypedArray.prototype.indexOf, "name");
-verifyConfigurable(TypedArray.prototype.indexOf, "name");
diff --git a/test/built-ins/TypedArray/prototype/indexOf/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/indexOf/BigInt/prop-desc.js
deleted file mode 100644
index aab149737..000000000
--- a/test/built-ins/TypedArray/prototype/indexOf/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.indexof
-description: >
- "indexOf" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'indexOf');
-verifyWritable(TypedArrayPrototype, 'indexOf');
-verifyConfigurable(TypedArrayPrototype, 'indexOf');
diff --git a/test/built-ins/TypedArray/prototype/indexOf/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/indexOf/BigInt/this-is-not-object.js
deleted file mode 100644
index c572d7dd3..000000000
--- a/test/built-ins/TypedArray/prototype/indexOf/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.indexof
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.13 %TypedArray%.prototype.indexOf (searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var indexOf = TypedArray.prototype.indexOf;
-
-assert.throws(TypeError, function() {
- indexOf.call(undefined, 42);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- indexOf.call(null, 42);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- indexOf.call(42, 42);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- indexOf.call("1", 42);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- indexOf.call(true, 42);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- indexOf.call(false, 42);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- indexOf.call(s, 42);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/indexOf/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/indexOf/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 753fc3f79..000000000
--- a/test/built-ins/TypedArray/prototype/indexOf/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.indexof
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.13 %TypedArray%.prototype.indexOf (searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var indexOf = TypedArray.prototype.indexOf;
-
-assert.throws(TypeError, function() {
- indexOf.call({}, 42);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- indexOf.call([], 42);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- indexOf.call(ab, 42);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- indexOf.call(dv, 42);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/join/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/join/BigInt/invoked-as-func.js
deleted file mode 100644
index 1340f3931..000000000
--- a/test/built-ins/TypedArray/prototype/join/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.join
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.14 %TypedArray%.prototype.join ( separator )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var join = TypedArray.prototype.join;
-
-assert.sameValue(typeof join, 'function');
-
-assert.throws(TypeError, function() {
- join();
-});
diff --git a/test/built-ins/TypedArray/prototype/join/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/join/BigInt/invoked-as-method.js
deleted file mode 100644
index 1121e42aa..000000000
--- a/test/built-ins/TypedArray/prototype/join/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.join
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.14 %TypedArray%.prototype.join ( separator )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.join, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.join();
-});
diff --git a/test/built-ins/TypedArray/prototype/join/BigInt/length.js b/test/built-ins/TypedArray/prototype/join/BigInt/length.js
deleted file mode 100644
index 6e1332323..000000000
--- a/test/built-ins/TypedArray/prototype/join/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.join
-description: >
- %TypedArray%.prototype.join.length is 1.
-info: |
- %TypedArray%.prototype.join ( separator )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.join.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.join, "length");
-verifyNotWritable(TypedArray.prototype.join, "length");
-verifyConfigurable(TypedArray.prototype.join, "length");
diff --git a/test/built-ins/TypedArray/prototype/join/BigInt/name.js b/test/built-ins/TypedArray/prototype/join/BigInt/name.js
deleted file mode 100644
index c7a1bfdfc..000000000
--- a/test/built-ins/TypedArray/prototype/join/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.join
-description: >
- %TypedArray%.prototype.join.name is "join".
-info: |
- %TypedArray%.prototype.join ( separator )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.join.name, "join");
-
-verifyNotEnumerable(TypedArray.prototype.join, "name");
-verifyNotWritable(TypedArray.prototype.join, "name");
-verifyConfigurable(TypedArray.prototype.join, "name");
diff --git a/test/built-ins/TypedArray/prototype/join/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/join/BigInt/prop-desc.js
deleted file mode 100644
index f1ab91a06..000000000
--- a/test/built-ins/TypedArray/prototype/join/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.join
-description: >
- "join" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'join');
-verifyWritable(TypedArrayPrototype, 'join');
-verifyConfigurable(TypedArrayPrototype, 'join');
diff --git a/test/built-ins/TypedArray/prototype/join/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/join/BigInt/this-is-not-object.js
deleted file mode 100644
index 6f04ef810..000000000
--- a/test/built-ins/TypedArray/prototype/join/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.join
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.15 %TypedArray%.prototype.join ( separator )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var join = TypedArray.prototype.join;
-
-assert.throws(TypeError, function() {
- join.call(undefined, "");
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- join.call(null, "");
-}, "this is null");
-
-assert.throws(TypeError, function() {
- join.call(42, "");
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- join.call("1", "");
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- join.call(true, "");
-}, "this is true");
-
-assert.throws(TypeError, function() {
- join.call(false, "");
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- join.call(s, "");
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/join/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/join/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 582c99f3d..000000000
--- a/test/built-ins/TypedArray/prototype/join/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.join
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.15 %TypedArray%.prototype.join ( separator )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var join = TypedArray.prototype.join;
-
-assert.throws(TypeError, function() {
- join.call({}, "");
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- join.call([], "");
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- join.call(ab, "");
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- join.call(dv, "");
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/keys/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/keys/BigInt/invoked-as-func.js
deleted file mode 100644
index 2b04ed7f2..000000000
--- a/test/built-ins/TypedArray/prototype/keys/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.keys
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.15 %TypedArray%.prototype.keys ( )
-
- 1. Let O be the this value.
- 2. Let valid be ValidateTypedArray(O).
- 3. ReturnIfAbrupt(valid).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var keys = TypedArray.prototype.keys;
-
-assert.sameValue(typeof keys, 'function');
-
-assert.throws(TypeError, function() {
- keys();
-});
diff --git a/test/built-ins/TypedArray/prototype/keys/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/keys/BigInt/invoked-as-method.js
deleted file mode 100644
index 9e67e8b90..000000000
--- a/test/built-ins/TypedArray/prototype/keys/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.keys
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.15 %TypedArray%.prototype.keys ( )
-
- 1. Let O be the this value.
- 2. Let valid be ValidateTypedArray(O).
- 3. ReturnIfAbrupt(valid).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.keys, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.keys();
-});
diff --git a/test/built-ins/TypedArray/prototype/keys/BigInt/length.js b/test/built-ins/TypedArray/prototype/keys/BigInt/length.js
deleted file mode 100644
index 0f4b206a5..000000000
--- a/test/built-ins/TypedArray/prototype/keys/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.keys
-description: >
- %TypedArray%.prototype.keys.length is 0.
-info: |
- %TypedArray%.prototype.keys ( )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.keys.length, 0);
-
-verifyNotEnumerable(TypedArray.prototype.keys, "length");
-verifyNotWritable(TypedArray.prototype.keys, "length");
-verifyConfigurable(TypedArray.prototype.keys, "length");
diff --git a/test/built-ins/TypedArray/prototype/keys/BigInt/name.js b/test/built-ins/TypedArray/prototype/keys/BigInt/name.js
deleted file mode 100644
index da53744ca..000000000
--- a/test/built-ins/TypedArray/prototype/keys/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.keys
-description: >
- %TypedArray%.prototype.keys.name is "keys".
-info: |
- %TypedArray%.prototype.keys ( )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.keys.name, "keys");
-
-verifyNotEnumerable(TypedArray.prototype.keys, "name");
-verifyNotWritable(TypedArray.prototype.keys, "name");
-verifyConfigurable(TypedArray.prototype.keys, "name");
diff --git a/test/built-ins/TypedArray/prototype/keys/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/keys/BigInt/prop-desc.js
deleted file mode 100644
index 74b5908dc..000000000
--- a/test/built-ins/TypedArray/prototype/keys/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.keys
-description: >
- "keys" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'keys');
-verifyWritable(TypedArrayPrototype, 'keys');
-verifyConfigurable(TypedArrayPrototype, 'keys');
diff --git a/test/built-ins/TypedArray/prototype/keys/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/keys/BigInt/this-is-not-object.js
deleted file mode 100644
index 7fd0c8f05..000000000
--- a/test/built-ins/TypedArray/prototype/keys/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.keys
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.16 %TypedArray%.prototype.keys ( )
-
- The following steps are taken:
-
- 1. Let O be the this value.
- 2. Perform ? ValidateTypedArray(O).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var keys = TypedArray.prototype.keys;
-
-assert.throws(TypeError, function() {
- keys.call(undefined);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- keys.call(null);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- keys.call(42);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- keys.call("1");
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- keys.call(true);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- keys.call(false);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- keys.call(s);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/keys/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/keys/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 6978bfb3d..000000000
--- a/test/built-ins/TypedArray/prototype/keys/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.keys
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.16 %TypedArray%.prototype.keys ( )
-
- The following steps are taken:
-
- 1. Let O be the this value.
- 2. Perform ? ValidateTypedArray(O).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var keys = TypedArray.prototype.keys;
-
-assert.throws(TypeError, function() {
- keys.call({});
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- keys.call([]);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- keys.call(ab);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- keys.call(dv);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/invoked-as-func.js
deleted file mode 100644
index 3f9822050..000000000
--- a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.lastindexof
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.16 %TypedArray%.prototype.lastIndexOf ( searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var lastIndexOf = TypedArray.prototype.lastIndexOf;
-
-assert.sameValue(typeof lastIndexOf, 'function');
-
-assert.throws(TypeError, function() {
- lastIndexOf();
-});
diff --git a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/invoked-as-method.js
deleted file mode 100644
index 3f034e421..000000000
--- a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.lastindexof
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.16 %TypedArray%.prototype.lastIndexOf ( searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.lastIndexOf, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.lastIndexOf();
-});
diff --git a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/length.js b/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/length.js
deleted file mode 100644
index dbc89d473..000000000
--- a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.lastindexof
-description: >
- %TypedArray%.prototype.lastIndexOf.length is 1.
-info: |
- %TypedArray%.prototype.lastIndexOf ( searchElement [ , fromIndex ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.lastIndexOf.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.lastIndexOf, "length");
-verifyNotWritable(TypedArray.prototype.lastIndexOf, "length");
-verifyConfigurable(TypedArray.prototype.lastIndexOf, "length");
diff --git a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/name.js b/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/name.js
deleted file mode 100644
index b4216d190..000000000
--- a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.lastindexof
-description: >
- %TypedArray%.prototype.lastIndexOf.name is "lastIndexOf".
-info: |
- %TypedArray%.prototype.lastIndexOf ( searchElement [ , fromIndex ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.lastIndexOf.name, "lastIndexOf");
-
-verifyNotEnumerable(TypedArray.prototype.lastIndexOf, "name");
-verifyNotWritable(TypedArray.prototype.lastIndexOf, "name");
-verifyConfigurable(TypedArray.prototype.lastIndexOf, "name");
diff --git a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/prop-desc.js
deleted file mode 100644
index 52a04ab83..000000000
--- a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.lastindexof
-description: >
- "lastIndexOf" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'lastIndexOf');
-verifyWritable(TypedArrayPrototype, 'lastIndexOf');
-verifyConfigurable(TypedArrayPrototype, 'lastIndexOf');
diff --git a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/this-is-not-object.js
deleted file mode 100644
index 02a4312c0..000000000
--- a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.lastindexof
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.17 %TypedArray%.prototype.lastIndexOf ( searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var lastIndexOf = TypedArray.prototype.lastIndexOf;
-
-assert.throws(TypeError, function() {
- lastIndexOf.call(undefined, 42);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- lastIndexOf.call(null, 42);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- lastIndexOf.call(42, 42);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- lastIndexOf.call("1", 42);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- lastIndexOf.call(true, 42);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- lastIndexOf.call(false, 42);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- lastIndexOf.call(s, 42);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index e59dc5c53..000000000
--- a/test/built-ins/TypedArray/prototype/lastIndexOf/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.lastindexof
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.17 %TypedArray%.prototype.lastIndexOf ( searchElement [ , fromIndex ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var lastIndexOf = TypedArray.prototype.lastIndexOf;
-
-assert.throws(TypeError, function() {
- lastIndexOf.call({}, 42);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- lastIndexOf.call([], 42);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- lastIndexOf.call(ab, 42);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- lastIndexOf.call(dv, 42);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/map/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/map/BigInt/invoked-as-func.js
deleted file mode 100644
index 20e5bb534..000000000
--- a/test/built-ins/TypedArray/prototype/map/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.map
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.18 %TypedArray%.prototype.map ( callbackfn [ , thisArg ] )
-
- 1. Let O be the this value.
- 2. Let valid be ValidateTypedArray(O).
- 3. ReturnIfAbrupt(valid).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var map = TypedArray.prototype.map;
-
-assert.sameValue(typeof map, 'function');
-
-assert.throws(TypeError, function() {
- map();
-});
diff --git a/test/built-ins/TypedArray/prototype/map/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/map/BigInt/invoked-as-method.js
deleted file mode 100644
index 7f03579fd..000000000
--- a/test/built-ins/TypedArray/prototype/map/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.map
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.18 %TypedArray%.prototype.map ( callbackfn [ , thisArg ] )
-
- 1. Let O be the this value.
- 2. Let valid be ValidateTypedArray(O).
- 3. ReturnIfAbrupt(valid).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.map, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.map();
-});
diff --git a/test/built-ins/TypedArray/prototype/map/BigInt/length.js b/test/built-ins/TypedArray/prototype/map/BigInt/length.js
deleted file mode 100644
index 95a983b03..000000000
--- a/test/built-ins/TypedArray/prototype/map/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.map
-description: >
- %TypedArray%.prototype.map.length is 1.
-info: |
- %TypedArray%.prototype.map ( callbackfn [ , thisArg ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.map.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.map, "length");
-verifyNotWritable(TypedArray.prototype.map, "length");
-verifyConfigurable(TypedArray.prototype.map, "length");
diff --git a/test/built-ins/TypedArray/prototype/map/BigInt/name.js b/test/built-ins/TypedArray/prototype/map/BigInt/name.js
deleted file mode 100644
index 0f54d40cb..000000000
--- a/test/built-ins/TypedArray/prototype/map/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.map
-description: >
- %TypedArray%.prototype.map.name is "map".
-info: |
- %TypedArray%.prototype.map ( callbackfn [ , thisArg ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.map.name, "map");
-
-verifyNotEnumerable(TypedArray.prototype.map, "name");
-verifyNotWritable(TypedArray.prototype.map, "name");
-verifyConfigurable(TypedArray.prototype.map, "name");
diff --git a/test/built-ins/TypedArray/prototype/map/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/map/BigInt/prop-desc.js
deleted file mode 100644
index ea1d8805f..000000000
--- a/test/built-ins/TypedArray/prototype/map/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.map
-description: >
- "map" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'map');
-verifyWritable(TypedArrayPrototype, 'map');
-verifyConfigurable(TypedArrayPrototype, 'map');
diff --git a/test/built-ins/TypedArray/prototype/map/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/map/BigInt/this-is-not-object.js
deleted file mode 100644
index 50fa543a6..000000000
--- a/test/built-ins/TypedArray/prototype/map/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.map
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.19 %TypedArray%.prototype.map ( callbackfn [ , thisArg ] )
-
- 1. Let O be the this value.
- 2. Perform ? ValidateTypedArray(O).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var map = TypedArray.prototype.map;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- map.call(undefined, callbackfn);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- map.call(null, callbackfn);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- map.call(42, callbackfn);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- map.call("1", callbackfn);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- map.call(true, callbackfn);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- map.call(false, callbackfn);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- map.call(s, callbackfn);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/map/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/map/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 97266d749..000000000
--- a/test/built-ins/TypedArray/prototype/map/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.map
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.19 %TypedArray%.prototype.map ( callbackfn [ , thisArg ] )
-
- 1. Let O be the this value.
- 2. Perform ? ValidateTypedArray(O).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var map = TypedArray.prototype.map;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- map.call({}, callbackfn);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- map.call([], callbackfn);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- map.call(ab, callbackfn);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- map.call(dv, callbackfn);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/reduce/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/reduce/BigInt/invoked-as-func.js
deleted file mode 100644
index 6b0406b58..000000000
--- a/test/built-ins/TypedArray/prototype/reduce/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reduce
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.19 %TypedArray%.prototype.reduce ( callbackfn [ , initialValue ] )
-
- ...
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var reduce = TypedArray.prototype.reduce;
-
-assert.sameValue(typeof reduce, 'function');
-
-assert.throws(TypeError, function() {
- reduce();
-});
diff --git a/test/built-ins/TypedArray/prototype/reduce/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/reduce/BigInt/invoked-as-method.js
deleted file mode 100644
index 609adb498..000000000
--- a/test/built-ins/TypedArray/prototype/reduce/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reduce
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.19 %TypedArray%.prototype.reduce ( callbackfn [ , initialValue ] )
-
- ...
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.reduce, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.reduce();
-});
diff --git a/test/built-ins/TypedArray/prototype/reduce/BigInt/length.js b/test/built-ins/TypedArray/prototype/reduce/BigInt/length.js
deleted file mode 100644
index bb04ee94f..000000000
--- a/test/built-ins/TypedArray/prototype/reduce/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.reduce
-description: >
- %TypedArray%.prototype.reduce.length is 1.
-info: |
- %TypedArray%.prototype.reduce ( callbackfn [ , thisArg ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.reduce.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.reduce, "length");
-verifyNotWritable(TypedArray.prototype.reduce, "length");
-verifyConfigurable(TypedArray.prototype.reduce, "length");
diff --git a/test/built-ins/TypedArray/prototype/reduce/BigInt/name.js b/test/built-ins/TypedArray/prototype/reduce/BigInt/name.js
deleted file mode 100644
index e07d1dfa5..000000000
--- a/test/built-ins/TypedArray/prototype/reduce/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.reduce
-description: >
- %TypedArray%.prototype.reduce.name is "reduce".
-info: |
- %TypedArray%.prototype.reduce ( callbackfn [ , thisArg ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.reduce.name, "reduce");
-
-verifyNotEnumerable(TypedArray.prototype.reduce, "name");
-verifyNotWritable(TypedArray.prototype.reduce, "name");
-verifyConfigurable(TypedArray.prototype.reduce, "name");
diff --git a/test/built-ins/TypedArray/prototype/reduce/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/reduce/BigInt/prop-desc.js
deleted file mode 100644
index ed8d8a42c..000000000
--- a/test/built-ins/TypedArray/prototype/reduce/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reduce
-description: >
- "reduce" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'reduce');
-verifyWritable(TypedArrayPrototype, 'reduce');
-verifyConfigurable(TypedArrayPrototype, 'reduce');
diff --git a/test/built-ins/TypedArray/prototype/reduce/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/reduce/BigInt/this-is-not-object.js
deleted file mode 100644
index 14680f3d4..000000000
--- a/test/built-ins/TypedArray/prototype/reduce/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reduce
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.20 %TypedArray%.prototype.reduce ( callbackfn [ , initialValue ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var reduce = TypedArray.prototype.reduce;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- reduce.call(undefined, callbackfn);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- reduce.call(null, callbackfn);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- reduce.call(42, callbackfn);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- reduce.call("1", callbackfn);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- reduce.call(true, callbackfn);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- reduce.call(false, callbackfn);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- reduce.call(s, callbackfn);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/reduce/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/reduce/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 6dedc8cd2..000000000
--- a/test/built-ins/TypedArray/prototype/reduce/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reduce
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.20 %TypedArray%.prototype.reduce ( callbackfn [ , initialValue ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var reduce = TypedArray.prototype.reduce;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- reduce.call({}, callbackfn);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- reduce.call([], callbackfn);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- reduce.call(ab, callbackfn);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- reduce.call(dv, callbackfn);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/reduceRight/BigInt/invoked-as-func.js
deleted file mode 100644
index 9a0fec093..000000000
--- a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reduceright
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.20 %TypedArray%.prototype.reduceRight ( callbackfn [ , initialValue ] )
-
- ...
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var reduceRight = TypedArray.prototype.reduceRight;
-
-assert.sameValue(typeof reduceRight, 'function');
-
-assert.throws(TypeError, function() {
- reduceRight();
-});
diff --git a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/reduceRight/BigInt/invoked-as-method.js
deleted file mode 100644
index d36832aa2..000000000
--- a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reduceright
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.20 %TypedArray%.prototype.reduceRight ( callbackfn [ , initialValue ] )
-
- ...
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.reduceRight, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.reduceRight();
-});
diff --git a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/length.js b/test/built-ins/TypedArray/prototype/reduceRight/BigInt/length.js
deleted file mode 100644
index 8cf3d8d6a..000000000
--- a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.reduceright
-description: >
- %TypedArray%.prototype.reduceRight.length is 1.
-info: |
- %TypedArray%.prototype.reduceRight ( callbackfn [ , thisArg ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.reduceRight.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.reduceRight, "length");
-verifyNotWritable(TypedArray.prototype.reduceRight, "length");
-verifyConfigurable(TypedArray.prototype.reduceRight, "length");
diff --git a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/name.js b/test/built-ins/TypedArray/prototype/reduceRight/BigInt/name.js
deleted file mode 100644
index fb63b3a35..000000000
--- a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.reduceright
-description: >
- %TypedArray%.prototype.reduceRight.name is "reduceRight".
-info: |
- %TypedArray%.prototype.reduceRight ( callbackfn [ , thisArg ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.reduceRight.name, "reduceRight");
-
-verifyNotEnumerable(TypedArray.prototype.reduceRight, "name");
-verifyNotWritable(TypedArray.prototype.reduceRight, "name");
-verifyConfigurable(TypedArray.prototype.reduceRight, "name");
diff --git a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/reduceRight/BigInt/prop-desc.js
deleted file mode 100644
index 0d6f4d2fd..000000000
--- a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reduceright
-description: >
- "reduceRight" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'reduceRight');
-verifyWritable(TypedArrayPrototype, 'reduceRight');
-verifyConfigurable(TypedArrayPrototype, 'reduceRight');
diff --git a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/reduceRight/BigInt/this-is-not-object.js
deleted file mode 100644
index fccf9de2b..000000000
--- a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reduceright
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.21 %TypedArray%.prototype.reduceRight ( callbackfn [ , initialValue ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var reduceRight = TypedArray.prototype.reduceRight;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- reduceRight.call(undefined, callbackfn);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- reduceRight.call(null, callbackfn);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- reduceRight.call(42, callbackfn);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- reduceRight.call("1", callbackfn);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- reduceRight.call(true, callbackfn);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- reduceRight.call(false, callbackfn);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- reduceRight.call(s, callbackfn);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/reduceRight/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 8092e93e9..000000000
--- a/test/built-ins/TypedArray/prototype/reduceRight/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reduceright
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.21 %TypedArray%.prototype.reduceRight ( callbackfn [ , initialValue ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var reduceRight = TypedArray.prototype.reduceRight;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- reduceRight.call({}, callbackfn);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- reduceRight.call([], callbackfn);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- reduceRight.call(ab, callbackfn);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- reduceRight.call(dv, callbackfn);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/reverse/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/reverse/BigInt/invoked-as-func.js
deleted file mode 100644
index 48e16d6be..000000000
--- a/test/built-ins/TypedArray/prototype/reverse/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reverse
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.21 %TypedArray%.prototype.reverse ( )
-
- ...
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var reverse = TypedArray.prototype.reverse;
-
-assert.sameValue(typeof reverse, 'function');
-
-assert.throws(TypeError, function() {
- reverse();
-});
diff --git a/test/built-ins/TypedArray/prototype/reverse/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/reverse/BigInt/invoked-as-method.js
deleted file mode 100644
index 601ce65ff..000000000
--- a/test/built-ins/TypedArray/prototype/reverse/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reverse
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.21 %TypedArray%.prototype.reverse ( )
-
- ...
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.reverse, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.reverse();
-});
diff --git a/test/built-ins/TypedArray/prototype/reverse/BigInt/length.js b/test/built-ins/TypedArray/prototype/reverse/BigInt/length.js
deleted file mode 100644
index 22545aeb0..000000000
--- a/test/built-ins/TypedArray/prototype/reverse/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.reverse
-description: >
- %TypedArray%.prototype.reverse.length is 0.
-info: |
- %TypedArray%.prototype.reverse ( )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.reverse.length, 0);
-
-verifyNotEnumerable(TypedArray.prototype.reverse, "length");
-verifyNotWritable(TypedArray.prototype.reverse, "length");
-verifyConfigurable(TypedArray.prototype.reverse, "length");
diff --git a/test/built-ins/TypedArray/prototype/reverse/BigInt/name.js b/test/built-ins/TypedArray/prototype/reverse/BigInt/name.js
deleted file mode 100644
index 2fda014b2..000000000
--- a/test/built-ins/TypedArray/prototype/reverse/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.reverse
-description: >
- %TypedArray%.prototype.reverse.name is "reverse".
-info: |
- %TypedArray%.prototype.reverse ( )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.reverse.name, "reverse");
-
-verifyNotEnumerable(TypedArray.prototype.reverse, "name");
-verifyNotWritable(TypedArray.prototype.reverse, "name");
-verifyConfigurable(TypedArray.prototype.reverse, "name");
diff --git a/test/built-ins/TypedArray/prototype/reverse/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/reverse/BigInt/prop-desc.js
deleted file mode 100644
index 3bd6e881d..000000000
--- a/test/built-ins/TypedArray/prototype/reverse/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reverse
-description: >
- "reverse" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'reverse');
-verifyWritable(TypedArrayPrototype, 'reverse');
-verifyConfigurable(TypedArrayPrototype, 'reverse');
diff --git a/test/built-ins/TypedArray/prototype/reverse/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/reverse/BigInt/this-is-not-object.js
deleted file mode 100644
index 82255a345..000000000
--- a/test/built-ins/TypedArray/prototype/reverse/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reverse
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.22 %TypedArray%.prototype.reverse ( )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var reverse = TypedArray.prototype.reverse;
-
-assert.throws(TypeError, function() {
- reverse.call(undefined);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- reverse.call(null);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- reverse.call(42);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- reverse.call("1");
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- reverse.call(true);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- reverse.call(false);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- reverse.call(s);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/reverse/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/reverse/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 07b5138d9..000000000
--- a/test/built-ins/TypedArray/prototype/reverse/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.reverse
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.22 %TypedArray%.prototype.reverse ( )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var reverse = TypedArray.prototype.reverse;
-
-assert.throws(TypeError, function() {
- reverse.call({});
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- reverse.call([]);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- reverse.call(ab);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- reverse.call(dv);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/set/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/set/BigInt/invoked-as-func.js
deleted file mode 100644
index ee55b5aa4..000000000
--- a/test/built-ins/TypedArray/prototype/set/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.set
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.22 %TypedArray%.prototype.set ( overloaded [ , offset ])
-
- This function is not generic. The this value must be an object with a
- [[TypedArrayName]] internal slot.
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var set = TypedArray.prototype.set;
-
-assert.sameValue(typeof set, 'function');
-
-assert.throws(TypeError, function() {
- set();
-});
diff --git a/test/built-ins/TypedArray/prototype/set/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/set/BigInt/invoked-as-method.js
deleted file mode 100644
index 1b0a08698..000000000
--- a/test/built-ins/TypedArray/prototype/set/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.set
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.22 %TypedArray%.prototype.set ( overloaded [ , offset ])
-
- This function is not generic. The this value must be an object with a
- [[TypedArrayName]] internal slot.
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.set, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.set();
-});
diff --git a/test/built-ins/TypedArray/prototype/set/BigInt/length.js b/test/built-ins/TypedArray/prototype/set/BigInt/length.js
deleted file mode 100644
index 2f1001cd0..000000000
--- a/test/built-ins/TypedArray/prototype/set/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.set
-description: >
- %TypedArray%.prototype.set.length is 1.
-info: |
- %TypedArray%.prototype.set ( overloaded [ , offset ])
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.set.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.set, "length");
-verifyNotWritable(TypedArray.prototype.set, "length");
-verifyConfigurable(TypedArray.prototype.set, "length");
diff --git a/test/built-ins/TypedArray/prototype/set/BigInt/name.js b/test/built-ins/TypedArray/prototype/set/BigInt/name.js
deleted file mode 100644
index 85d386c7c..000000000
--- a/test/built-ins/TypedArray/prototype/set/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.set
-description: >
- %TypedArray%.prototype.set.name is "set".
-info: |
- %TypedArray%.prototype.set ( overloaded [ , offset ])
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.set.name, "set");
-
-verifyNotEnumerable(TypedArray.prototype.set, "name");
-verifyNotWritable(TypedArray.prototype.set, "name");
-verifyConfigurable(TypedArray.prototype.set, "name");
diff --git a/test/built-ins/TypedArray/prototype/set/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/set/BigInt/prop-desc.js
deleted file mode 100644
index ca3c8bc15..000000000
--- a/test/built-ins/TypedArray/prototype/set/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.set
-description: >
- "set" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'set');
-verifyWritable(TypedArrayPrototype, 'set');
-verifyConfigurable(TypedArrayPrototype, 'set');
diff --git a/test/built-ins/TypedArray/prototype/set/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/set/BigInt/this-is-not-object.js
deleted file mode 100644
index d1b6242e9..000000000
--- a/test/built-ins/TypedArray/prototype/set/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,75 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.set-overloaded-offset
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.23 %TypedArray%.prototype.set
-
- ...
- 2. Let target be the this value.
- 3. If Type(target) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var set = TypedArray.prototype.set;
-
-assert.throws(TypeError, function() {
- set.call(undefined, []);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- set.call(null, []);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- set.call(undefined, new Int8Array());
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- set.call(null, new Int8Array());
-}, "this is null");
-
-assert.throws(TypeError, function() {
- set.call(42, []);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- set.call("1", []);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- set.call(true, []);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- set.call(false, []);
-}, "this is false");
-
-var s1 = Symbol("s");
-assert.throws(TypeError, function() {
- set.call(s1, []);
-}, "this is a Symbol");
-
-assert.throws(TypeError, function() {
- set.call(42, new Int8Array(1));
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- set.call("1", new Int8Array(1));
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- set.call(true, new Int8Array(1));
-}, "this is true");
-
-assert.throws(TypeError, function() {
- set.call(false, new Int8Array(1));
-}, "this is false");
-
-var s2 = Symbol("s");
-assert.throws(TypeError, function() {
- set.call(s2, new Int8Array(1));
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/set/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/set/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 77220ea6a..000000000
--- a/test/built-ins/TypedArray/prototype/set/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.set-overloaded-offset
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.23 %TypedArray%.prototype.set
-
- ...
- 2. Let target be the this value.
- 3. If Type(target) is not Object, throw a TypeError exception.
- 4. If target does not have a [[TypedArrayName]] internal slot, throw a
- TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var set = TypedArray.prototype.set;
-
-assert.throws(TypeError, function() {
- set.call({}, []);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- set.call([], []);
-}, "this is an Array");
-
-var ab1 = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- set.call(ab1, []);
-}, "this is an ArrayBuffer instance");
-
-var dv1 = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- set.call(dv1, []);
-}, "this is a DataView instance");
-
-assert.throws(TypeError, function() {
- set.call({}, new Int8Array());
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- set.call([], new Int8Array());
-}, "this is an Array");
-
-var ab2 = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- set.call(ab2, new Int8Array());
-}, "this is an ArrayBuffer instance");
-
-var dv2 = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- set.call(dv2, new Int8Array());
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/slice/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/slice/BigInt/invoked-as-func.js
deleted file mode 100644
index 31645fbb4..000000000
--- a/test/built-ins/TypedArray/prototype/slice/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.slice
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.23 %TypedArray%.prototype.slice ( start, end )
-
- 1. Let O be the this value.
- 2. Let valid be ValidateTypedArray(O).
- 3. ReturnIfAbrupt(valid).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var slice = TypedArray.prototype.slice;
-
-assert.sameValue(typeof slice, 'function');
-
-assert.throws(TypeError, function() {
- slice();
-});
diff --git a/test/built-ins/TypedArray/prototype/slice/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/slice/BigInt/invoked-as-method.js
deleted file mode 100644
index 4b9c7c4ff..000000000
--- a/test/built-ins/TypedArray/prototype/slice/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.slice
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.23 %TypedArray%.prototype.slice ( start, end )
-
- 1. Let O be the this value.
- 2. Let valid be ValidateTypedArray(O).
- 3. ReturnIfAbrupt(valid).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.slice, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.slice();
-});
diff --git a/test/built-ins/TypedArray/prototype/slice/BigInt/length.js b/test/built-ins/TypedArray/prototype/slice/BigInt/length.js
deleted file mode 100644
index 57d76ac14..000000000
--- a/test/built-ins/TypedArray/prototype/slice/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.slice
-description: >
- %TypedArray%.prototype.slice.length is 2.
-info: |
- %TypedArray%.prototype.slice ( start, end )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.slice.length, 2);
-
-verifyNotEnumerable(TypedArray.prototype.slice, "length");
-verifyNotWritable(TypedArray.prototype.slice, "length");
-verifyConfigurable(TypedArray.prototype.slice, "length");
diff --git a/test/built-ins/TypedArray/prototype/slice/BigInt/name.js b/test/built-ins/TypedArray/prototype/slice/BigInt/name.js
deleted file mode 100644
index 4021a1c50..000000000
--- a/test/built-ins/TypedArray/prototype/slice/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.slice
-description: >
- %TypedArray%.prototype.slice.name is "slice".
-info: |
- %TypedArray%.prototype.slice ( start, end )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.slice.name, "slice");
-
-verifyNotEnumerable(TypedArray.prototype.slice, "name");
-verifyNotWritable(TypedArray.prototype.slice, "name");
-verifyConfigurable(TypedArray.prototype.slice, "name");
diff --git a/test/built-ins/TypedArray/prototype/slice/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/slice/BigInt/prop-desc.js
deleted file mode 100644
index d97889d47..000000000
--- a/test/built-ins/TypedArray/prototype/slice/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.slice
-description: >
- "slice" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'slice');
-verifyWritable(TypedArrayPrototype, 'slice');
-verifyConfigurable(TypedArrayPrototype, 'slice');
diff --git a/test/built-ins/TypedArray/prototype/slice/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/slice/BigInt/this-is-not-object.js
deleted file mode 100644
index a16cf1c8c..000000000
--- a/test/built-ins/TypedArray/prototype/slice/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.slice
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.24 %TypedArray%.prototype.slice ( start, end )
-
- The following steps are taken:
-
- 1. Let O be the this value.
- 2. Perform ? ValidateTypedArray(O).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var slice = TypedArray.prototype.slice;
-
-assert.throws(TypeError, function() {
- slice.call(undefined, 0, 0);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- slice.call(null, 0, 0);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- slice.call(42, 0, 0);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- slice.call("1", 0, 0);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- slice.call(true, 0, 0);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- slice.call(false, 0, 0);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- slice.call(s, 0, 0);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/slice/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/slice/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index ad429c8a1..000000000
--- a/test/built-ins/TypedArray/prototype/slice/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.slice
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.24 %TypedArray%.prototype.slice ( start, end )
-
- The following steps are taken:
-
- 1. Let O be the this value.
- 2. Perform ? ValidateTypedArray(O).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var slice = TypedArray.prototype.slice;
-
-assert.throws(TypeError, function() {
- slice.call({}, 0, 0);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- slice.call([], 0, 0);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- slice.call(ab, 0, 0);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- slice.call(dv, 0, 0);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/some/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/some/BigInt/invoked-as-func.js
deleted file mode 100644
index 4be0d0c6c..000000000
--- a/test/built-ins/TypedArray/prototype/some/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.some
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.24 %TypedArray%.prototype.some ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var some = TypedArray.prototype.some;
-
-assert.sameValue(typeof some, 'function');
-
-assert.throws(TypeError, function() {
- some();
-});
diff --git a/test/built-ins/TypedArray/prototype/some/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/some/BigInt/invoked-as-method.js
deleted file mode 100644
index 71b8fd36d..000000000
--- a/test/built-ins/TypedArray/prototype/some/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.some
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.24 %TypedArray%.prototype.some ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.some, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.some();
-});
diff --git a/test/built-ins/TypedArray/prototype/some/BigInt/length.js b/test/built-ins/TypedArray/prototype/some/BigInt/length.js
deleted file mode 100644
index ee214df0f..000000000
--- a/test/built-ins/TypedArray/prototype/some/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.some
-description: >
- %TypedArray%.prototype.some.length is 1.
-info: |
- %TypedArray%.prototype.some ( callbackfn [ , thisArg ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.some.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.some, "length");
-verifyNotWritable(TypedArray.prototype.some, "length");
-verifyConfigurable(TypedArray.prototype.some, "length");
diff --git a/test/built-ins/TypedArray/prototype/some/BigInt/name.js b/test/built-ins/TypedArray/prototype/some/BigInt/name.js
deleted file mode 100644
index 8bf75d8ea..000000000
--- a/test/built-ins/TypedArray/prototype/some/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.some
-description: >
- %TypedArray%.prototype.some.name is "some".
-info: |
- %TypedArray%.prototype.some ( callbackfn [ , thisArg ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.some.name, "some");
-
-verifyNotEnumerable(TypedArray.prototype.some, "name");
-verifyNotWritable(TypedArray.prototype.some, "name");
-verifyConfigurable(TypedArray.prototype.some, "name");
diff --git a/test/built-ins/TypedArray/prototype/some/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/some/BigInt/prop-desc.js
deleted file mode 100644
index 59a567362..000000000
--- a/test/built-ins/TypedArray/prototype/some/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.some
-description: >
- "some" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'some');
-verifyWritable(TypedArrayPrototype, 'some');
-verifyConfigurable(TypedArrayPrototype, 'some');
diff --git a/test/built-ins/TypedArray/prototype/some/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/some/BigInt/this-is-not-object.js
deleted file mode 100644
index cc7aba63f..000000000
--- a/test/built-ins/TypedArray/prototype/some/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.some
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.25 %TypedArray%.prototype.some ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var some = TypedArray.prototype.some;
-var callbackfn = function() {};
-
-assert.throws(TypeError, function() {
- some.call(undefined, callbackfn);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- some.call(null, callbackfn);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- some.call(42, callbackfn);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- some.call("1", callbackfn);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- some.call(true, callbackfn);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- some.call(false, callbackfn);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- some.call(s, callbackfn);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/some/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/some/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 3cc3bb41f..000000000
--- a/test/built-ins/TypedArray/prototype/some/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.some
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.25 %TypedArray%.prototype.some ( callbackfn [ , thisArg ] )
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var some = TypedArray.prototype.some;
-var callbackfn = function () {};
-
-assert.throws(TypeError, function() {
- some.call({}, callbackfn);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- some.call([], callbackfn);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- some.call(ab, callbackfn);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- some.call(dv, callbackfn);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/sort/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/sort/BigInt/invoked-as-func.js
deleted file mode 100644
index 760443c6f..000000000
--- a/test/built-ins/TypedArray/prototype/sort/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.sort
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.25 %TypedArray%.prototype.sort ( comparefn )
-
- ...
- This function is not generic. The this value must be an object with a
- [[TypedArrayName]] internal slot.
- ...
-
- 1. Let obj be the this value as the argument.
- 2. Let buffer be ValidateTypedArray(obj).
- 3. ReturnIfAbrupt(buffer).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var sort = TypedArray.prototype.sort;
-
-assert.sameValue(typeof sort, 'function');
-
-assert.throws(TypeError, function() {
- sort();
-});
diff --git a/test/built-ins/TypedArray/prototype/sort/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/sort/BigInt/invoked-as-method.js
deleted file mode 100644
index e288c99e5..000000000
--- a/test/built-ins/TypedArray/prototype/sort/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.sort
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.25 %TypedArray%.prototype.sort ( comparefn )
-
- ...
- This function is not generic. The this value must be an object with a
- [[TypedArrayName]] internal slot.
- ...
-
- 1. Let obj be the this value as the argument.
- 2. Let buffer be ValidateTypedArray(obj).
- 3. ReturnIfAbrupt(buffer).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.sort, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.sort();
-});
diff --git a/test/built-ins/TypedArray/prototype/sort/BigInt/length.js b/test/built-ins/TypedArray/prototype/sort/BigInt/length.js
deleted file mode 100644
index c6bbb9f28..000000000
--- a/test/built-ins/TypedArray/prototype/sort/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.sort
-description: >
- %TypedArray%.prototype.sort.length is 1.
-info: |
- %TypedArray%.prototype.sort ( comparefn )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.sort.length, 1);
-
-verifyNotEnumerable(TypedArray.prototype.sort, "length");
-verifyNotWritable(TypedArray.prototype.sort, "length");
-verifyConfigurable(TypedArray.prototype.sort, "length");
diff --git a/test/built-ins/TypedArray/prototype/sort/BigInt/name.js b/test/built-ins/TypedArray/prototype/sort/BigInt/name.js
deleted file mode 100644
index 5f516c540..000000000
--- a/test/built-ins/TypedArray/prototype/sort/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.sort
-description: >
- %TypedArray%.prototype.sort.name is "sort".
-info: |
- %TypedArray%.prototype.sort ( comparefn )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.sort.name, "sort");
-
-verifyNotEnumerable(TypedArray.prototype.sort, "name");
-verifyNotWritable(TypedArray.prototype.sort, "name");
-verifyConfigurable(TypedArray.prototype.sort, "name");
diff --git a/test/built-ins/TypedArray/prototype/sort/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/sort/BigInt/prop-desc.js
deleted file mode 100644
index 86fc9e32b..000000000
--- a/test/built-ins/TypedArray/prototype/sort/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.sort
-description: >
- "sort" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'sort');
-verifyWritable(TypedArrayPrototype, 'sort');
-verifyConfigurable(TypedArrayPrototype, 'sort');
diff --git a/test/built-ins/TypedArray/prototype/sort/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/sort/BigInt/this-is-not-object.js
deleted file mode 100644
index 9c8a4c7fb..000000000
--- a/test/built-ins/TypedArray/prototype/sort/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.sort
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.26 %TypedArray%.prototype.sort ( comparefn )
-
- 1. Let obj be the this value as the argument.
- 2. Let buffer be ? ValidateTypedArray(obj).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var sort = TypedArray.prototype.sort;
-var comparefn = function() {};
-
-assert.throws(TypeError, function() {
- sort.call(undefined, comparefn);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- sort.call(null, comparefn);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- sort.call(42, comparefn);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- sort.call("1", comparefn);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- sort.call(true, comparefn);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- sort.call(false, comparefn);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- sort.call(s, comparefn);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/sort/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/sort/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 74e47bae5..000000000
--- a/test/built-ins/TypedArray/prototype/sort/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.sort
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.26 %TypedArray%.prototype.sort ( comparefn )
-
- 1. Let obj be the this value as the argument.
- 2. Let buffer be ? ValidateTypedArray(obj).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var sort = TypedArray.prototype.sort;
-var comparefn = function() {};
-
-assert.throws(TypeError, function() {
- sort.call({}, comparefn);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- sort.call([], comparefn);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- sort.call(ab, comparefn);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- sort.call(dv, comparefn);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/subarray/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/subarray/BigInt/invoked-as-func.js
deleted file mode 100644
index dc28bbf0e..000000000
--- a/test/built-ins/TypedArray/prototype/subarray/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.subarray
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.26 %TypedArray%.prototype.subarray( [ begin [ , end ] ] )
-
- 1. Let O be the this value.
- 2. If Type(O) is not Object, throw a TypeError exception.
- 3. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var subarray = TypedArray.prototype.subarray;
-
-assert.sameValue(typeof subarray, 'function');
-
-assert.throws(TypeError, function() {
- subarray();
-});
diff --git a/test/built-ins/TypedArray/prototype/subarray/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/subarray/BigInt/invoked-as-method.js
deleted file mode 100644
index 887e139bc..000000000
--- a/test/built-ins/TypedArray/prototype/subarray/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.subarray
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.26 %TypedArray%.prototype.subarray( [ begin [ , end ] ] )
-
- 1. Let O be the this value.
- 2. If Type(O) is not Object, throw a TypeError exception.
- 3. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.subarray, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.subarray();
-});
diff --git a/test/built-ins/TypedArray/prototype/subarray/BigInt/length.js b/test/built-ins/TypedArray/prototype/subarray/BigInt/length.js
deleted file mode 100644
index 818891a63..000000000
--- a/test/built-ins/TypedArray/prototype/subarray/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.subarray
-description: >
- %TypedArray%.prototype.subarray.length is 2.
-info: |
- %TypedArray%.prototype.subarray( [ begin [ , end ] ] )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.subarray.length, 2);
-
-verifyNotEnumerable(TypedArray.prototype.subarray, "length");
-verifyNotWritable(TypedArray.prototype.subarray, "length");
-verifyConfigurable(TypedArray.prototype.subarray, "length");
diff --git a/test/built-ins/TypedArray/prototype/subarray/BigInt/name.js b/test/built-ins/TypedArray/prototype/subarray/BigInt/name.js
deleted file mode 100644
index 30c47e577..000000000
--- a/test/built-ins/TypedArray/prototype/subarray/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.subarray
-description: >
- %TypedArray%.prototype.subarray.name is "subarray".
-info: |
- %TypedArray%.prototype.subarray( [ begin [ , end ] ] )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.subarray.name, "subarray");
-
-verifyNotEnumerable(TypedArray.prototype.subarray, "name");
-verifyNotWritable(TypedArray.prototype.subarray, "name");
-verifyConfigurable(TypedArray.prototype.subarray, "name");
diff --git a/test/built-ins/TypedArray/prototype/subarray/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/subarray/BigInt/prop-desc.js
deleted file mode 100644
index 218949025..000000000
--- a/test/built-ins/TypedArray/prototype/subarray/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.subarray
-description: >
- "subarray" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'subarray');
-verifyWritable(TypedArrayPrototype, 'subarray');
-verifyConfigurable(TypedArrayPrototype, 'subarray');
diff --git a/test/built-ins/TypedArray/prototype/subarray/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/subarray/BigInt/this-is-not-object.js
deleted file mode 100644
index 976731c66..000000000
--- a/test/built-ins/TypedArray/prototype/subarray/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.subarray
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.27 %TypedArray%.prototype.subarray( begin , end )
-
- The following steps are taken:
-
- 1. Let O be the this value.
- 2. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var subarray = TypedArray.prototype.subarray;
-
-assert.throws(TypeError, function() {
- subarray.call(undefined, 0, 0);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- subarray.call(null, 0, 0);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- subarray.call(42, 0, 0);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- subarray.call("1", 0, 0);
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- subarray.call(true, 0, 0);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- subarray.call(false, 0, 0);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- subarray.call(s, 0, 0);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/subarray/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/subarray/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 275f5e2bd..000000000
--- a/test/built-ins/TypedArray/prototype/subarray/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.subarray
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.9 %TypedArray%.prototype.subarray( begin , end )
-
- The following steps are taken:
-
- 1. Let O be the this value.
- 2. If Type(O) is not Object, throw a TypeError exception.
- 3. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var subarray = TypedArray.prototype.subarray;
-
-assert.throws(TypeError, function() {
- subarray.call({}, 0, 0);
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- subarray.call([], 0, 0);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- subarray.call(ab, 0, 0);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- subarray.call(dv, 0, 0);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/invoked-as-func.js
deleted file mode 100644
index f8e43830d..000000000
--- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.tolocalestring
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.27 %TypedArray%.prototype.toLocaleString ([ reserved1 [ , reserved2 ] ])
-
- ...
-
- This function is not generic. ValidateTypedArray is applied to the this
- value prior to evaluating the algorithm. If its result is an abrupt
- completion that exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var toLocaleString = TypedArray.prototype.toLocaleString;
-
-assert.sameValue(typeof toLocaleString, 'function');
-
-assert.throws(TypeError, function() {
- toLocaleString();
-});
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/invoked-as-method.js
deleted file mode 100644
index 977734f74..000000000
--- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.tolocalestring
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.27 %TypedArray%.prototype.toLocaleString ([ reserved1 [ , reserved2 ] ])
-
- ...
-
- This function is not generic. ValidateTypedArray is applied to the this
- value prior to evaluating the algorithm. If its result is an abrupt
- completion that exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.toLocaleString, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.toLocaleString();
-});
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/length.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/length.js
deleted file mode 100644
index 1bf9e889b..000000000
--- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.tolocalestring
-description: >
- %TypedArray%.prototype.toLocaleString.length is 0.
-info: |
- %TypedArray%.prototype.toLocaleString ([ reserved1 [ , reserved2 ] ])
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.toLocaleString.length, 0);
-
-verifyNotEnumerable(TypedArray.prototype.toLocaleString, "length");
-verifyNotWritable(TypedArray.prototype.toLocaleString, "length");
-verifyConfigurable(TypedArray.prototype.toLocaleString, "length");
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/name.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/name.js
deleted file mode 100644
index 87a238ad1..000000000
--- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.tolocalestring
-description: >
- %TypedArray%.prototype.toLocaleString.name is "toLocaleString".
-info: |
- %TypedArray%.prototype.toLocaleString ([ reserved1 [ , reserved2 ] ])
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.toLocaleString.name, "toLocaleString");
-
-verifyNotEnumerable(TypedArray.prototype.toLocaleString, "name");
-verifyNotWritable(TypedArray.prototype.toLocaleString, "name");
-verifyConfigurable(TypedArray.prototype.toLocaleString, "name");
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/prop-desc.js
deleted file mode 100644
index 81d0cd374..000000000
--- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.tolocalestring
-description: >
- "toLocaleString" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through 26
- and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'toLocaleString');
-verifyWritable(TypedArrayPrototype, 'toLocaleString');
-verifyConfigurable(TypedArrayPrototype, 'toLocaleString');
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/this-is-not-object.js
deleted file mode 100644
index b67bf77c4..000000000
--- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.tolocalestring
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.28 %TypedArray%.prototype.toLocaleString ([ reserved1 [ , reserved2 ] ])
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var toLocaleString = TypedArray.prototype.toLocaleString;
-
-assert.throws(TypeError, function() {
- toLocaleString.call(undefined);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- toLocaleString.call(null);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- toLocaleString.call(42);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- toLocaleString.call("1");
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- toLocaleString.call(true);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- toLocaleString.call(false);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- toLocaleString.call(s);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index f98c9b5c0..000000000
--- a/test/built-ins/TypedArray/prototype/toLocaleString/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.tolocalestring
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.28 %TypedArray%.prototype.toLocaleString ([ reserved1 [ , reserved2 ] ])
-
- This function is not generic. ValidateTypedArray is applied to the this value
- prior to evaluating the algorithm. If its result is an abrupt completion that
- exception is thrown instead of evaluating the algorithm.
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var toLocaleString = TypedArray.prototype.toLocaleString;
-
-assert.throws(TypeError, function() {
- toLocaleString.call({});
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- toLocaleString.call([]);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- toLocaleString.call(ab);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- toLocaleString.call(dv);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArray/prototype/values/BigInt/invoked-as-func.js b/test/built-ins/TypedArray/prototype/values/BigInt/invoked-as-func.js
deleted file mode 100644
index 26607d78a..000000000
--- a/test/built-ins/TypedArray/prototype/values/BigInt/invoked-as-func.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.values
-description: Throws a TypeError exception when invoked as a function
-info: |
- 22.2.3.29 %TypedArray%.prototype.values ( )
-
- 1. Let O be the this value.
- 2. Let valid be ValidateTypedArray(O).
- 3. ReturnIfAbrupt(valid).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var values = TypedArray.prototype.values;
-
-assert.sameValue(typeof values, 'function');
-
-assert.throws(TypeError, function() {
- values();
-});
diff --git a/test/built-ins/TypedArray/prototype/values/BigInt/invoked-as-method.js b/test/built-ins/TypedArray/prototype/values/BigInt/invoked-as-method.js
deleted file mode 100644
index cec67a6de..000000000
--- a/test/built-ins/TypedArray/prototype/values/BigInt/invoked-as-method.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.values
-description: Requires a [[TypedArrayName]] internal slot.
-info: |
- 22.2.3.29 %TypedArray%.prototype.values ( )
-
- 1. Let O be the this value.
- 2. Let valid be ValidateTypedArray(O).
- 3. ReturnIfAbrupt(valid).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-assert.sameValue(typeof TypedArrayPrototype.values, 'function');
-
-assert.throws(TypeError, function() {
- TypedArrayPrototype.values();
-});
diff --git a/test/built-ins/TypedArray/prototype/values/BigInt/length.js b/test/built-ins/TypedArray/prototype/values/BigInt/length.js
deleted file mode 100644
index ce420f0ae..000000000
--- a/test/built-ins/TypedArray/prototype/values/BigInt/length.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.values
-description: >
- %TypedArray%.prototype.values.length is 0.
-info: |
- %TypedArray%.prototype.values ( )
-
- 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, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.values.length, 0);
-
-verifyNotEnumerable(TypedArray.prototype.values, "length");
-verifyNotWritable(TypedArray.prototype.values, "length");
-verifyConfigurable(TypedArray.prototype.values, "length");
diff --git a/test/built-ins/TypedArray/prototype/values/BigInt/name.js b/test/built-ins/TypedArray/prototype/values/BigInt/name.js
deleted file mode 100644
index cc8ad3aed..000000000
--- a/test/built-ins/TypedArray/prototype/values/BigInt/name.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2015 André Bargull. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-esid: sec-%typedarray%.prototype.values
-description: >
- %TypedArray%.prototype.values.name is "values".
-info: |
- %TypedArray%.prototype.values ( )
-
- 17 ECMAScript Standard Built-in Objects:
- Every built-in Function object, including constructors, that is not
- identified as an anonymous function has a name property whose value
- is a String.
-
- Unless otherwise specified, the name property of a built-in Function
- object, if it exists, has the attributes { [[Writable]]: false,
- [[Enumerable]]: false, [[Configurable]]: true }.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-assert.sameValue(TypedArray.prototype.values.name, "values");
-
-verifyNotEnumerable(TypedArray.prototype.values, "name");
-verifyNotWritable(TypedArray.prototype.values, "name");
-verifyConfigurable(TypedArray.prototype.values, "name");
diff --git a/test/built-ins/TypedArray/prototype/values/BigInt/prop-desc.js b/test/built-ins/TypedArray/prototype/values/BigInt/prop-desc.js
deleted file mode 100644
index b805b7e8c..000000000
--- a/test/built-ins/TypedArray/prototype/values/BigInt/prop-desc.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.values
-description: >
- "values" property of TypedArrayPrototype
-info: |
- ES6 section 17: Every other data property described in clauses 18 through
- 26 and in Annex B.2 has the attributes { [[Writable]]: true,
- [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
-includes: [propertyHelper.js, testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var TypedArrayPrototype = TypedArray.prototype;
-
-verifyNotEnumerable(TypedArrayPrototype, 'values');
-verifyWritable(TypedArrayPrototype, 'values');
-verifyConfigurable(TypedArrayPrototype, 'values');
diff --git a/test/built-ins/TypedArray/prototype/values/BigInt/this-is-not-object.js b/test/built-ins/TypedArray/prototype/values/BigInt/this-is-not-object.js
deleted file mode 100644
index 57b57a78b..000000000
--- a/test/built-ins/TypedArray/prototype/values/BigInt/this-is-not-object.js
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.values
-description: Throws a TypeError exception when `this` is not Object
-info: |
- 22.2.3.30 %TypedArray%.prototype.values ( )
-
- The following steps are taken:
-
- 1. Let O be the this value.
- 2. Perform ? ValidateTypedArray(O).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, Symbol, TypedArray]
----*/
-
-var values = TypedArray.prototype.values;
-
-assert.throws(TypeError, function() {
- values.call(undefined);
-}, "this is undefined");
-
-assert.throws(TypeError, function() {
- values.call(null);
-}, "this is null");
-
-assert.throws(TypeError, function() {
- values.call(42);
-}, "this is 42");
-
-assert.throws(TypeError, function() {
- values.call("1");
-}, "this is a string");
-
-assert.throws(TypeError, function() {
- values.call(true);
-}, "this is true");
-
-assert.throws(TypeError, function() {
- values.call(false);
-}, "this is false");
-
-var s = Symbol("s");
-assert.throws(TypeError, function() {
- values.call(s);
-}, "this is a Symbol");
diff --git a/test/built-ins/TypedArray/prototype/values/BigInt/this-is-not-typedarray-instance.js b/test/built-ins/TypedArray/prototype/values/BigInt/this-is-not-typedarray-instance.js
deleted file mode 100644
index 68b78aedd..000000000
--- a/test/built-ins/TypedArray/prototype/values/BigInt/this-is-not-typedarray-instance.js
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-%typedarray%.prototype.values
-description: >
- Throws a TypeError exception when `this` is not a TypedArray instance
-info: |
- 22.2.3.30 %TypedArray%.prototype.values ( )
-
- The following steps are taken:
-
- 1. Let O be the this value.
- 2. Perform ? ValidateTypedArray(O).
- ...
-
- 22.2.3.5.1 Runtime Semantics: ValidateTypedArray ( O )
-
- 1. If Type(O) is not Object, throw a TypeError exception.
- 2. If O does not have a [[TypedArrayName]] internal slot, throw a TypeError
- exception.
- ...
-includes: [testBigIntTypedArray.js]
-features: [BigInt, TypedArray]
----*/
-
-var values = TypedArray.prototype.values;
-
-assert.throws(TypeError, function() {
- values.call({});
-}, "this is an Object");
-
-assert.throws(TypeError, function() {
- values.call([]);
-}, "this is an Array");
-
-var ab = new ArrayBuffer(8);
-assert.throws(TypeError, function() {
- values.call(ab);
-}, "this is an ArrayBuffer instance");
-
-var dv = new DataView(new ArrayBuffer(8), 0, 1);
-assert.throws(TypeError, function() {
- values.call(dv);
-}, "this is a DataView instance");
diff --git a/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size-sab.js b/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size-sab.js
index 932cfb3c9..73de6c060 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size-sab.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size-sab.js
@@ -23,11 +23,6 @@ features: [BigInt, SharedArrayBuffer, TypedArray]
var buffer = new SharedArrayBuffer(1);
testWithBigIntTypedArrayConstructors(function(TA) {
- if (TA.BYTES_PER_ELEMENT === 1) {
- // Impossible to trigger this step here.
- return;
- }
-
assert.throws(RangeError, function() {
new TA(buffer);
});
diff --git a/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size.js b/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size.js
index f5f71f3d2..171ea96a4 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/bufferbyteoffset-throws-from-modulo-element-size.js
@@ -22,11 +22,6 @@ features: [BigInt, TypedArray]
var buffer = new ArrayBuffer(1);
testWithBigIntTypedArrayConstructors(function(TA) {
- if (TA.BYTES_PER_ELEMENT === 1) {
- // Impossible to trigger this step here.
- return;
- }
-
assert.throws(RangeError, function() {
new TA(buffer);
});
diff --git a/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/byteoffset-throws-from-modulo-element-size-sab.js b/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/byteoffset-throws-from-modulo-element-size-sab.js
index 7e9b40e66..0782f270d 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/byteoffset-throws-from-modulo-element-size-sab.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/byteoffset-throws-from-modulo-element-size-sab.js
@@ -22,11 +22,6 @@ features: [BigInt, SharedArrayBuffer, TypedArray]
var buffer = new SharedArrayBuffer(8);
testWithBigIntTypedArrayConstructors(function(TA) {
- if (TA.BYTES_PER_ELEMENT === 1) {
- // Impossible to trigger this step here.
- return;
- }
-
assert.throws(RangeError, function() {
new TA(buffer, 7);
});
diff --git a/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/byteoffset-throws-from-modulo-element-size.js b/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/byteoffset-throws-from-modulo-element-size.js
index e511bc394..9e4f26ee6 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/byteoffset-throws-from-modulo-element-size.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/buffer-arg/byteoffset-throws-from-modulo-element-size.js
@@ -21,11 +21,6 @@ features: [BigInt, TypedArray]
var buffer = new ArrayBuffer(8);
testWithBigIntTypedArrayConstructors(function(TA) {
- if (TA.BYTES_PER_ELEMENT === 1) {
- // Impossible to trigger this step here.
- return;
- }
-
assert.throws(RangeError, function() {
new TA(buffer, 7);
});
diff --git a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-not-object-throws.js b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-not-object-throws.js
index 435136a08..44b76c2b9 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-not-object-throws.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-not-object-throws.js
@@ -27,11 +27,11 @@ includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol, TypedArray]
---*/
-var sample1 = new Int8Array();
-var sample2 = new Int16Array();
+var sample1 = new BigInt64Array();
+var sample2 = new BigUint64Array();
testWithBigIntTypedArrayConstructors(function(TA) {
- var sample = TA === Int8Array ? sample2 : sample1;
+ var sample = TA === BigInt64Array ? sample2 : sample1;
sample.buffer.constructor = 1;
assert.throws(TypeError, function() {
diff --git a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js
index 8b0206361..8b3933eed 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-access-throws.js
@@ -25,11 +25,11 @@ includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol.species, TypedArray]
---*/
-var sample1 = new Int8Array();
-var sample2 = new Int16Array();
+var sample1 = new BigInt64Array();
+var sample2 = new BigUint64Array();
testWithBigIntTypedArrayConstructors(function(TA) {
- var sample = TA === Int8Array ? sample2 : sample1;
+ var sample = TA === BigInt64Array ? sample2 : sample1;
var ctor = {};
sample.buffer.constructor = ctor;
diff --git a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-not-ctor-throws.js b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-not-ctor-throws.js
index 338a63b20..09a8068e9 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-not-ctor-throws.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-not-ctor-throws.js
@@ -27,8 +27,8 @@ includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol.species, TypedArray]
---*/
-var sample1 = new Int8Array();
-var sample2 = new Int16Array();
+var sample1 = new BigInt64Array();
+var sample2 = new BigUint64Array();
var ctor = function() {
throw new Test262Error();
@@ -37,7 +37,7 @@ var m = { m() {} }.m;
ctor[Symbol.species] = m;
testWithBigIntTypedArrayConstructors(function(TA) {
- var sample = TA === Int8Array ? sample2 : sample1;
+ var sample = TA === BigInt64Array ? sample2 : sample1;
sample.buffer.constructor = ctor;
diff --git a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-prototype-throws.js b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-prototype-throws.js
index dea4919af..705b8a731 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-prototype-throws.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-buffer-ctor-species-prototype-throws.js
@@ -35,11 +35,11 @@ includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol.species, TypedArray]
---*/
-var sample1 = new Int8Array();
-var sample2 = new Int16Array();
+var sample1 = new BigInt64Array();
+var sample2 = new BigUint64Array();
testWithBigIntTypedArrayConstructors(function(TA) {
- var sample = TA === Int8Array ? sample2 : sample1;
+ var sample = TA === BigInt64Array ? sample2 : sample1;
var ctor = {};
var called = 0;
diff --git a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-returns-new-typedarray.js b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-returns-new-typedarray.js
index 2c87901fd..754abcd42 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-returns-new-typedarray.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-other-ctor-returns-new-typedarray.js
@@ -14,15 +14,11 @@ includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
-var sample1 = new Int8Array(7);
-var sample2 = new Int16Array(7);
-var sample3 = new BigInt64Array(7);
-var sample4 = new BigUint64Array(7);
+var sample1 = new BigInt64Array();
+var sample2 = new BigUint64Array();
testWithBigIntTypedArrayConstructors(function(TA) {
- var sample = TA === Int8Array ? sample2 :
- TA === BigInt64Array ? sample4 :
- TA === BigUint64Array ? sample3 : sample1;
+ var sample = TA === BigInt64Array ? sample2 : sample1;
var typedArray = new TA(sample);
assert.sameValue(typedArray.length, 7);
diff --git a/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size-sab.js b/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size-sab.js
index 707aa00be..b07837b84 100644
--- a/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size-sab.js
+++ b/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size-sab.js
@@ -23,11 +23,6 @@ features: [SharedArrayBuffer, TypedArray]
var buffer = new SharedArrayBuffer(1);
testWithTypedArrayConstructors(function(TA) {
- if (TA.BYTES_PER_ELEMENT === 1) {
- // Impossible to trigger this step here.
- return;
- }
-
assert.throws(RangeError, function() {
new TA(buffer);
});
diff --git a/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size.js b/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size.js
index a886e5afd..1c916b43c 100644
--- a/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size.js
+++ b/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-bufferbyteoffset-throws-from-modulo-element-size.js
@@ -22,11 +22,6 @@ features: [TypedArray]
var buffer = new ArrayBuffer(1);
testWithTypedArrayConstructors(function(TA) {
- if (TA.BYTES_PER_ELEMENT === 1) {
- // Impossible to trigger this step here.
- return;
- }
-
assert.throws(RangeError, function() {
new TA(buffer);
});
diff --git a/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size-sab.js b/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size-sab.js
index 79b398ccf..645f259af 100644
--- a/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size-sab.js
+++ b/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size-sab.js
@@ -22,11 +22,6 @@ features: [SharedArrayBuffer, TypedArray]
var buffer = new SharedArrayBuffer(8);
testWithTypedArrayConstructors(function(TA) {
- if (TA.BYTES_PER_ELEMENT === 1) {
- // Impossible to trigger this step here.
- return;
- }
-
assert.throws(RangeError, function() {
new TA(buffer, 7);
});
diff --git a/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size.js b/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size.js
index 479f0d5dc..f495e6bcc 100644
--- a/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size.js
+++ b/test/built-ins/TypedArrays/ctors/buffer-arg/buffer-arg-byteoffset-throws-from-modulo-element-size.js
@@ -21,11 +21,6 @@ features: [TypedArray]
var buffer = new ArrayBuffer(8);
testWithTypedArrayConstructors(function(TA) {
- if (TA.BYTES_PER_ELEMENT === 1) {
- // Impossible to trigger this step here.
- return;
- }
-
assert.throws(RangeError, function() {
new TA(buffer, 7);
});