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

Unified Diff: LayoutTests/inspector/elements/inspect-mode-shadow-text.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/inspect-mode-shadow-text.html
diff --git a/LayoutTests/inspector/elements/inspect-mode-shadow-text.html b/LayoutTests/inspector/elements/inspect-mode-shadow-text.html
index 4d291c55a0620e9d1a2e3ed9c0017ae52a8daa18..503f8a7a424acec68cb1eda00d07bac3007b53b3 100644
--- a/LayoutTests/inspector/elements/inspect-mode-shadow-text.html
+++ b/LayoutTests/inspector/elements/inspect-mode-shadow-text.html
@@ -23,14 +23,14 @@ function test()
function step2()
{
- WebInspector.panels.elements.treeOutline.addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, step3);
+ InspectorTest.firstElementsTreeOutline().addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, step3);
InspectorTest.evaluateInPage("click()");
}
function step3()
{
- WebInspector.panels.elements.treeOutline.removeEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, step3);
- var selectedElement = WebInspector.panels.elements.treeOutline.selectedTreeElement;
+ InspectorTest.firstElementsTreeOutline().removeEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, step3);
+ var selectedElement = InspectorTest.firstElementsTreeOutline().selectedTreeElement;
InspectorTest.addResult("Node selected: " + selectedElement.representedObject.getAttribute("id"));
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698