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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/security/security-unknown-resource.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/security/security-unknown-resource.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-unknown-resource.html b/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-unknown-resource.html
index e667fd3db5949bad6a388afa1961247be38d439a..2003c800f005350b16dc90721441e6f203b668ec 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-unknown-resource.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-unknown-resource.html
@@ -5,7 +5,7 @@
<script>
function test()
{
- var request = new SDK.NetworkRequest(InspectorTest.mainTarget, 0, "http://unknown", "https://foo.test", 0, 0, null);
+ var request = new SDK.NetworkRequest(InspectorTest.networkManager, InspectorTest.NetworkAgent, 0, "http://unknown", "https://foo.test", 0, 0, null);
InspectorTest.dispatchRequestFinished(request);
InspectorTest.dumpSecurityPanelSidebarOrigins();

Powered by Google App Engine
This is Rietveld 408576698