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

Unified Diff: LayoutTests/http/tests/inspector/network/request-name-path.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/network/request-name-path.html
diff --git a/LayoutTests/http/tests/inspector/network/request-name-path.html b/LayoutTests/http/tests/inspector/network/request-name-path.html
index 8ac0dd1ecbd0bea1529645d161f11a639f7bf63c..51ec8b359732b874ff96feee79178fc395faacf0 100644
--- a/LayoutTests/http/tests/inspector/network/request-name-path.html
+++ b/LayoutTests/http/tests/inspector/network/request-name-path.html
@@ -7,7 +7,7 @@ function test()
function createNetworkRequestForURLAndDumpNameAndPath(url)
{
InspectorTest.addResult("Dumping request name and path for url: " + url);
- var request = new WebInspector.NetworkRequest(WebInspector.targetManager.activeTarget(), 0, url);
+ var request = new WebInspector.NetworkRequest(WebInspector.targetManager.mainTarget(), 0, url);
InspectorTest.addResult(" name = " + request.name());
InspectorTest.addResult(" path = " + request.path());
}
« no previous file with comments | « LayoutTests/http/tests/inspector/network/json-preview.html ('k') | LayoutTests/http/tests/inspector/resource-har-headers.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698