summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-new-instance-extensibility.js
diff options
context:
space:
mode:
authorLeo Balter <leonardo.balter@gmail.com>2018-02-27 14:58:56 -0500
committerGitHub <noreply@github.com>2018-02-27 14:58:56 -0500
commit27128070275f467aa62f74b515ec111ca902f997 (patch)
treec348f2bd4b4c826e74e1f64cdde45af1d971c1a0 /test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-new-instance-extensibility.js
parent173e98e00b14db854d293108d559b79071dfaab2 (diff)
downloadqtdeclarative-testsuites-27128070275f467aa62f74b515ec111ca902f997.tar.gz
Fix errors recently introduced. (#1448)
* Fix bad references on tests for BigInt TypedArrays * Remove bad conversions for BigInt TypedArray * Cleanup the BigInt TypedArray harness file Remove non used code (testBigIntTypedArrayConversions) Move the constructors list to inside the exposed function, this prevents early implementations to fail before the function is called. * Fix bad references in TypedArrays.of (BigInt) * Remove BigInt tests from typedarray harness test * Use BigInt for BigInt typedArrays * Apply last fixings on BigInt TypedArray tests * Apply fixes to last revision from @anba
Diffstat (limited to 'test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-new-instance-extensibility.js')
-rw-r--r--test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-new-instance-extensibility.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-new-instance-extensibility.js b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-new-instance-extensibility.js
index 4483d6f3b..5fbd869d6 100644
--- a/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-new-instance-extensibility.js
+++ b/test/built-ins/TypedArrays/ctors-bigint/typedarray-arg/typedarray-arg-new-instance-extensibility.js
@@ -29,11 +29,11 @@ includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
-var typedArraySample1 = new Int8Array();
-var typedArraySample2 = new Int8Array();
+var typedArraySample1 = new BigInt64Array();
+var typedArraySample2 = new BigInt64Array();
Object.preventExtensions(typedArraySample2);
-testWithTypedArrayConstructors(function(TA) {
+testWithBigIntTypedArrayConstructors(function(TA) {
var sample1 = new TA(typedArraySample1);
assert(Object.isExtensible(sample1), "new instance is extensible");