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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html

Issue 1954423002: DevTools: introduce CSSStyleSheetHeader.originalContentProvider() method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify-network-project
Patch Set: address comments Created 4 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: 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);
}

Powered by Google App Engine
This is Rietveld 408576698