summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Promise/prototype/catch/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Promise/prototype/catch/name.js')
-rw-r--r--js/src/tests/test262/built-ins/Promise/prototype/catch/name.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/Promise/prototype/catch/name.js b/js/src/tests/test262/built-ins/Promise/prototype/catch/name.js
index 25a93a3bb9..4df2947d2d 100644
--- a/js/src/tests/test262/built-ins/Promise/prototype/catch/name.js
+++ b/js/src/tests/test262/built-ins/Promise/prototype/catch/name.js
@@ -19,10 +19,11 @@ info: |
includes: [propertyHelper.js]
---*/
-assert.sameValue(Promise.prototype.catch.name, 'catch');
-
-verifyNotEnumerable(Promise.prototype.catch, 'name');
-verifyNotWritable(Promise.prototype.catch, 'name');
-verifyConfigurable(Promise.prototype.catch, 'name');
+verifyProperty(Promise.prototype.catch, "name", {
+ value: "catch",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);