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