| Index: third_party/WebKit/LayoutTests/http/tests/inspector/security/security-all-resources-secure.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-blocked-mixed-content.html b/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-all-resources-secure.html
|
| similarity index 74%
|
| copy from third_party/WebKit/LayoutTests/http/tests/inspector/security/security-blocked-mixed-content.html
|
| copy to third_party/WebKit/LayoutTests/http/tests/inspector/security/security-all-resources-secure.html
|
| index 412fcc2a3f95dc3903b38ac9fd279cda77da37a5..7078bc240da6a768ffdc7681bc77c0cf2007cad7 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-blocked-mixed-content.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-all-resources-secure.html
|
| @@ -8,14 +8,12 @@ var initialize_SecurityTest = function() {
|
|
|
| function test()
|
| {
|
| - /** @type {!SecurityAgent.MixedContentStatus} */
|
| - var mixedContentStatus = { ranInsecureContent: false, displayedInsecureContent: false, ranInsecureContentStyle: SecurityAgent.SecurityState.Insecure, displayedInsecureContentStyle: SecurityAgent.SecurityState.Neutral };
|
| + var mixedContentStatus = { ranInsecureContent: false, displayedInsecureContent: false};
|
| +
|
| var targets = WebInspector.targetManager.targets();
|
| targets[0].model(WebInspector.SecurityModel).dispatchEventToListeners(WebInspector.SecurityModel.EventTypes.SecurityStateChanged, new WebInspector.PageSecurityState(SecurityAgent.SecurityState.Secure, [], mixedContentStatus, true));
|
|
|
| var request = new WebInspector.NetworkRequest(targets[0], 0, "http://foo.test", "https://foo.test", 0, 0, null);
|
| - request.setBlockedReason(NetworkAgent.BlockedReason.MixedContent);
|
| - request.mixedContentType = "blockable";
|
| targets[0].model(WebInspector.NetworkManager).dispatchEventToListeners(WebInspector.NetworkManager.EventTypes.RequestFinished, request);
|
|
|
| var explanations = WebInspector.SecurityPanel._instance()._mainView.contentElement.getElementsByClassName("security-explanation");
|
| @@ -26,6 +24,6 @@ function test()
|
| </script>
|
| </head>
|
| <body onload="runTest()">
|
| -<p>Tests active mixed content blocking in the security panel.</p>
|
| +<p>Tests addition of explanation when all page resources are transferred securely (no-mixed-content).</p>
|
| </body>
|
| </html>
|
|
|