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

Unified Diff: LayoutTests/inspector/elements/elements-panel-selection-on-refresh.html

Issue 218703002: DevTools: [wip] move Elements panel off WebInspector.domModel and single tree outline. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review comment addressed (and much more) Created 6 years, 9 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/elements-panel-selection-on-refresh.html
diff --git a/LayoutTests/inspector/elements/elements-panel-selection-on-refresh.html b/LayoutTests/inspector/elements/elements-panel-selection-on-refresh.html
index 93f29f5e49593e324aab40dc558cc7ed1c6f408f..a121d9292a1f3a12a5707ed4364b5657ff87b774 100644
--- a/LayoutTests/inspector/elements/elements-panel-selection-on-refresh.html
+++ b/LayoutTests/inspector/elements/elements-panel-selection-on-refresh.html
@@ -21,7 +21,7 @@ function test()
function step3()
{
// We should have "test-topic" element selected after refresh.
- var selectedElement = WebInspector.panels.elements.treeOutline.selectedTreeElement;
+ var selectedElement = InspectorTest.firstElementsTreeOutline().selectedTreeElement;
var nodeName = selectedElement ? selectedElement.representedObject.nodeName() : "null";
InspectorTest.addResult("Selected element should be 'P', was: '" + nodeName + "'");
InspectorTest.completeTest();

Powered by Google App Engine
This is Rietveld 408576698