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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html

Issue 1974543002: DevTools: do not pro-actively query all StyleSheets for their content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2244e61d0977048eb89b70cd0095c24187597cdb..d3c6e94055f892c0f39f7664ee358eb510783470 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(url, WebInspector.resourceTypes.Script, Promise.resolve(content));
+ var contentProvider = WebInspector.StaticContentProvider.fromString(url, WebInspector.resourceTypes.Script, 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