| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <script> | 3 <script> |
| 4 | 4 |
| 5 if (window.testRunner) { | 5 if (window.testRunner) { |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 testRunner.setCanOpenWindows(); | 7 testRunner.setCanOpenWindows(); |
| 8 testRunner.waitUntilDone(); | 8 testRunner.waitUntilDone(); |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 } | 37 } |
| 38 | 38 |
| 39 }; | 39 }; |
| 40 } | 40 } |
| 41 </script> | 41 </script> |
| 42 <body onload="zoomPage()"> | 42 <body onload="zoomPage()"> |
| 43 <p>This tests that submitting an injected form on an "image page" doesn't crash
the tab. This test requires testRunner to run. To test manually, open <a href="
resources/dice.png">this image</a> in a browser window, and inject script from t
he page source and fill the form and press submit. It must not crash and the url
must have ?url=some-url as the parameter.</p> | 43 <p>This tests that submitting an injected form on an "image page" doesn't crash
the tab. This test requires testRunner to run. To test manually, open <a href="
resources/dice.png">this image</a> in a browser window, and inject script from t
he page source and fill the form and press submit. It must not crash and the url
must have ?url=some-url as the parameter.</p> |
| 44 <pre id="console"></pre> | 44 <pre id="console"></pre> |
| 45 </body> | 45 </body> |
| 46 </html> | 46 </html> |
| OLD | NEW |