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