mirror of https://github.com/tc39/test262.git
Add missing feature flag for TypedArrays
This commit is contained in:
parent
d30bf82d47
commit
b6664ca24a
|
@ -21,6 +21,7 @@ info: |
|
|||
has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.from.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.from.name, "from");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
verifyNotEnumerable(TypedArray, 'from');
|
||||
|
|
|
@ -14,6 +14,7 @@ info: |
|
|||
Function object has the attributes { [[Writable]]: false, [[Enumerable]]:
|
||||
false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.length, 0);
|
||||
|
|
|
@ -15,6 +15,7 @@ info: |
|
|||
Function object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.name, 'TypedArray');
|
||||
|
|
|
@ -21,6 +21,7 @@ info: |
|
|||
has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.of.length, 0);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.of.name, "of");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
verifyNotEnumerable(TypedArray, 'of');
|
||||
|
|
|
@ -10,6 +10,7 @@ info: |
|
|||
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
|
||||
false, [[Configurable]]: false }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
verifyNotEnumerable(TypedArray, 'prototype');
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var desc = Object.getOwnPropertyDescriptor(TypedArray.prototype, "buffer");
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var desc = Object.getOwnPropertyDescriptor(TypedArray.prototype, "buffer");
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
Section 17: Every accessor property described in clauses 18 through 26 and in
|
||||
Annex B.2 has the attributes {[[Enumerable]]: false, [[Configurable]]: true }
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var desc = Object.getOwnPropertyDescriptor(TypedArray.prototype, "byteLength");
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var desc = Object.getOwnPropertyDescriptor(TypedArray.prototype, "byteLength");
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
Section 17: Every accessor property described in clauses 18 through 26 and in
|
||||
Annex B.2 has the attributes {[[Enumerable]]: false, [[Configurable]]: true }
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var desc = Object.getOwnPropertyDescriptor(TypedArray.prototype, "byteOffset");
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var desc = Object.getOwnPropertyDescriptor(TypedArray.prototype, "byteOffset");
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
Section 17: Every accessor property described in clauses 18 through 26 and in
|
||||
Annex B.2 has the attributes {[[Enumerable]]: false, [[Configurable]]: true }
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
Per ES6 section 17, the method should exist on the %TypedArray% prototype, and it
|
||||
should be writable and configurable, but not enumerable.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.constructor, TypedArray);
|
||||
|
|
|
@ -13,6 +13,7 @@ info: |
|
|||
i. Let fromVal be ? Get(O, fromKey).
|
||||
ii. Perform ? Set(O, toKey, fromVal, true).
|
||||
includes: [nans.js, compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
function body(FloatArray) {
|
||||
|
|
|
@ -23,6 +23,7 @@ info: |
|
|||
ToInteger(end).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -22,6 +22,7 @@ info: |
|
|||
5. Let relativeStart be ? ToInteger(start).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -22,6 +22,7 @@ info: |
|
|||
3. Let relativeTarget be ? ToInteger(target).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.copyWithin.length, 2);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.copyWithin.name, "copyWithin");
|
||||
|
|
|
@ -25,6 +25,7 @@ info: |
|
|||
final be min(relativeEnd, len).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -25,6 +25,7 @@ info: |
|
|||
final be min(relativeEnd, len).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -23,6 +23,7 @@ info: |
|
|||
from be min(relativeStart, len).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -23,6 +23,7 @@ info: |
|
|||
to be min(relativeTarget, len).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -23,6 +23,7 @@ info: |
|
|||
from be min(relativeStart, len).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -23,6 +23,7 @@ info: |
|
|||
to be min(relativeTarget, len).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -16,6 +16,7 @@ info: |
|
|||
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -16,6 +16,7 @@ info: |
|
|||
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -16,6 +16,7 @@ info: |
|
|||
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -16,6 +16,7 @@ info: |
|
|||
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -23,6 +23,7 @@ info: |
|
|||
ToInteger(end).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.entries.length, 0);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.entries.name, "entries");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -22,6 +22,7 @@ info: |
|
|||
ii. Let testResult be ToBoolean(? Call(callbackfn, T, « kValue, k, O »)).
|
||||
...
|
||||
includes: [detachArrayBuffer.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.every.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.every.name, "every");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -28,6 +28,7 @@ info: |
|
|||
ToInteger(end).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -48,6 +48,7 @@ info: |
|
|||
each implementation distinguishable NaN value.
|
||||
...
|
||||
includes: [nans.js, testTypedArray.js, compareArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
function body(FloatArray) {
|
||||
|
|
|
@ -44,6 +44,7 @@ info: |
|
|||
e. Else,
|
||||
...
|
||||
includes: [byteConversionValues.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testTypedArrayConversions(byteConversionValues, function(TA, value, expected, initial) {
|
||||
|
|
|
@ -30,6 +30,7 @@ info: |
|
|||
final be min(relativeEnd, len).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -27,6 +27,7 @@ info: |
|
|||
final be min(relativeEnd, len).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -25,6 +25,7 @@ info: |
|
|||
min(relativeStart, len).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -25,6 +25,7 @@ info: |
|
|||
a. Let Pk be ! ToString(k).
|
||||
b. Perform ? Set(O, Pk, value, true).
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.fill.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.fill.name, "fill");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -14,6 +14,7 @@ info: |
|
|||
c. Let selected be ToBoolean(? Call(callbackfn, T, « kValue, k, O »)).
|
||||
...
|
||||
includes: [detachArrayBuffer.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.filter.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.filter.name, "filter");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.find.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.find.name, "find");
|
||||
|
|
|
@ -26,6 +26,7 @@ info: |
|
|||
c. Let testResult be ToBoolean(? Call(predicate, T, « kValue, k, O »)).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.findIndex.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.findIndex.name, "findIndex");
|
||||
|
|
|
@ -22,6 +22,7 @@ info: |
|
|||
c. Let testResult be ToBoolean(? Call(predicate, T, « kValue, k, O »)).
|
||||
...
|
||||
includes: [compareArray.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA, N) {
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -22,6 +22,7 @@ info: |
|
|||
ii. Perform ? Call(callbackfn, T, « kValue, k, O »).
|
||||
...
|
||||
includes: [detachArrayBuffer.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.forEach.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.forEach.name, "forEach");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.includes.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.includes.name, "includes");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.indexOf.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.indexOf.name, "indexOf");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.join.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.join.name, "join");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.keys.length, 0);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.keys.name, "keys");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.lastIndexOf.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.lastIndexOf.name, "lastIndexOf");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var desc = Object.getOwnPropertyDescriptor(TypedArray.prototype, "length");
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var desc = Object.getOwnPropertyDescriptor(TypedArray.prototype, "length");
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
Section 17: Every accessor property described in clauses 18 through 26 and in
|
||||
Annex B.2 has the attributes {[[Enumerable]]: false, [[Configurable]]: true }
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -14,6 +14,7 @@ info: |
|
|||
c. Let mappedValue be ? Call(callbackfn, T, « kValue, k, O »).
|
||||
...
|
||||
includes: [detachArrayBuffer.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.map.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.map.name, "map");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -41,6 +41,7 @@ info: |
|
|||
each implementation distinguishable NaN value.
|
||||
...
|
||||
includes: [nans.js, testTypedArray.js, compareArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
function body(FloatArray) {
|
||||
|
|
|
@ -38,6 +38,7 @@ info: |
|
|||
e. Else,
|
||||
...
|
||||
includes: [byteConversionValues.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testTypedArrayConversions(byteConversionValues, function(TA, value, expected, initial) {
|
||||
|
|
|
@ -23,6 +23,7 @@ info: |
|
|||
k, O »).
|
||||
...
|
||||
includes: [detachArrayBuffer.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.reduce.length, 1);
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
object, if it exists, has the attributes { [[Writable]]: false,
|
||||
[[Enumerable]]: false, [[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.reduce.name, "reduce");
|
||||
|
|
|
@ -9,6 +9,7 @@ info: |
|
|||
and in Annex B.2 has the attributes { [[Writable]]: true,
|
||||
[[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
var TypedArrayPrototype = TypedArray.prototype;
|
||||
|
|
|
@ -23,6 +23,7 @@ info: |
|
|||
k, O »).
|
||||
...
|
||||
includes: [detachArrayBuffer.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
testWithTypedArrayConstructors(function(TA) {
|
||||
|
|
|
@ -20,6 +20,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
includes: [propertyHelper.js, testTypedArray.js]
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
|
||||
assert.sameValue(TypedArray.prototype.reduceRight.length, 1);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue