Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / NativeErrors / EvalError / name.js
blob66806a0cc2dbc53811a05aea26d4eb7c59f610c6
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   EvalError.name is "EvalError".
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 verifyProperty(EvalError, "name", {
21   value: "EvalError",
22   writable: false,
23   enumerable: false,
24   configurable: true
25 });
27 reportCompare(0, 0);