OLD | NEW |
1 This tests the length property of functions. | 1 This tests the length property of functions. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS window.confirm.length is 0 | 6 PASS window.confirm.length is 0 |
7 PASS window.open.length is 2 | 7 PASS window.open.length is 2 |
8 PASS window.showModalDialog.length is 1 | 8 PASS window.showModalDialog.length is 1 |
9 PASS window.setTimeout.length is 1 | 9 PASS window.setTimeout.length is 1 |
10 PASS window.clearTimeout.length is 0 | 10 PASS window.clearTimeout.length is 0 |
11 PASS window.addEventListener.length is 0 | 11 PASS window.addEventListener.length is 0 |
12 PASS window.postMessage.length is 2 | 12 PASS window.postMessage.length is 2 |
13 PASS window.dispatchEvent.length is 1 | 13 PASS window.dispatchEvent.length is 1 |
14 PASS window.openDatabase.length is 4 | 14 PASS window.openDatabase.length is 4 |
15 PASS window.history.pushState.length is 2 | 15 PASS window.history.pushState.length is 2 |
16 PASS window.history.length is 1 | 16 PASS window.history.length is 1 |
17 PASS window.URL.createObjectURL.length is 1 | 17 PASS window.URL.createObjectURL.length is 1 |
18 PASS window.Storage.prototype.key.length is 1 | 18 PASS window.Storage.prototype.key.length is 1 |
| 19 PASS document.importNode.length is 1 |
| 20 PASS document.write.length is 0 |
| 21 PASS CanvasRenderingContext2D.prototype.drawImage.length is 3 |
19 PASS Array.prototype.concat.length is 1 | 22 PASS Array.prototype.concat.length is 1 |
20 PASS Array.prototype.join.length is 1 | 23 PASS Array.prototype.join.length is 1 |
21 PASS Array.prototype.push.length is 1 | 24 PASS Array.prototype.push.length is 1 |
22 PASS Array.prototype.slice.length is 2 | 25 PASS Array.prototype.slice.length is 2 |
23 PASS Date.UTC.length is 7 | 26 PASS Date.UTC.length is 7 |
24 PASS Date.prototype.setSeconds.length is 2 | 27 PASS Date.prototype.setSeconds.length is 2 |
25 PASS Date.prototype.setMinutes.length is 3 | 28 PASS Date.prototype.setMinutes.length is 3 |
26 PASS Date.prototype.setHours.length is 4 | 29 PASS Date.prototype.setHours.length is 4 |
27 PASS Date.prototype.setMonth.length is 2 | 30 PASS Date.prototype.setMonth.length is 2 |
28 PASS Date.prototype.setFullYear.length is 3 | 31 PASS Date.prototype.setFullYear.length is 3 |
29 PASS Number.prototype.toExponential.length is 1 | 32 PASS Number.prototype.toExponential.length is 1 |
30 PASS Number.prototype.toFixed.length is 1 | 33 PASS Number.prototype.toFixed.length is 1 |
31 PASS Number.prototype.toPrecision.length is 1 | 34 PASS Number.prototype.toPrecision.length is 1 |
32 PASS Math.max.length is 2 | 35 PASS Math.max.length is 2 |
33 PASS Math.min.length is 2 | 36 PASS Math.min.length is 2 |
34 PASS Function.prototype.apply.length is 2 | 37 PASS Function.prototype.apply.length is 2 |
35 PASS Function.prototype.call.length is 1 | 38 PASS Function.prototype.call.length is 1 |
36 PASS String.prototype.split.length is 2 | 39 PASS String.prototype.split.length is 2 |
37 PASS String.prototype.substring.length is 2 | 40 PASS String.prototype.substring.length is 2 |
38 PASS successfullyParsed is true | 41 PASS successfullyParsed is true |
39 | 42 |
40 TEST COMPLETE | 43 TEST COMPLETE |
41 | 44 |
OLD | NEW |