summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/ArrayIteratorPrototype
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /js/src/tests/test262/built-ins/ArrayIteratorPrototype
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/tests/test262/built-ins/ArrayIteratorPrototype')
-rw-r--r--js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/detach-typedarray-in-progress.js1
-rw-r--r--js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js11
-rw-r--r--js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/name.js11
3 files changed, 13 insertions, 10 deletions
diff --git a/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/detach-typedarray-in-progress.js b/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/detach-typedarray-in-progress.js
index addce3aa70..e5362c7922 100644
--- a/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/detach-typedarray-in-progress.js
+++ b/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/detach-typedarray-in-progress.js
@@ -1,3 +1,4 @@
+// |reftest| shell-option(--enable-float16array)
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
diff --git a/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js b/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js
index 22f673c500..a992d46b6b 100644
--- a/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js
+++ b/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js
@@ -25,10 +25,11 @@ features: [Symbol.iterator]
var ArrayIteratorProto = Object.getPrototypeOf([][Symbol.iterator]());
-assert.sameValue(ArrayIteratorProto.next.length, 0);
-
-verifyNotEnumerable(ArrayIteratorProto.next, "length");
-verifyNotWritable(ArrayIteratorProto.next, "length");
-verifyConfigurable(ArrayIteratorProto.next, "length");
+verifyProperty(ArrayIteratorProto.next, "length", {
+ value: 0,
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);
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);