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

Unified Diff: LayoutTests/http/tests/inspector/resource-har-headers.html

Issue 396993003: DevTools: get rid of WebInspector.cssModel, use target models instead (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: LayoutTests/http/tests/inspector/resource-har-headers.html
diff --git a/LayoutTests/http/tests/inspector/resource-har-headers.html b/LayoutTests/http/tests/inspector/resource-har-headers.html
index f65e0315ded0f68a074429f115a41a3c9d8ce41c..f3f593a8bf6637ce2ee57ed9cf16554dbf147702 100644
--- a/LayoutTests/http/tests/inspector/resource-har-headers.html
+++ b/LayoutTests/http/tests/inspector/resource-har-headers.html
@@ -34,7 +34,7 @@ var test = function()
}
WebInspector.inspectorView.showPanel("network");
- var testRequest = new WebInspector.NetworkRequest(WebInspector.targetManager.activeTarget(), "testRequest", "http://example.com/inspector-test.js", 1);
+ var testRequest = new WebInspector.NetworkRequest(WebInspector.targetManager.mainTarget(), "testRequest", "http://example.com/inspector-test.js", 1);
setRequestValues(testRequest);
var headersText = testRequest.requestHeadersText();
var requestResults = {

Powered by Google App Engine
This is Rietveld 408576698