| Index: third_party/WebKit/LayoutTests/http/tests/inspector/security/security-blocked-mixed-content.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-blocked-mixed-content.html
|
| index a21191a0cacb35336a15d48c365287728e9f7f5f..b204273f33fdbc97fd3dfd0b6ac4bb736853c5ff 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-blocked-mixed-content.html
|
| @@ -17,6 +17,13 @@ function test()
|
| var explanations = WebInspector.SecurityPanel._instance()._mainView.contentElement.getElementsByClassName("security-explanation");
|
| for (var i = 0; i < explanations.length; i++)
|
| InspectorTest.dumpDeepInnerHTML(explanations[i]);
|
| +
|
| + // Test that the explanations are cleared on navigation. Regression test for https://crbug.com/601944.
|
| + InspectorTest.mainTarget.model(WebInspector.ResourceTreeModel).dispatchEventToListeners(WebInspector.ResourceTreeModel.EventTypes.MainFrameNavigated, InspectorTest.resourceTreeModel.mainFrame);
|
| + explanations = WebInspector.SecurityPanel._instance()._mainView.contentElement.getElementsByClassName("security-explanation");
|
| + for (var i = 0; i < explanations.length; i++)
|
| + InspectorTest.dumpDeepInnerHTML(explanations[i]);
|
| +
|
| InspectorTest.completeTest();
|
| }
|
| </script>
|
|
|