Fix missing BigInt usage in TypedArrays

This commit is contained in:
Leo Balter 2018-02-15 13:42:03 -05:00
parent dd2dfc9fb1
commit 296657cd90
30 changed files with 90 additions and 90 deletions

View File

@ -5,10 +5,10 @@ esid: sec-get-%typedarray%.prototype-@@tostringtag
description: >
_TypedArray_.prototype[@@toStringTag] is inherited from %TypedArray%
_TypedArray_.prototype has no own property @@toStringTag
includes: [testTypedArray.js]
features: [Symbol.toStringTag, TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol.toStringTag, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty(Symbol.toStringTag), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype-@@iterator
description: >
_TypedArray_.prototype has no own property @@iterator
includes: [testTypedArray.js]
features: [Symbol.iterator, TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, Symbol.iterator, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty(Symbol.iterator), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-get-%typedarray%.prototype.buffer
description: >
_TypedArray_.prototype has no own property "buffer"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("buffer"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-get-%typedarray%.prototype.bytelength
description: >
_TypedArray_.prototype has no own property "byteLength"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("byteLength"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-get-%typedarray%.prototype.byteoffset
description: >
_TypedArray_.prototype has no own property "byteOffset"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("byteOffset"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.copywithin
description: >
_TypedArray_.prototype has no own property "copyWithin"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("copyWithin"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.entries
description: >
_TypedArray_.prototype has no own property "entries"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("entries"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.every
description: >
_TypedArray_.prototype has no own property "every"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("every"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.fill
description: >
_TypedArray_.prototype has no own property "fill"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("fill"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.filter
description: >
_TypedArray_.prototype has no own property "filter"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("filter"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.find
description: >
_TypedArray_.prototype has no own property "find"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("find"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.findindex
description: >
_TypedArray_.prototype has no own property "findIndex"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("findIndex"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.foreach
description: >
_TypedArray_.prototype has no own property "forEach"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("forEach"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.indexof
description: >
_TypedArray_.prototype has no own property "indexOf"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("indexOf"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.join
description: >
_TypedArray_.prototype has no own property "join"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("join"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.keys
description: >
_TypedArray_.prototype has no own property "keys"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("keys"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.lastindexof
description: >
_TypedArray_.prototype has no own property "lastIndexOf"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("lastIndexOf"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-get-%typedarray%.prototype.length
description: >
_TypedArray_.prototype has no own property "length"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("length"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.map
description: >
_TypedArray_.prototype has no own property "map"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("map"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-get-%typedarray%.prototype.reduce
description: >
_TypedArray_.prototype has no own property "reduce"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("reduce"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.reduceright
description: >
_TypedArray_.prototype has no own property "reduceRight"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("reduceRight"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.reverse
description: >
_TypedArray_.prototype has no own property "reverse"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("reverse"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.set
description: >
_TypedArray_.prototype has no own property "set"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("set"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.slice
description: >
_TypedArray_.prototype has no own property "slice"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("slice"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.some
description: >
_TypedArray_.prototype has no own property "some"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("some"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.sort
description: >
_TypedArray_.prototype has no own property "sort"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("sort"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.subarray
description: >
_TypedArray_.prototype has no own property "subarray"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("subarray"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.tolocalestring
description: >
_TypedArray_.prototype has no own property "toLocaleString"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("toLocaleString"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.tostring
description: >
_TypedArray_.prototype has no own property "toString"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("toString"), false);
});

View File

@ -4,10 +4,10 @@
esid: sec-%typedarray%.prototype.values
description: >
_TypedArray_.prototype has no own property "values"
includes: [testTypedArray.js]
features: [TypedArray]
includes: [testBigIntTypedArray.js]
features: [BigInt, TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty("values"), false);
});