| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
|
| index 5815148a13c71f0e6165e3d1e6b736c69bbf5c10..5246fd4606544933a47bf4b7753c686f723a6307 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
|
| @@ -30,14 +30,14 @@ function test()
|
| var uiSourceCodes = [];
|
| function addUISourceCode(url, isContentScript, frame)
|
| {
|
| - var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, "", url);
|
| + var contentProvider = new WebInspector.StaticContentProvider(url, WebInspector.resourceTypes.Script, Promise.resolve(""));
|
| var uiSourceCode = networkProject1.addFile(contentProvider, frame || mainFrame);
|
| uiSourceCodes.push(uiSourceCode);
|
| }
|
|
|
| function addUISourceCode2(url, isContentScript)
|
| {
|
| - var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, "", url);
|
| + var contentProvider = new WebInspector.StaticContentProvider(url, WebInspector.resourceTypes.Script, Promise.resolve(""));
|
| var uiSourceCode = networkProject2.addFile(contentProvider, target2.resourceTreeModel.mainFrame);
|
| uiSourceCodes.push(uiSourceCode);
|
| }
|
|
|