Add missing feature flag for TypedArrays

This commit is contained in:
Leo Balter 2018-02-15 12:50:48 -05:00
parent d30bf82d47
commit b6664ca24a
210 changed files with 210 additions and 0 deletions

View File

@ -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);

View File

@ -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");

View File

@ -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');

View File

@ -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);

View File

@ -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');

View File

@ -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);

View File

@ -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");

View File

@ -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');

View File

@ -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');

View File

@ -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");

View File

@ -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");

View File

@ -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;

View File

@ -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");

View File

@ -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");

View File

@ -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;

View File

@ -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");

View File

@ -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");

View File

@ -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;

View File

@ -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);

View File

@ -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) {

View File

@ -23,6 +23,7 @@ info: |
ToInteger(end).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -22,6 +22,7 @@ info: |
5. Let relativeStart be ? ToInteger(start).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -22,6 +22,7 @@ info: |
3. Let relativeTarget be ? ToInteger(target).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -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);

View File

@ -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");

View File

@ -25,6 +25,7 @@ info: |
final be min(relativeEnd, len).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -25,6 +25,7 @@ info: |
final be min(relativeEnd, len).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -23,6 +23,7 @@ info: |
from be min(relativeStart, len).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -23,6 +23,7 @@ info: |
to be min(relativeTarget, len).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -23,6 +23,7 @@ info: |
from be min(relativeStart, len).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -23,6 +23,7 @@ info: |
to be min(relativeTarget, len).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -16,6 +16,7 @@ info: |
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -16,6 +16,7 @@ info: |
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -16,6 +16,7 @@ info: |
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -16,6 +16,7 @@ info: |
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -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;

View File

@ -23,6 +23,7 @@ info: |
ToInteger(end).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -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) {

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -28,6 +28,7 @@ info: |
ToInteger(end).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -48,6 +48,7 @@ info: |
each implementation distinguishable NaN value.
...
includes: [nans.js, testTypedArray.js, compareArray.js]
features: [TypedArray]
---*/
function body(FloatArray) {

View File

@ -44,6 +44,7 @@ info: |
e. Else,
...
includes: [byteConversionValues.js, testTypedArray.js]
features: [TypedArray]
---*/
testTypedArrayConversions(byteConversionValues, function(TA, value, expected, initial) {

View File

@ -30,6 +30,7 @@ info: |
final be min(relativeEnd, len).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -27,6 +27,7 @@ info: |
final be min(relativeEnd, len).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -25,6 +25,7 @@ info: |
min(relativeStart, len).
...
includes: [compareArray.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA, N) {

View File

@ -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) {

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -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) {

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -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);

View File

@ -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");

View File

@ -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) {

View File

@ -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;

View File

@ -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);

View File

@ -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");

View File

@ -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) {

View File

@ -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;

View File

@ -22,6 +22,7 @@ info: |
ii. Perform ? Call(callbackfn, T, « kValue, k, O »).
...
includes: [detachArrayBuffer.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -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");

View File

@ -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");

View File

@ -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;

View File

@ -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) {

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -41,6 +41,7 @@ info: |
each implementation distinguishable NaN value.
...
includes: [nans.js, testTypedArray.js, compareArray.js]
features: [TypedArray]
---*/
function body(FloatArray) {

View File

@ -38,6 +38,7 @@ info: |
e. Else,
...
includes: [byteConversionValues.js, testTypedArray.js]
features: [TypedArray]
---*/
testTypedArrayConversions(byteConversionValues, function(TA, value, expected, initial) {

View File

@ -23,6 +23,7 @@ info: |
k, O »).
...
includes: [detachArrayBuffer.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -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);

View File

@ -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");

View File

@ -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;

View File

@ -23,6 +23,7 @@ info: |
k, O »).
...
includes: [detachArrayBuffer.js, testTypedArray.js]
features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {

View File

@ -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