| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <iframe srcdoc=""></iframe> | 3 <iframe srcdoc=""></iframe> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) { | 5 if (window.testRunner) { |
| 6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
| 8 } | 8 } |
| 9 | 9 |
| 10 function finish() { | 10 function finish() { |
| 11 if (window.testRunner) | 11 if (window.testRunner) |
| 12 testRunner.notifyDone(); | 12 testRunner.notifyDone(); |
| 13 } | 13 } |
| 14 | 14 |
| 15 frames[0].onunload = function () { | 15 frames[0].onunload = function () { |
| 16 document.open(); | 16 document.open(); |
| 17 document.write("PASS. WebKit didn't crash."); | 17 document.write("PASS. WebKit didn't crash."); |
| 18 document.close(); | 18 document.close(); |
| 19 | 19 |
| 20 setTimeout("finish()", 0); | 20 setTimeout("finish()", 0); |
| 21 }; | 21 }; |
| 22 </script> | 22 </script> |
| 23 </html> | 23 </html> |
| OLD | NEW |