| Index: third_party/WebKit/LayoutTests/http/tests/inspector/security/active-subresource-with-cert-errors.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-all-resources-secure.html b/third_party/WebKit/LayoutTests/http/tests/inspector/security/active-subresource-with-cert-errors.html
|
| similarity index 62%
|
| copy from third_party/WebKit/LayoutTests/http/tests/inspector/security/security-all-resources-secure.html
|
| copy to third_party/WebKit/LayoutTests/http/tests/inspector/security/active-subresource-with-cert-errors.html
|
| index 9da6be0af577ee468e1cf7d878556462b4ab4657..99c3a597707a271be980582d6a7bb871ce80f269 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-all-resources-secure.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/security/active-subresource-with-cert-errors.html
|
| @@ -5,9 +5,10 @@
|
| <script>
|
| function test()
|
| {
|
| - var mixedContentStatus = { ranInsecureContent: false, displayedInsecureContent: false};
|
| + /** @type {!SecurityAgent.InsecureContentStatus} */
|
| + var insecureContentStatus = { ranMixedContent: false, displayedMixedContent: false, ranContentWithCertErrors: true, displayedContentWithCertErrors: false, ranInsecureContentStyle: SecurityAgent.SecurityState.Insecure, displayedInsecureContentStyle: SecurityAgent.SecurityState.Neutral };
|
|
|
| - InspectorTest.mainTarget.model(WebInspector.SecurityModel).dispatchEventToListeners(WebInspector.SecurityModel.Events.SecurityStateChanged, new WebInspector.PageSecurityState(SecurityAgent.SecurityState.Secure, [], mixedContentStatus, true));
|
| + InspectorTest.mainTarget.model(WebInspector.SecurityModel).dispatchEventToListeners(WebInspector.SecurityModel.Events.SecurityStateChanged, new WebInspector.PageSecurityState(SecurityAgent.SecurityState.Insecure, [], insecureContentStatus, true));
|
|
|
| var request = new WebInspector.NetworkRequest(InspectorTest.mainTarget, 0, "http://foo.test", "https://foo.test", 0, 0, null);
|
| InspectorTest.dispatchRequestFinished(request);
|
| @@ -20,6 +21,6 @@ function test()
|
| </script>
|
| </head>
|
| <body onload="runTest()">
|
| -<p>Tests addition of explanation when all page resources are transferred securely (no-mixed-content).</p>
|
| +<p>Tests addition of explanation when an active subresource was loaded with certificate errors.</p>
|
| </body>
|
| </html>
|
|
|