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: > description: >
_TypedArray_.prototype[@@toStringTag] is inherited from %TypedArray% _TypedArray_.prototype[@@toStringTag] is inherited from %TypedArray%
_TypedArray_.prototype has no own property @@toStringTag _TypedArray_.prototype has no own property @@toStringTag
includes: [testTypedArray.js] includes: [testBigIntTypedArray.js]
features: [Symbol.toStringTag, TypedArray] features: [BigInt, Symbol.toStringTag, TypedArray]
---*/ ---*/
testWithTypedArrayConstructors(function(TA) { testWithBigIntTypedArrayConstructors(function(TA) {
assert.sameValue(TA.prototype.hasOwnProperty(Symbol.toStringTag), false); assert.sameValue(TA.prototype.hasOwnProperty(Symbol.toStringTag), false);
}); });

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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