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 14 matching lines...) Expand all Loading... |
25 } else | 25 } else |
26 newwindow.document.write("This doesn't crash"); | 26 newwindow.document.write("This doesn't crash"); |
27 }; | 27 }; |
28 } | 28 } |
29 </script> | 29 </script> |
30 <body onload="loadPage()"> | 30 <body onload="loadPage()"> |
31 <p>This tests that writing on an "image page" doesn't asserts 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 write into the page using document.wri
te. It must not crash.</p> | 31 <p>This tests that writing on an "image page" doesn't asserts 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 write into the page using document.wri
te. It must not crash.</p> |
32 <pre id="console"></pre> | 32 <pre id="console"></pre> |
33 </body> | 33 </body> |
34 </html> | 34 </html> |
OLD | NEW |