summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Set/prototype/clear/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Set/prototype/clear/name.js')
-rw-r--r--js/src/tests/test262/built-ins/Set/prototype/clear/name.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/Set/prototype/clear/name.js b/js/src/tests/test262/built-ins/Set/prototype/clear/name.js
index 722a8af8f1..f6c25d3f21 100644
--- a/js/src/tests/test262/built-ins/Set/prototype/clear/name.js
+++ b/js/src/tests/test262/built-ins/Set/prototype/clear/name.js
@@ -10,10 +10,11 @@ description: >
includes: [propertyHelper.js]
---*/
-assert.sameValue(Set.prototype.clear.name, "clear", "The value of `Set.prototype.clear.name` is `'clear'`");
-
-verifyNotEnumerable(Set.prototype.clear, "name");
-verifyNotWritable(Set.prototype.clear, "name");
-verifyConfigurable(Set.prototype.clear, "name");
+verifyProperty(Set.prototype.clear, "name", {
+ value: "clear",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);