Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: LayoutTests/inspector/console/command-line-api-expected.txt

Issue 1232393003: Return an array from bling-bling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated tests to reflect API modifcation Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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]))
11 "0,1" 11 "0,1"
12 12
13 String(values([3,4])) 13 String(values([3,4]))
14 "3,4" 14 "3,4"
15 15
16 String($('#foo')) 16 String($('#foo'))
17 "[object HTMLParagraphElement]" 17 "[object HTMLParagraphElement]"
18 18
19 String($('#foo', document.body)) 19 String($('#foo', document.body))
20 "[object HTMLParagraphElement]" 20 "[object HTMLParagraphElement]"
21 21
22 String($('#foo', 'non-node')) 22 String($('#foo', 'non-node'))
23 "[object HTMLParagraphElement]" 23 "[object HTMLParagraphElement]"
24 24
25 String($('#foo', $('#bar'))) 25 String($('#foo', $('#bar')))
26 "null" 26 "null"
27 27
28 String($$('p#foo')) 28 String($$('p'))
29 "[object NodeList]" 29 "[object HTMLParagraphElement],[object HTMLParagraphElement]"
30 30
31 String($$('p#foo', document.body)) 31 String($$('p', document.body))
32 "[object NodeList]" 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
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InjectedScriptSource.js » ('j') | Source/core/inspector/InjectedScriptSource.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698