Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / NativeErrors / EvalError / instance-proto.js
bloba80dd0969dc37eda9183b771822e70f04a62382a
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.4
6 description: >
7   The prototype of EvalError instances is EvalError.prototype.
8 info: |
9   NativeError instances are ordinary objects that inherit properties
10   from their NativeError prototype object and have an [[ErrorData]]
11   internal slot whose value is undefined
12 ---*/
14 assert.sameValue(Object.getPrototypeOf(new EvalError), EvalError.prototype);
16 reportCompare(0, 0);