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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.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/sources-panel-extension-names.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.html b/third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.html
index d124c0ad069619d688710cbca8893f5064a4c218..bca4b892a3275c1d2884b1a6e5520c93634f77ac 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.html
@@ -22,7 +22,7 @@ function test()
function testAddExecutionContextBeforeFile(next)
{
InspectorTest.runtimeModel._executionContextCreated(mockExecutionContext);
- var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, "", mockContentScriptURL);
+ var contentProvider = new WebInspector.StaticContentProvider(mockContentScriptURL, WebInspector.resourceTypes.Script, Promise.resolve(""));
WebInspector.NetworkProject.forTarget(InspectorTest.mainTarget).addFile(contentProvider, InspectorTest.mainFrame(), true);
InspectorTest.dumpNavigatorView(contentScriptsNavigatorView);
next();

Powered by Google App Engine
This is Rietveld 408576698