| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 if (window.testRunner) { | 4 if (window.testRunner) { |
| 5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
| 6 testRunner.dumpChildFramesAsText(); |
| 6 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
| 7 } | 8 } |
| 8 window.location = 'data:text/html,\ | 9 |
| 9 <form action="http://127.0.0.1:8000/security/originHeader/resources/print-origin
.cgi"\ | 10 window.onload = function() { |
| 10 method="POST">\ | 11 document.getElementById("f").src = 'data:text/html,\ |
| 11 </form>\ | 12 <form action="http://127.0.0.1:8000/security/originHeader/resources/print-orig
in.cgi"\ |
| 12 <script>document.forms[0].submit();</scr' + 'ipt>'; | 13 method="POST">\ |
| 14 </form>\ |
| 15 <script>document.forms[0].submit();</scr' + 'ipt>'; |
| 16 } |
| 13 </script> | 17 </script> |
| 14 </head> | 18 </head> |
| 15 <body> | 19 <body> |
| 20 <iframe id="f" name="frame-with-data-url"></iframe> |
| 16 </body> | 21 </body> |
| 17 </html> | 22 </html> |
| OLD | NEW |