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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/sources-panel-extension-names.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/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 bca4b892a3275c1d2884b1a6e5520c93634f77ac..74e34991cf1771e3b4b58a844026c0b8158a9b8c 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(mockContentScriptURL, WebInspector.resourceTypes.Script, Promise.resolve(""));
+ var contentProvider = WebInspector.StaticContentProvider.fromString(mockContentScriptURL, WebInspector.resourceTypes.Script, "");
WebInspector.NetworkProject.forTarget(InspectorTest.mainTarget).addFile(contentProvider, InspectorTest.mainFrame(), true);
InspectorTest.dumpNavigatorView(contentScriptsNavigatorView);
next();

Powered by Google App Engine
This is Rietveld 408576698