summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Array/prototype/fill/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/prototype/fill/name.js')
-rw-r--r--js/src/tests/test262/built-ins/Array/prototype/fill/name.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/fill/name.js b/js/src/tests/test262/built-ins/Array/prototype/fill/name.js
index 35d210dec3..e2c7b83e01 100644
--- a/js/src/tests/test262/built-ins/Array/prototype/fill/name.js
+++ b/js/src/tests/test262/built-ins/Array/prototype/fill/name.js
@@ -12,13 +12,11 @@ info: |
includes: [propertyHelper.js]
---*/
-assert.sameValue(
- Array.prototype.fill.name, 'fill',
- 'The value of `Array.prototype.fill.name` is `"fill"`'
-);
-
-verifyNotEnumerable(Array.prototype.fill, 'name');
-verifyNotWritable(Array.prototype.fill, 'name');
-verifyConfigurable(Array.prototype.fill, 'name');
+verifyProperty(Array.prototype.fill, "name", {
+ value: "fill",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);