OLD | NEW |
1 <html> | 1 <html> |
2 <body> | 2 <body> |
3 <iframe id="ifrm" src="about:blank"></iframe> | 3 <iframe id="ifrm" src="about:blank"></iframe> |
4 <script> | 4 <script> |
5 document.getElementById("ifrm").contentDocument.open(); | 5 document.getElementById("ifrm").contentDocument.open(); |
6 if (window.testRunner) { | 6 if (window.testRunner) { |
7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 } | 9 } |
10 var newDoc = "SUCCESS<script>if (window.testRunner) testRunner.notifyDone();
</scr" + "ipt>"; | 10 setTimeout("window.location='../../resources/notify-success.html'", 500); |
11 setTimeout("window.location='data:text/html," + newDoc + "'", 500); | |
12 </script> | 11 </script> |
13 <div>FAILURE: should redirect.</div> | 12 <div>FAILURE: should redirect.</div> |
14 </body> | 13 </body> |
15 </html> | 14 </html> |
OLD | NEW |