Index: LayoutTests/inspector/curl-command.html |
diff --git a/LayoutTests/inspector/curl-command.html b/LayoutTests/inspector/curl-command.html |
index cab34a6aa20f9285809c0743606987b22061e18e..80dd7384f833b231a20bacb23a9913706c35f720 100644 |
--- a/LayoutTests/inspector/curl-command.html |
+++ b/LayoutTests/inspector/curl-command.html |
@@ -9,7 +9,7 @@ var test = function() |
function newRequest(headers, data, opt_url) |
{ |
- var request = new WebInspector.NetworkRequest(WebInspector.targetManager.activeTarget(), 0, opt_url || 'http://example.org/path', 0, 0, 0); |
+ var request = new WebInspector.NetworkRequest(WebInspector.targetManager.mainTarget(), 0, opt_url || 'http://example.org/path', 0, 0, 0); |
request.requestMethod = data ? "POST" : "GET"; |
var headerList = []; |
if (headers) { |