summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Balter <leonardo.balter@gmail.com>2018-02-15 13:27:25 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-15 16:45:09 -0500
commitdd2dfc9fb15db7c9e32bfe26a37d3acae43cd492 (patch)
tree9c311630a6acb164d96dd5cc5588bfe67a404ac3
parent098c69540ee57f94daf795b20e8a3e70ab986860 (diff)
downloadqtdeclarative-testsuites-dd2dfc9fb15db7c9e32bfe26a37d3acae43cd492.tar.gz
remove bogus checks
-rw-r--r--test/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-diff-buffer-other-type.js3
-rw-r--r--test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js3
-rw-r--r--test/built-ins/TypedArray/prototype/set/typedarray-arg-target-byteoffset-internal.js3
-rw-r--r--test/built-ins/TypedArray/prototype/slice/set-values-from-different-ctor-type.js3
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/calls-tolocalestring-from-each-value.js4
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js4
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/calls-valueof-from-each-value.js4
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-tolocalestring.js4
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-tostring.js4
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-valueof.js4
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-tolocalestring.js4
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-tostring.js4
-rw-r--r--test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-valueof.js4
13 files changed, 0 insertions, 48 deletions
diff --git a/test/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-diff-buffer-other-type.js b/test/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-diff-buffer-other-type.js
index 4ba857e03..04ddb5237 100644
--- a/test/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-diff-buffer-other-type.js
+++ b/test/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-diff-buffer-other-type.js
@@ -28,9 +28,6 @@ features: [TypedArray]
testWithTypedArrayConstructors(function(TA) {
var other = TA === Float32Array ? Float64Array : Float32Array;
- if (typeof BigInt !== "undefined")
- other = TA === BigInt64Array ? BigUint64Array :
- TA === BigUint64Array ? BigInt64Array : other;
var src = new other([42, 43]);
var sample, result;
diff --git a/test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js b/test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js
index 498ac5fc8..c3bfdeb28 100644
--- a/test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js
+++ b/test/built-ins/TypedArray/prototype/set/typedarray-arg-src-byteoffset-internal.js
@@ -29,9 +29,6 @@ testWithTypedArrayConstructors(function(TA) {
var sample = new TA(2);
var src = new TA([42, 43]);
var differentTA = TA === Uint8Array ? Int8Array : Uint8Array;
- if (typeof BigInt !== "undefined")
- differentTA = TA === BigInt64Array ? BigUint64Array :
- TA === BigUint64Array ? BigInt64Array : differentTA;
var src2 = new differentTA([42, 43]);
var src3 = new differentTA(sample.buffer, 0, 2);
diff --git a/test/built-ins/TypedArray/prototype/set/typedarray-arg-target-byteoffset-internal.js b/test/built-ins/TypedArray/prototype/set/typedarray-arg-target-byteoffset-internal.js
index ac5b8f6cb..9e2802617 100644
--- a/test/built-ins/TypedArray/prototype/set/typedarray-arg-target-byteoffset-internal.js
+++ b/test/built-ins/TypedArray/prototype/set/typedarray-arg-target-byteoffset-internal.js
@@ -30,9 +30,6 @@ testWithTypedArrayConstructors(function(TA) {
var sample = new TA(2);
var src = new TA([42, 43]);
var differentTA = TA === Uint8Array ? Int8Array : Uint8Array;
- if (typeof BigInt !== "undefined")
- differentTA = TA === BigInt64Array ? BigUint64Array :
- TA === BigUint64Array ? BigInt64Array : differentTA;
var src2 = new differentTA([42, 43]);
var src3 = new differentTA(sample.buffer, 0, 2);
diff --git a/test/built-ins/TypedArray/prototype/slice/set-values-from-different-ctor-type.js b/test/built-ins/TypedArray/prototype/slice/set-values-from-different-ctor-type.js
index c0195b705..cb19d311d 100644
--- a/test/built-ins/TypedArray/prototype/slice/set-values-from-different-ctor-type.js
+++ b/test/built-ins/TypedArray/prototype/slice/set-values-from-different-ctor-type.js
@@ -35,9 +35,6 @@ var arr = [42, 43, 44];
testWithTypedArrayConstructors(function(TA) {
var sample = new TA(arr);
var other = TA === Int8Array ? Uint8Array : Int8Array;
- if (typeof BigInt !== "undefined") {
- other = TA === BigInt64Array ? BigUint64Array :
- TA === BigUint64Array ? BigInt64Array : other;
sample.constructor = {};
sample.constructor[Symbol.species] = other;
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/calls-tolocalestring-from-each-value.js b/test/built-ins/TypedArray/prototype/toLocaleString/calls-tolocalestring-from-each-value.js
index ba9b11247..980670c72 100644
--- a/test/built-ins/TypedArray/prototype/toLocaleString/calls-tolocalestring-from-each-value.js
+++ b/test/built-ins/TypedArray/prototype/toLocaleString/calls-tolocalestring-from-each-value.js
@@ -39,10 +39,6 @@ Number.prototype.toLocaleString = function() {
return "hacks" + calls.length;
};
-if (typeof BigInt !== "undefined") {
- BigInt.prototype.toLocaleString = Number.prototype.toLocaleString;
-}
-
var arr = [42, 0];
var expected = ["hacks1", "hacks2"].join(separator);
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js b/test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js
index befe99716..530ec1055 100644
--- a/test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js
+++ b/test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js
@@ -47,10 +47,6 @@ Number.prototype.toLocaleString = function() {
};
};
-if (typeof BigInt !== "undefined") {
- BigInt.prototype.toLocaleString = Number.prototype.toLocaleString;
-}
-
var arr = [42, 0];
var expected = ["hacks1", "hacks2"].join(separator);
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/calls-valueof-from-each-value.js b/test/built-ins/TypedArray/prototype/toLocaleString/calls-valueof-from-each-value.js
index 728aaf239..328bbbf4e 100644
--- a/test/built-ins/TypedArray/prototype/toLocaleString/calls-valueof-from-each-value.js
+++ b/test/built-ins/TypedArray/prototype/toLocaleString/calls-valueof-from-each-value.js
@@ -45,10 +45,6 @@ Number.prototype.toLocaleString = function() {
};
};
-if (typeof BigInt !== "undefined") {
- BigInt.prototype.toLocaleString = Number.prototype.toLocaleString;
-}
-
var arr = [42, 0];
var expected = ["hacks1", "hacks2"].join(separator);
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-tolocalestring.js b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-tolocalestring.js
index 7f31b9c33..d934b70da 100644
--- a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-tolocalestring.js
+++ b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-tolocalestring.js
@@ -31,10 +31,6 @@ Number.prototype.toLocaleString = function() {
throw new Test262Error();
};
-if (typeof BigInt !== "undefined") {
- BigInt.prototype.toLocaleString = Number.prototype.toLocaleString;
-}
-
var arr = [42, 0];
testWithTypedArrayConstructors(function(TA, N) {
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-tostring.js b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-tostring.js
index 6abe3565d..394105ef3 100644
--- a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-tostring.js
+++ b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-tostring.js
@@ -43,10 +43,6 @@ Number.prototype.toLocaleString = function() {
};
};
-if (typeof BigInt !== "undefined") {
- BigInt.prototype.toLocaleString = Number.prototype.toLocaleString;
-}
-
var arr = [42, 0];
testWithTypedArrayConstructors(function(TA, N) {
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-valueof.js b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-valueof.js
index 424ec3a32..ae7e4169e 100644
--- a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-valueof.js
+++ b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-firstelement-valueof.js
@@ -44,10 +44,6 @@ Number.prototype.toLocaleString = function() {
};
};
-if (typeof BigInt !== "undefined") {
- BigInt.prototype.toLocaleString = Number.prototype.toLocaleString;
-}
-
var arr = [42, 0];
testWithTypedArrayConstructors(function(TA, N) {
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-tolocalestring.js b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-tolocalestring.js
index 18e315c06..49e02d09a 100644
--- a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-tolocalestring.js
+++ b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-tolocalestring.js
@@ -34,10 +34,6 @@ Number.prototype.toLocaleString = function() {
}
};
-if (typeof BigInt !== "undefined") {
- BigInt.prototype.toLocaleString = Number.prototype.toLocaleString;
-}
-
var arr = [42, 0];
testWithTypedArrayConstructors(function(TA, N) {
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-tostring.js b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-tostring.js
index 6bfca767b..d872475c7 100644
--- a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-tostring.js
+++ b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-tostring.js
@@ -45,10 +45,6 @@ Number.prototype.toLocaleString = function() {
};
};
-if (typeof BigInt !== "undefined") {
- BigInt.prototype.toLocaleString = Number.prototype.toLocaleString;
-}
-
var arr = [42, 0];
testWithTypedArrayConstructors(function(TA, N) {
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-valueof.js b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-valueof.js
index 0992a9848..7df9a09d4 100644
--- a/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-valueof.js
+++ b/test/built-ins/TypedArray/prototype/toLocaleString/return-abrupt-from-nextelement-valueof.js
@@ -46,10 +46,6 @@ Number.prototype.toLocaleString = function() {
};
};
-if (typeof BigInt !== "undefined") {
- BigInt.prototype.toLocaleString = Number.prototype.toLocaleString;
-}
-
var arr = [42, 0];
testWithTypedArrayConstructors(function(TA, N) {