Index: third_party/WebKit/LayoutTests/http/tests/inspector/security/mixed-content-active-and-passive-reload.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/security/mixed-content-active-and-passive-reload.html b/third_party/WebKit/LayoutTests/http/tests/inspector/security/mixed-content-active-and-passive-reload.html |
index 2735a0d75c3fd174fdb0612c7ce1384eee24eaa9..86c7b095d59a12366071e5565fb079acb751428d 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/security/mixed-content-active-and-passive-reload.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/security/mixed-content-active-and-passive-reload.html |
@@ -19,11 +19,11 @@ function test() |
InspectorTest.mainTarget.model(Security.SecurityModel).dispatchEventToListeners(Security.SecurityModel.Events.SecurityStateChanged, new Security.PageSecurityState(Protocol.Security.SecurityState.Neutral, true, [], insecureContentStatus, null)); |
- var passive = new SDK.NetworkRequest(InspectorTest.mainTarget, 0, "http://foo.test", "https://foo.test", 0, 0, null); |
+ var passive = new SDK.NetworkRequest(InspectorTest.networkManager, InspectorTest.NetworkAgent, 0, "http://foo.test", "https://foo.test", 0, 0, null); |
passive.mixedContentType = "optionally-blockable"; |
InspectorTest.dispatchRequestFinished(passive); |
- var active = new SDK.NetworkRequest(InspectorTest.mainTarget, 0, "http://foo.test", "https://foo.test", 0, 0, null); |
+ var active = new SDK.NetworkRequest(InspectorTest.networkManager, InspectorTest.NetworkAgent, 0, "http://foo.test", "https://foo.test", 0, 0, null); |
active.mixedContentType = "blockable"; |
InspectorTest.dispatchRequestFinished(active); |