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

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

Issue 2851913002: [DevTools] Do not expose agents on Target
Patch Set: storage and tests.js Created 3 years, 8 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/resource-har-headers.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-har-headers.html b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-har-headers.html
index 8788e766419d4a2484b8470412497873fd11a388..e69a1da8da3d2b4ca43258ab98fef0344625f552 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-har-headers.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-har-headers.html
@@ -34,7 +34,7 @@ var test = function()
request._transferSize = 539; // 39 = header size at the end of the day
}
- var testRequest = new SDK.NetworkRequest(SDK.targetManager.mainTarget(), "testRequest", "http://example.com/inspector-test.js", 1);
+ var testRequest = new SDK.NetworkRequest(InspectorTest.networkManager, InspectorTest.NetworkAgent, "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