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