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