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

Unified Diff: LayoutTests/http/tests/inspector/debugger-test.js

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/http/tests/inspector/debugger-test.js
diff --git a/LayoutTests/http/tests/inspector/debugger-test.js b/LayoutTests/http/tests/inspector/debugger-test.js
index 9d7b5c537babfedb33627b76554fcf905afbb4b6..12f6ea3aab9c575d66cd00604e6cb65fe73495c3 100644
--- a/LayoutTests/http/tests/inspector/debugger-test.js
+++ b/LayoutTests/http/tests/inspector/debugger-test.js
@@ -24,7 +24,7 @@ InspectorTest.startDebuggerTest = function(callback, quiet)
InspectorTest.finishDebuggerTest = function(callback)
{
- var sourcesPanel = WebInspector.panels.sources;
+ var sourcesPanel = WebInspector.inspectorView.panel("sources");
WebInspector.debuggerModel.setBreakpointsActive(true);
InspectorTest.resumeExecution(disableDebugger);
@@ -147,8 +147,8 @@ InspectorTest.waitUntilResumed = function(callback)
InspectorTest.resumeExecution = function(callback)
{
- if (WebInspector.panels.sources.paused)
- WebInspector.panels.sources.togglePause();
+ if (WebInspector.inspectorView.panel("sources").paused)
+ WebInspector.inspectorView.panel("sources").togglePause();
InspectorTest.waitUntilResumed(callback);
};
@@ -291,7 +291,7 @@ InspectorTest.removeBreakpoint = function(sourceFrame, lineNumber)
InspectorTest.dumpBreakpointSidebarPane = function(title)
{
- var paneElement = WebInspector.panels.sources.sidebarPanes.jsBreakpoints.listElement;
+ var paneElement = WebInspector.inspectorView.panel("sources").sidebarPanes.jsBreakpoints.listElement;
InspectorTest.addResult("Breakpoint sidebar pane " + (title || ""));
InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(paneElement));
};

Powered by Google App Engine
This is Rietveld 408576698