Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / console / command-line-api-expected.txt
1 Tests that command line api works.
2
3
4 String($0)
5 "[object HTMLParagraphElement]"
6
7 $3
8 undefined
9
10 String(keys([3,4]))
11 "0,1"
12
13 String(values([3,4]))
14 "3,4"
15
16 String($('#foo'))
17 "[object HTMLParagraphElement]"
18
19 String($('#foo', document.body))
20 "[object HTMLParagraphElement]"
21
22 String($('#foo', 'non-node'))
23 "[object HTMLParagraphElement]"
24
25 String($('#foo', $('#bar')))
26 "null"
27
28 String($$('p#foo'))
29 "[object NodeList]"
30
31 String($$('p#foo', document.body))
32 "[object NodeList]"
33
34 String($('foo'))
35 "null"
36
37 console.assert(keys(window).indexOf('__commandLineAPI') === -1)
38 undefined
39