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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/console/console-xpath-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-xpath-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/console-xpath-expected.txt
index b1f2616ff6cd936ec44fae6a129b651ad86743f9..9186236b4592ebf3dd842330d8ab0b41bed57e8e 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-xpath-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-xpath-expected.txt
@@ -6,10 +6,14 @@ $x('name(/html)')
$x('not(42)')
$x('/html/body/p').length
$x('//a/@href')[0]
+$x('./a/@href', document.body)[0]
+$x('./a@href', document.body)
42
"html"
false
1
href="http://chromium.org"
+href="http://chromium.org"
+VM:1 Uncaught DOMException: Failed to execute '$x' on 'CommandLineAPI': The string './a@href' is not a valid XPath expression.(…)(anonymous function) @ VM:1
VM:1 complete

Powered by Google App Engine
This is Rietveld 408576698