summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/name.js')
-rw-r--r--js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/name.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/name.js b/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/name.js
index b6e90d9645..781400569e 100644
--- a/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/name.js
+++ b/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/name.js
@@ -22,10 +22,11 @@ features: [Symbol.iterator]
var ArrayIteratorProto = Object.getPrototypeOf([][Symbol.iterator]());
-assert.sameValue(ArrayIteratorProto.next.name, "next");
-
-verifyNotEnumerable(ArrayIteratorProto.next, "name");
-verifyNotWritable(ArrayIteratorProto.next, "name");
-verifyConfigurable(ArrayIteratorProto.next, "name");
+verifyProperty(ArrayIteratorProto.next, "name", {
+ value: "next",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);