summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/Uint32Array
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArrays/Uint32Array')
-rw-r--r--test/built-ins/TypedArrays/Uint32Array/BYTES_PER_ELEMENT.js1
-rw-r--r--test/built-ins/TypedArrays/Uint32Array/constructor.js1
-rw-r--r--test/built-ins/TypedArrays/Uint32Array/length.js1
-rw-r--r--test/built-ins/TypedArrays/Uint32Array/name.js1
-rw-r--r--test/built-ins/TypedArrays/Uint32Array/prototype.js1
-rw-r--r--test/built-ins/TypedArrays/Uint32Array/prototype/BYTES_PER_ELEMENT.js1
-rw-r--r--test/built-ins/TypedArrays/Uint32Array/prototype/constructor.js1
-rw-r--r--test/built-ins/TypedArrays/Uint32Array/prototype/not-typedarray-object.js1
8 files changed, 8 insertions, 0 deletions
diff --git a/test/built-ins/TypedArrays/Uint32Array/BYTES_PER_ELEMENT.js b/test/built-ins/TypedArrays/Uint32Array/BYTES_PER_ELEMENT.js
index 9aea50c06..986f9ba09 100644
--- a/test/built-ins/TypedArrays/Uint32Array/BYTES_PER_ELEMENT.js
+++ b/test/built-ins/TypedArrays/Uint32Array/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(Uint32Array.BYTES_PER_ELEMENT, 4);
diff --git a/test/built-ins/TypedArrays/Uint32Array/constructor.js b/test/built-ins/TypedArrays/Uint32Array/constructor.js
index 35872a626..5d4385a14 100644
--- a/test/built-ins/TypedArrays/Uint32Array/constructor.js
+++ b/test/built-ins/TypedArrays/Uint32Array/constructor.js
@@ -6,6 +6,7 @@ es6id: 22.2.4
esid: sec-typedarray-constructors
description: >
Uint32Array is a constructor function.
+features: [TypedArray]
---*/
assert.sameValue(typeof Uint32Array, 'function', 'typeof Uint32Array is "function"');
diff --git a/test/built-ins/TypedArrays/Uint32Array/length.js b/test/built-ins/TypedArrays/Uint32Array/length.js
index a9953d862..99bb6344f 100644
--- a/test/built-ins/TypedArrays/Uint32Array/length.js
+++ b/test/built-ins/TypedArrays/Uint32Array/length.js
@@ -21,6 +21,7 @@ info: |
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
+features: [TypedArray]
---*/
assert.sameValue(Uint32Array.length, 3);
diff --git a/test/built-ins/TypedArrays/Uint32Array/name.js b/test/built-ins/TypedArrays/Uint32Array/name.js
index b49cb56d1..8bef4ebb4 100644
--- a/test/built-ins/TypedArrays/Uint32Array/name.js
+++ b/test/built-ins/TypedArrays/Uint32Array/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(Uint32Array.name, "Uint32Array");
diff --git a/test/built-ins/TypedArrays/Uint32Array/prototype.js b/test/built-ins/TypedArrays/Uint32Array/prototype.js
index 56ca7d599..8f42cfa42 100644
--- a/test/built-ins/TypedArrays/Uint32Array/prototype.js
+++ b/test/built-ins/TypedArrays/Uint32Array/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(Uint32Array.prototype, Object.getPrototypeOf(new Uint32Array(0)));
diff --git a/test/built-ins/TypedArrays/Uint32Array/prototype/BYTES_PER_ELEMENT.js b/test/built-ins/TypedArrays/Uint32Array/prototype/BYTES_PER_ELEMENT.js
index b8ae52879..ec2c6958d 100644
--- a/test/built-ins/TypedArrays/Uint32Array/prototype/BYTES_PER_ELEMENT.js
+++ b/test/built-ins/TypedArrays/Uint32Array/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(Uint32Array.prototype.BYTES_PER_ELEMENT, 4);
diff --git a/test/built-ins/TypedArrays/Uint32Array/prototype/constructor.js b/test/built-ins/TypedArrays/Uint32Array/prototype/constructor.js
index fb0149e6e..7017fdbc9 100644
--- a/test/built-ins/TypedArrays/Uint32Array/prototype/constructor.js
+++ b/test/built-ins/TypedArrays/Uint32Array/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(Uint32Array.prototype.constructor, Uint32Array);
diff --git a/test/built-ins/TypedArrays/Uint32Array/prototype/not-typedarray-object.js b/test/built-ins/TypedArrays/Uint32Array/prototype/not-typedarray-object.js
index 554fb7d5e..b3bc4b3a9 100644
--- a/test/built-ins/TypedArrays/Uint32Array/prototype/not-typedarray-object.js
+++ b/test/built-ins/TypedArrays/Uint32Array/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() {