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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/inspect-element.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/elements-panel-restore-selection-when-node-comes-later.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/inspect-element.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspect-element.html b/third_party/WebKit/LayoutTests/http/tests/inspector/inspect-element.html
index f2e56d1dc0c5b9a650971284f6eac2d8c2299b9f..22d12bba6cacb3c0185a4b32e2fbd8b4e98cce6f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspect-element.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspect-element.html
@@ -10,7 +10,7 @@ function test()
InspectorTest.firstElementsTreeOutline().addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, selectedNodeChanged, this);
function selectedNodeChanged(event)
{
- var node = event.data;
+ var node = event.data.node;
if (!node)
return;
if (node.getAttribute("id") == "div") {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/elements-panel-restore-selection-when-node-comes-later.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698