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

Unified Diff: third_party/WebKit/LayoutTests/inspector/curl-command.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/inspector/curl-command.html
diff --git a/third_party/WebKit/LayoutTests/inspector/curl-command.html b/third_party/WebKit/LayoutTests/inspector/curl-command.html
index ea10e6edefcb661fe027c43340564963e181cff7..074830f9fa0fd4ae41074c13142e2ce08821be6d 100644
--- a/third_party/WebKit/LayoutTests/inspector/curl-command.html
+++ b/third_party/WebKit/LayoutTests/inspector/curl-command.html
@@ -9,7 +9,7 @@ var test = function()
function newRequest(headers, data, opt_url)
{
- var request = new SDK.NetworkRequest(SDK.targetManager.mainTarget(), 0, opt_url || 'http://example.org/path', 0, 0, 0);
+ var request = new SDK.NetworkRequest(InspectorTest.networkManager, InspectorTest.NetworkAgent, 0, opt_url || 'http://example.org/path', 0, 0, 0);
request.requestMethod = data ? "POST" : "GET";
var headerList = [];
if (headers) {

Powered by Google App Engine
This is Rietveld 408576698