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

Unified Diff: LayoutTests/inspector/extensions/extensions-resources.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/extensions/extensions-resources.html
diff --git a/LayoutTests/inspector/extensions/extensions-resources.html b/LayoutTests/inspector/extensions/extensions-resources.html
index ab1cb30328e48d18ed6b6c0d467391acf6878efa..3be72caa3a62de3efc7dca6305702350efdfd8ec 100644
--- a/LayoutTests/inspector/extensions/extensions-resources.html
+++ b/LayoutTests/inspector/extensions/extensions-resources.html
@@ -19,7 +19,7 @@ InspectorTest.clickOnURL = function()
{
WebInspector.inspectorView.showPanel("console");
var xpathResult = document.evaluate("//a[starts-with(., 'extensions-resources.html')]",
- WebInspector.panels.console.element, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null);
+ WebInspector.inspectorView.panel("console").element, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null);
var click = document.createEvent("MouseEvent");
click.initMouseEvent("click", true, true);
xpathResult.singleNodeValue.dispatchEvent(click);

Powered by Google App Engine
This is Rietveld 408576698