Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / NativeErrors / EvalError / proto.js
blobb69b49a4274abc41d2b5583baca0284363fb6759
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.2
6 description: >
7   The prototype of EvalError is Error.
8 info: |
9   The value of the [[Prototype]] internal slot of a NativeError constructor is the intrinsic object %Error% (19.5.1).
10 ---*/
12 assert.sameValue(Object.getPrototypeOf(EvalError), Error);
14 reportCompare(0, 0);