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