| Index: LayoutTests/http/tests/security/mixedContent/resources/frame-with-invisible-DOM-with-insecure-form.html
|
| diff --git a/LayoutTests/http/tests/security/mixedContent/resources/frame-with-invisible-DOM-with-insecure-form.html b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-invisible-DOM-with-insecure-form.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..06f9fad4aa1a2f9871c1a2510d7454b7fdf001ad
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-invisible-DOM-with-insecure-form.html
|
| @@ -0,0 +1,15 @@
|
| +<script>
|
| +function load_content() {
|
| + var invisible_doc = document.implementation.createHTMLDocument("");
|
| + invisible_doc.body.innerHTML = '<html><body><form action="http://127.0.0.1:8080/security/resources/boring.html" method="post"></form></body></html>';
|
| +}
|
| +
|
| +window.addEventListener("DOMContentLoaded", function listener() { load_content(); }, false);
|
| +</script>
|
| +
|
| +<script>
|
| +window.onload = function() {
|
| + if (window.opener)
|
| + window.opener.postMessage('done', '*');
|
| +};
|
| +</script>
|
|
|