OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <link rel="stylesheet" href="../js/resources/js-test-style.css"> | 3 <link rel="stylesheet" href="../js/resources/js-test-style.css"> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <a id=test href="javascript:popup()">test</a> | 7 <a id=test href="javascript:popup()">test</a> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 var win; | 10 var win; |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 clickEvent = document.createEvent("MouseEvents"); | 24 clickEvent = document.createEvent("MouseEvents"); |
25 clickEvent.initEvent("click", true, true, document.defaultView, 0, 0
, 0, 0, 0, false, false, false, false, 0, null); | 25 clickEvent.initEvent("click", true, true, document.defaultView, 0, 0
, 0, 0, 0, false, false, false, false, 0, null); |
26 document.getElementById("test").dispatchEvent(clickEvent); | 26 document.getElementById("test").dispatchEvent(clickEvent); |
27 | 27 |
28 if (window.layoutTestController) | 28 if (window.layoutTestController) |
29 layoutTestController.notifyDone(); | 29 layoutTestController.notifyDone(); |
30 </script> | 30 </script> |
31 </body> | 31 </body> |
32 </html> | 32 </html> |
OLD | NEW |