summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/Int8Array
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArrays/Int8Array')
-rw-r--r--test/built-ins/TypedArrays/Int8Array/BYTES_PER_ELEMENT.js1
-rw-r--r--test/built-ins/TypedArrays/Int8Array/constructor.js1
-rw-r--r--test/built-ins/TypedArrays/Int8Array/length.js1
-rw-r--r--test/built-ins/TypedArrays/Int8Array/name.js1
-rw-r--r--test/built-ins/TypedArrays/Int8Array/prototype.js1
-rw-r--r--test/built-ins/TypedArrays/Int8Array/prototype/BYTES_PER_ELEMENT.js1
-rw-r--r--test/built-ins/TypedArrays/Int8Array/prototype/constructor.js1
-rw-r--r--test/built-ins/TypedArrays/Int8Array/prototype/not-typedarray-object.js1
8 files changed, 8 insertions, 0 deletions
diff --git a/test/built-ins/TypedArrays/Int8Array/BYTES_PER_ELEMENT.js b/test/built-ins/TypedArrays/Int8Array/BYTES_PER_ELEMENT.js
index 918fc5844..9e7c0a196 100644
--- a/test/built-ins/TypedArrays/Int8Array/BYTES_PER_ELEMENT.js
+++ b/test/built-ins/TypedArrays/Int8Array/BYTES_PER_ELEMENT.js
@@ -12,6 +12,7 @@ info: |
This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
includes: [propertyHelper.js]
+features: [TypedArray]
---*/
assert.sameValue(Int8Array.BYTES_PER_ELEMENT, 1);
diff --git a/test/built-ins/TypedArrays/Int8Array/constructor.js b/test/built-ins/TypedArrays/Int8Array/constructor.js
index 97074507b..a166cfa4f 100644
--- a/test/built-ins/TypedArrays/Int8Array/constructor.js
+++ b/test/built-ins/TypedArrays/Int8Array/constructor.js
@@ -6,6 +6,7 @@ es6id: 22.2.4
esid: sec-typedarray-constructors
description: >
Int8Array is a constructor function.
+features: [TypedArray]
---*/
assert.sameValue(typeof Int8Array, 'function', 'typeof Int8Array is "function"');
diff --git a/test/built-ins/TypedArrays/Int8Array/length.js b/test/built-ins/TypedArrays/Int8Array/length.js
index ec25b3d4d..0cd4836c6 100644
--- a/test/built-ins/TypedArrays/Int8Array/length.js
+++ b/test/built-ins/TypedArrays/Int8Array/length.js
@@ -21,6 +21,7 @@ info: |
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
+features: [TypedArray]
---*/
assert.sameValue(Int8Array.length, 3);
diff --git a/test/built-ins/TypedArrays/Int8Array/name.js b/test/built-ins/TypedArrays/Int8Array/name.js
index 7f84f6446..41cbab8aa 100644
--- a/test/built-ins/TypedArrays/Int8Array/name.js
+++ b/test/built-ins/TypedArrays/Int8Array/name.js
@@ -19,6 +19,7 @@ info: |
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
+features: [TypedArray]
---*/
assert.sameValue(Int8Array.name, "Int8Array");
diff --git a/test/built-ins/TypedArrays/Int8Array/prototype.js b/test/built-ins/TypedArrays/Int8Array/prototype.js
index f489da58a..214082ec4 100644
--- a/test/built-ins/TypedArrays/Int8Array/prototype.js
+++ b/test/built-ins/TypedArrays/Int8Array/prototype.js
@@ -11,6 +11,7 @@ info: |
This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
includes: [propertyHelper.js]
+features: [TypedArray]
---*/
assert.sameValue(Int8Array.prototype, Object.getPrototypeOf(new Int8Array(0)));
diff --git a/test/built-ins/TypedArrays/Int8Array/prototype/BYTES_PER_ELEMENT.js b/test/built-ins/TypedArrays/Int8Array/prototype/BYTES_PER_ELEMENT.js
index a8ef7f30e..7a2085614 100644
--- a/test/built-ins/TypedArrays/Int8Array/prototype/BYTES_PER_ELEMENT.js
+++ b/test/built-ins/TypedArrays/Int8Array/prototype/BYTES_PER_ELEMENT.js
@@ -12,6 +12,7 @@ info: |
This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
includes: [propertyHelper.js]
+features: [TypedArray]
---*/
assert.sameValue(Int8Array.prototype.BYTES_PER_ELEMENT, 1);
diff --git a/test/built-ins/TypedArrays/Int8Array/prototype/constructor.js b/test/built-ins/TypedArrays/Int8Array/prototype/constructor.js
index 3861cca5e..914474fb7 100644
--- a/test/built-ins/TypedArrays/Int8Array/prototype/constructor.js
+++ b/test/built-ins/TypedArrays/Int8Array/prototype/constructor.js
@@ -15,6 +15,7 @@ info: |
the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }
unless otherwise specified.
includes: [propertyHelper.js]
+features: [TypedArray]
---*/
assert.sameValue(Int8Array.prototype.constructor, Int8Array);
diff --git a/test/built-ins/TypedArrays/Int8Array/prototype/not-typedarray-object.js b/test/built-ins/TypedArrays/Int8Array/prototype/not-typedarray-object.js
index 7876c1023..14472ad8d 100644
--- a/test/built-ins/TypedArrays/Int8Array/prototype/not-typedarray-object.js
+++ b/test/built-ins/TypedArrays/Int8Array/prototype/not-typedarray-object.js
@@ -10,6 +10,7 @@ info: |
A TypedArray prototype object is an ordinary object. It does not have
a [[ViewedArrayBuffer]] or any other of the internal slots that are
specific to TypedArray instance objects.
+features: [TypedArray]
---*/
assert.throws(TypeError, function() {