| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html
|
| index de02d963a854a0f862071f0c85a452d7b0c3c267..b77f31cfa916f2e583ddfe12141e04d6653b2233 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html
|
| @@ -14,17 +14,17 @@ function test()
|
|
|
| function createNavigatorView()
|
| {
|
| - var workspace = WebInspector.workspace;
|
| - WebInspector.workspace = InspectorTest.testWorkspace;
|
| - var navigatorView = new WebInspector.SourcesNavigatorView();
|
| - WebInspector.workspace = workspace;
|
| - navigatorView.show(WebInspector.inspectorView.element);
|
| + var workspace = Workspace.workspace;
|
| + Workspace.workspace = InspectorTest.testWorkspace;
|
| + var navigatorView = new Sources.SourcesNavigatorView();
|
| + Workspace.workspace = workspace;
|
| + navigatorView.show(UI.inspectorView.element);
|
| return navigatorView;
|
| }
|
|
|
| function createContentProvider(url)
|
| {
|
| - var contentProvider = WebInspector.StaticContentProvider.fromString(url, WebInspector.resourceTypes.Script, "");
|
| + var contentProvider = Common.StaticContentProvider.fromString(url, Common.resourceTypes.Script, "");
|
| contentProvider.requestContent = function()
|
| {
|
| InspectorTest.addResult("Source requested for " + url);
|
| @@ -36,7 +36,7 @@ function test()
|
| function createMockWorkspace()
|
| {
|
| InspectorTest.createWorkspaceWithTarget(true);
|
| - InspectorTest.testDebuggerProject = new WebInspector.ContentProviderBasedProject(InspectorTest.testWorkspace, "", WebInspector.projectTypes.Debugger, "");
|
| + InspectorTest.testDebuggerProject = new Bindings.ContentProviderBasedProject(InspectorTest.testWorkspace, "", Workspace.projectTypes.Debugger, "");
|
| return InspectorTest.testWorkspace;
|
| }
|
|
|
| @@ -47,7 +47,7 @@ function test()
|
|
|
| function addDebuggerFile(workspace, url)
|
| {
|
| - var uiSourceCode = InspectorTest.testDebuggerProject.createUISourceCode(url, WebInspector.resourceTypes.Script);
|
| + var uiSourceCode = InspectorTest.testDebuggerProject.createUISourceCode(url, Common.resourceTypes.Script);
|
| InspectorTest.testDebuggerProject.addUISourceCodeWithProvider(uiSourceCode, createContentProvider(url));
|
| return uiSourceCode;
|
| }
|
|
|