summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/isExtensible
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Object/isExtensible')
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/name.js11
-rw-r--r--js/src/tests/test262/built-ins/Object/isExtensible/not-a-constructor.js2
2 files changed, 7 insertions, 6 deletions
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/name.js b/js/src/tests/test262/built-ins/Object/isExtensible/name.js
index ae6a6e6549..eff74b07fa 100644
--- a/js/src/tests/test262/built-ins/Object/isExtensible/name.js
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/name.js
@@ -19,10 +19,11 @@ info: |
includes: [propertyHelper.js]
---*/
-assert.sameValue(Object.isExtensible.name, "isExtensible");
-
-verifyNotEnumerable(Object.isExtensible, "name");
-verifyNotWritable(Object.isExtensible, "name");
-verifyConfigurable(Object.isExtensible, "name");
+verifyProperty(Object.isExtensible, "name", {
+ value: "isExtensible",
+ writable: false,
+ enumerable: false,
+ configurable: true,
+});
reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/Object/isExtensible/not-a-constructor.js b/js/src/tests/test262/built-ins/Object/isExtensible/not-a-constructor.js
index 56ab6d19e3..b314e5250c 100644
--- a/js/src/tests/test262/built-ins/Object/isExtensible/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/Object/isExtensible/not-a-constructor.js
@@ -25,7 +25,7 @@ assert.sameValue(isConstructor(Object.isExtensible), false, 'isConstructor(Objec
assert.throws(TypeError, () => {
new Object.isExtensible({});
-}, '`new Object.isExtensible({})` throws TypeError');
+});
reportCompare(0, 0);