| 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));
|
| };
|
|
|