Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/NativeErrors/URIError/name.js

raw
1 // Copyright (C) 2015 André Bargull. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
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.
13
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 ---*/
19
20 assert.sameValue(URIError.name, "URIError");
21
22 verifyNotEnumerable(URIError, "name");
23 verifyNotWritable(URIError, "name");
24 verifyConfigurable(URIError, "name");