OLD | NEW |
1 <html xmlns="http://www.w3.org/1999/xhtml"> | 1 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 <head> | 2 <head> |
3 <script><![CDATA[ | 3 <script><![CDATA[ |
4 if (window.testRunner) { | 4 if (window.testRunner) { |
5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
7 } | 7 } |
8 | 8 |
9 function crash() | 9 function crash() |
10 { | 10 { |
11 cur_obj = document.createElement('a'); | 11 cur_obj = document.createElement('a'); |
12 eval('cur_obj.search = false;'); | 12 eval('cur_obj.search = false;'); |
13 eval('cur_obj.hostname = navigator;'); | 13 eval('cur_obj.hostname = navigator;'); |
14 eval('cur_obj.ping = false;'); | 14 eval('cur_obj.ping = false;'); |
15 e_value = eval('cur_obj.click();'); | 15 e_value = eval('cur_obj.click();'); |
16 if (window.testRunner) | 16 if (window.testRunner) |
17 testRunner.notifyDone(); | 17 testRunner.notifyDone(); |
18 } | 18 } |
19 ]]></script> | 19 ]]></script> |
20 </head> | 20 </head> |
21 <body onload="crash();"> | 21 <body onload="crash();"> |
22 </body> | 22 </body> |
23 </html> | 23 </html> |
OLD | NEW |