summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/WeakSet/prototype/has/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/WeakSet/prototype/has/name.js')
-rw-r--r--js/src/tests/test262/built-ins/WeakSet/prototype/has/name.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/js/src/tests/test262/built-ins/WeakSet/prototype/has/name.js b/js/src/tests/test262/built-ins/WeakSet/prototype/has/name.js
index 6fca676585..11c364e160 100644
--- a/js/src/tests/test262/built-ins/WeakSet/prototype/has/name.js
+++ b/js/src/tests/test262/built-ins/WeakSet/prototype/has/name.js
@@ -12,13 +12,11 @@ info: |
includes: [propertyHelper.js]
---*/
-assert.sameValue(
- WeakSet.prototype.has.name, 'has',
- 'The value of WeakSet.prototype.has.name is "has"'
-);
-
-verifyNotEnumerable(WeakSet.prototype.has, 'name');
-verifyNotWritable(WeakSet.prototype.has, 'name');
-verifyConfigurable(WeakSet.prototype.has, 'name');
+verifyProperty(WeakSet.prototype.has, "name", {
+ value: "has",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);