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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js

Issue 1878123003: DevTools: fix elements-panel-shadow-selection-on-refresh.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: split test into many Created 4 years, 8 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 | « third_party/WebKit/LayoutTests/inspector/elements/shadow/elements-panel-shadow-selection-on-refresh-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
index 62fddf550b74529621e18268868a575202f7ae6b..fca8a3437d065eb67aa4fe5ff3b0fde6aba11651 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js
@@ -465,6 +465,7 @@ WebInspector.ElementsPanel.prototype = {
}
var node = nodeId ? domModel.nodeForId(nodeId) : null;
selectNode.call(this, node);
+ this._lastSelectedNodeSelectedForTest();
}
if (this._omitDefaultSelection)
@@ -477,6 +478,8 @@ WebInspector.ElementsPanel.prototype = {
delete this._selectedPathOnReset;
},
+ _lastSelectedNodeSelectedForTest: function() { },
+
/**
* @override
*/
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/elements/shadow/elements-panel-shadow-selection-on-refresh-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698