tests/auto/qml/ecmascripttests/test262/test/built-ins/NativeErrors/URIError/proto.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.2 |
| 6 | description: > |
| 7 | The prototype of URIError 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 | ---*/ |
| 11 | |
| 12 | assert.sameValue(Object.getPrototypeOf(URIError), Error); |