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