| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/ui-source-code-display-name.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/ui-source-code-display-name.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/ui-source-code-display-name.html
|
| index aebd86e07a9e1291cb2fb03b41c383b30145d88b..2a6e32bf5fb735319bf034cd0a120682566354d4 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/ui-source-code-display-name.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/ui-source-code-display-name.html
|
| @@ -7,7 +7,7 @@ function test()
|
|
|
| function createContentProvider(url)
|
| {
|
| - var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, "");
|
| + var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, "", url);
|
| contentProvider.requestContent = function()
|
| {
|
| InspectorTest.addResult("Source requested for " + url);
|
| @@ -21,7 +21,7 @@ function test()
|
|
|
| function addNetworkFile(url)
|
| {
|
| - return workspace.networkProject.addFileForURL(url, createContentProvider(url), InspectorTest.mainFrame());
|
| + return workspace.networkProject.addFile(createContentProvider(url), InspectorTest.mainFrame());
|
| }
|
|
|
| function dumpUISourceCodeDisplayName(url)
|
|
|