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

Unified Diff: LayoutTests/inspector/curl-command.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/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) {
« no previous file with comments | « LayoutTests/inspector/console/console-css-warnings.html ('k') | LayoutTests/inspector/jump-to-previous-editing-location.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698