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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.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/http/tests/inspector/search/sources-search-scope-many-projects.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html b/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
index 3b7aa0e62e83d6d30f07e79b3b2d69beacc194f1..2244e61d0977048eb89b70cd0095c24187597cdb 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
@@ -65,7 +65,7 @@ function test()
function addNetworkUISourceCode(url, content)
{
- var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, content, url);
+ var contentProvider = new WebInspector.StaticContentProvider(url, WebInspector.resourceTypes.Script, Promise.resolve(content));
var networkProject = WebInspector.NetworkProject.forTarget(WebInspector.targetManager.mainTarget());
var uiSourceCode = networkProject.addFile(contentProvider, InspectorTest.mainFrame(), false);
return uiSourceCode;

Powered by Google App Engine
This is Rietveld 408576698