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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-xpath-expected.txt

Issue 1983423002: [DevTools] Move CommandLineAPI querySelector and querySelectorAll to native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pass-bind-remote-object
Patch Set: rebased Created 4 years, 7 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 CONSOLE MESSAGE: line 1: complete 1 CONSOLE MESSAGE: line 1: complete
2 Tests $x for iterator and non-iterator types. 2 Tests $x for iterator and non-iterator types.
3 3
4 $x('42') 4 $x('42')
5 $x('name(/html)') 5 $x('name(/html)')
6 $x('not(42)') 6 $x('not(42)')
7 $x('/html/body/p').length 7 $x('/html/body/p').length
8 $x('//a/@href')[0] 8 $x('//a/@href')[0]
9 $x('./a/@href', document.body)[0]
10 $x('./a@href', document.body)
9 42 11 42
10 "html" 12 "html"
11 false 13 false
12 1 14 1
13 href="http://chromium.org" 15 href="http://chromium.org"
16 href="http://chromium.org"
17 VM:1 Uncaught DOMException: Failed to execute '$x' on 'CommandLineAPI': The stri ng './a@href' is not a valid XPath expression.(…)(anonymous function) @ VM:1
14 VM:1 complete 18 VM:1 complete
15 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698