mirror of https://github.com/tc39/test262.git
Fix missing BigInt usage in TypedArrays
This commit is contained in:
parent
dd2dfc9fb1
commit
296657cd90
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue