OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 Test passes if it does not crash. | 3 Test passes if it does not crash. |
4 <applet code=doesnotexist.class></applet> | 4 <applet code=doesnotexist.class></applet> |
5 <script> | 5 <script> |
6 if (window.layoutTestController) { | 6 if (window.layoutTestController) { |
7 layoutTestController.overridePreference("WebKitJavaEnabled", "1"); | 7 layoutTestController.overridePreference("WebKitJavaEnabled", "1"); |
8 layoutTestController.dumpAsText(); | 8 layoutTestController.dumpAsText(); |
9 layoutTestController.waitUntilDone(); | 9 layoutTestController.waitUntilDone(); |
10 } | 10 } |
(...skipping 10 matching lines...) Expand all Loading... |
21 function crash() { | 21 function crash() { |
22 var temp = new Array(); | 22 var temp = new Array(); |
23 walk(temp, "", 0, document.documentElement); | 23 walk(temp, "", 0, document.documentElement); |
24 if (window.layoutTestController) | 24 if (window.layoutTestController) |
25 layoutTestController.notifyDone(); | 25 layoutTestController.notifyDone(); |
26 } | 26 } |
27 | 27 |
28 setTimeout("crash();", 0); | 28 setTimeout("crash();", 0); |
29 </script> | 29 </script> |
30 </html> | 30 </html> |
OLD | NEW |