Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / NativeErrors / URIError / name.js
blobef912a466b65cf3e0ce7bc8b94813d52366cb850
1 // Copyright (C) 2015 AndrĂ© Bargull. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 es6id: 19.5.6.1
6 description: >
7   URIError.name is "URIError".
8 info: |
9   17 ECMAScript Standard Built-in Objects:
10     Every built-in Function object, including constructors, that is not
11     identified as an anonymous function has a name property whose value
12     is a String.
14     Unless otherwise specified, the name property of a built-in Function
15     object, if it exists, has the attributes { [[Writable]]: false,
16     [[Enumerable]]: false, [[Configurable]]: true }.
17 includes: [propertyHelper.js]
18 ---*/
20 assert.sameValue(URIError.name, "URIError");
22 verifyNotEnumerable(URIError, "name");
23 verifyNotWritable(URIError, "name");
24 verifyConfigurable(URIError, "name");
26 reportCompare(0, 0);