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