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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.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/network/request-name-path.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.html
index 8048eb48d3740448eeb737f286138121316b9383..af7e4d0163ddc351427682b414562e074f710a25 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.html
@@ -15,7 +15,7 @@ function test()
if (targetUrl)
mainTarget.setInspectedURL(targetUrl);
InspectorTest.addResult("Dumping request name and path for url: " + url);
- var request = new SDK.NetworkRequest(InspectorTest.networkManager, 0, url);
+ var request = new SDK.NetworkRequest(InspectorTest.networkManager, InspectorTest.NetworkAgent, 0, url);
InspectorTest.addResult(" name = " + request.name());
InspectorTest.addResult(" path = " + request.path());
InspectorTest.addResult(" targetUrl = " + (targetUrl ? targetUrl : currentTargetURL));

Powered by Google App Engine
This is Rietveld 408576698