OLD | NEW |
1 Tests that command line api works. | 1 Tests that command line api works. |
2 | 2 |
3 | 3 |
4 String($0) | 4 String($0) |
5 "[object HTMLParagraphElement]" | 5 "[object HTMLParagraphElement]" |
6 | 6 |
7 $3 | 7 $3 |
8 undefined | 8 undefined |
9 | 9 |
10 String(keys([3,4])) | 10 String(keys([3,4])) |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 String($$('p', document.body)) | 31 String($$('p', document.body)) |
32 "[object HTMLParagraphElement],[object HTMLParagraphElement]" | 32 "[object HTMLParagraphElement],[object HTMLParagraphElement]" |
33 | 33 |
34 String($('foo')) | 34 String($('foo')) |
35 "null" | 35 "null" |
36 | 36 |
37 console.assert(keys(window).indexOf('__commandLineAPI') === -1) | 37 console.assert(keys(window).indexOf('__commandLineAPI') === -1) |
38 undefined | 38 undefined |
39 | 39 |
OLD | NEW |