tests/auto/qml/ecmascripttests/test262/test/built-ins/decodeURI/S15.1.3.1_A5.4.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 length property of decodeURI is 1 |
| 6 | es5id: 15.1.3.1_A5.4 |
| 7 | es6id: 18.2.6.2 |
| 8 | esid: sec-decodeuri-encodeduri |
| 9 | description: decodeURI.length === 1 |
| 10 | ---*/ |
| 11 | |
| 12 | //CHECK#1 |
| 13 | if (decodeURI.length !== 1) { |
| 14 | $ERROR('#1: decodeURI.length === 1. Actual: ' + (decodeURI.length)); |
| 15 | } |