diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/prototype/slice/name.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Array/prototype/slice/name.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/slice/name.js b/js/src/tests/test262/built-ins/Array/prototype/slice/name.js index b870be1e66..6a37b962e5 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/slice/name.js +++ b/js/src/tests/test262/built-ins/Array/prototype/slice/name.js @@ -19,10 +19,11 @@ info: | includes: [propertyHelper.js] ---*/ -assert.sameValue(Array.prototype.slice.name, "slice"); - -verifyNotEnumerable(Array.prototype.slice, "name"); -verifyNotWritable(Array.prototype.slice, "name"); -verifyConfigurable(Array.prototype.slice, "name"); +verifyProperty(Array.prototype.slice, "name", { + value: "slice", + writable: false, + enumerable: false, + configurable: true +}); reportCompare(0, 0); |