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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/reveal-whitespace-text-node.html

Issue 2449963004: Reland of DevTools: properly restore selected DOMNode in Elements panel. (Closed)
Patch Set: Created 4 years, 2 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/elements/reveal-whitespace-text-node.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/reveal-whitespace-text-node.html b/third_party/WebKit/LayoutTests/inspector/elements/reveal-whitespace-text-node.html
index 583328f87ba8baaa9ce7e7e9e427287a554c9b05..eee340ec7ec2fe13cc53481fbcd51769c9a45516 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/reveal-whitespace-text-node.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/reveal-whitespace-text-node.html
@@ -20,7 +20,7 @@ function test()
}
function selectedNodeChanged(event) {
- var node = event.data;
+ var node = event.data.node;
InspectorTest.addResult("SelectedNodeChanged: " + node.localName());
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698