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

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

Issue 2284123002: [DevTools] Format console.log(new Error()) same as console.log(new Error().stack) (Closed)
Patch Set: removed elipsis Created 4 years, 3 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] 9 $x('./a/@href', document.body)[0]
10 $x('./a@href', document.body) 10 $x('./a@href', document.body)
11 42 11 42
12 "html" 12 "html"
13 false 13 false
14 1 14 1
15 href="http://chromium.org" 15 href="http://chromium.org"
16 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 17 VM:1 Uncaught DOMException: Failed to execute '$x' on 'CommandLineAPI': The stri ng './a@href' is not a valid XPath expression.
18 at <anonymous>:1:1(anonymous function) @ VM:1
18 VM:1 complete 19 VM:1 complete
19 20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698