| Index: LayoutTests/http/tests/security/mixedContent/resources/frame-with-subframe-and-reload.html
|
| diff --git a/LayoutTests/http/tests/security/mixedContent/resources/frame-with-subframe-and-reload.html b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-subframe-and-reload.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e9b3ae5784f6c1f99cf2e6b17a522a6d4b2fe5d3
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-subframe-and-reload.html
|
| @@ -0,0 +1,24 @@
|
| +<html>
|
| +<body>
|
| +<iframe id="img-frame" src="https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-css-image.html";>
|
| +</iframe>
|
| +<script>
|
| +var pageLoadCounter = 0;
|
| +
|
| +window.addEventListener("message", function (e) {
|
| + ++pageLoadCounter;
|
| +
|
| + if (pageLoadCounter === 1) {
|
| + console.log("Reloading...")
|
| + document.getElementById("img-frame").contentWindow.location.reload();
|
| + }
|
| +
|
| + if (pageLoadCounter === 2) {
|
| + console.log("Second load finished.")
|
| + if(window.testRunner)
|
| + testRunner.notifyDone();
|
| + }
|
| +}, false);
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|