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

Unified Diff: LayoutTests/inspector/elements/node-xpath.xhtml

Issue 16561003: DevTools: Inspect element mode does not select element in ShadowDOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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: LayoutTests/inspector/elements/node-xpath.xhtml
diff --git a/LayoutTests/inspector/elements/node-xpath.xhtml b/LayoutTests/inspector/elements/node-xpath.xhtml
index f79ee29d5330d5ae095b9faedf96d208ce15f747..c3748fb5adab7e859d5615e9fa038b163d79ac5e 100644
--- a/LayoutTests/inspector/elements/node-xpath.xhtml
+++ b/LayoutTests/inspector/elements/node-xpath.xhtml
@@ -19,7 +19,7 @@ function test()
if (node.getAttribute("id") === "test-script")
return;
dumpNodeData(node, prefix);
- var children = node.children;
+ var children = node.children();
for (var i = 0; children && i < children.length; ++i)
dumpNodes(prefix + " ", children[i]);
if (node === doc)

Powered by Google App Engine
This is Rietveld 408576698