| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../../resources/js-test-pre.js"></script> |
| window.testRunner.dumpAsText(); |
| window.testRunner.waitUntilDone(); |
| description('Submitting a GET form to <about:blank> should redirect the browser to <about:blank?>.'); |
| document.getElementById('form').submit(); |
| var initialFrameLoaded = false; |
| iframe = document.getElementById('iframe'); |
| if (!initialFrameLoaded) { |
| shouldBe('iframe.contentDocument.URL', '"about:blank"'); |
| initialFrameLoaded = true; |
| shouldBe('iframe.contentDocument.URL', '"about:blank?"'); |
| window.testRunner.notifyDone(); |
| <iframe id="iframe" name="iframe" onload="onFrameLoad();" style="display: none;"></iframe> |
| <form id="form" action="about:blank" method="GET" target="iframe" style="display: none;"></form> |