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 function loaded() | 6 function loaded() |
7 { | 7 { |
8 var p = document.createElement("p"); | 8 var p = document.createElement("p"); |
9 p.appendChild(document.createTextNode("PASS")); | 9 p.appendChild(document.createTextNode("PASS")); |
10 document.body.appendChild(p); | 10 document.body.appendChild(p); |
11 } | 11 } |
12 </script> | 12 </script> |
13 </head> | 13 </head> |
14 <body> | 14 <body> |
15 The following PNG will attempt to render a bad row. | 15 The following PNG will attempt to render a bad row. |
16 If the test succeeds this should not crash. | 16 If the test succeeds this should not crash. |
17 <img onload="loaded()" src="resources/png-extra-row-crash.png"> | 17 <img onload="loaded()" src="resources/png-extra-row-crash.png"> |
18 </body> | 18 </body> |
19 </html> | 19 </html> |
20 | 20 |
OLD | NEW |