tests/auto/qml/ecmascripttests/test262/test/built-ins/decodeURI/S15.1.3.1_A5.6.js
raw| 1 | // Copyright 2009 the Sputnik authors. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | info: The decodeURI property has not prototype property |
| 6 | es5id: 15.1.3.1_A5.6 |
| 7 | es6id: 18.2.6.2 |
| 8 | esid: sec-decodeuri-encodeduri |
| 9 | description: Checking decodeURI.prototype |
| 10 | ---*/ |
| 11 | |
| 12 | //CHECK#1 |
| 13 | if (decodeURI.prototype !== undefined) { |
| 14 | $ERROR('#1: decodeURI.prototype === undefined. Actual: ' + (decodeURI.prototype)); |
| 15 | } |