summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/forEach
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArray/prototype/forEach')
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/callbackfn-detachbuffer.js1
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/length.js1
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/name.js1
-rw-r--r--test/built-ins/TypedArray/prototype/forEach/prop-desc.js1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/built-ins/TypedArray/prototype/forEach/callbackfn-detachbuffer.js b/test/built-ins/TypedArray/prototype/forEach/callbackfn-detachbuffer.js
index 44971dbae..6540255f7 100644
--- a/test/built-ins/TypedArray/prototype/forEach/callbackfn-detachbuffer.js
+++ b/test/built-ins/TypedArray/prototype/forEach/callbackfn-detachbuffer.js
@@ -22,6 +22,7 @@ info: |
ii. Perform ? Call(callbackfn, T, « kValue, k, O »).
...
includes: [detachArrayBuffer.js, testTypedArray.js]
+features: [TypedArray]
---*/
testWithTypedArrayConstructors(function(TA) {
diff --git a/test/built-ins/TypedArray/prototype/forEach/length.js b/test/built-ins/TypedArray/prototype/forEach/length.js
index 75d08ac5a..48bdb6a25 100644
--- a/test/built-ins/TypedArray/prototype/forEach/length.js
+++ b/test/built-ins/TypedArray/prototype/forEach/length.js
@@ -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);
diff --git a/test/built-ins/TypedArray/prototype/forEach/name.js b/test/built-ins/TypedArray/prototype/forEach/name.js
index e74f2bf23..23ae3f631 100644
--- a/test/built-ins/TypedArray/prototype/forEach/name.js
+++ b/test/built-ins/TypedArray/prototype/forEach/name.js
@@ -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");
diff --git a/test/built-ins/TypedArray/prototype/forEach/prop-desc.js b/test/built-ins/TypedArray/prototype/forEach/prop-desc.js
index 2f7163a78..58e7e95b1 100644
--- a/test/built-ins/TypedArray/prototype/forEach/prop-desc.js
+++ b/test/built-ins/TypedArray/prototype/forEach/prop-desc.js
@@ -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;