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