OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <head> | 2 <head> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
4 <script> | 4 <script> |
5 var newWindow; | 5 var newWindow; |
6 | 6 |
7 if (window.testRunner) { | 7 if (window.testRunner) { |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 testRunner.setCanOpenWindows(); | 9 testRunner.setCanOpenWindows(); |
10 testRunner.waitUntilDone(); | 10 testRunner.waitUntilDone(); |
11 testRunner.setPopupBlockingEnabled(true); | 11 testRunner.setPopupBlockingEnabled(true); |
12 } | 12 } |
13 | 13 |
(...skipping 20 matching lines...) Expand all Loading... |
34 eventSender.mouseDown(); | 34 eventSender.mouseDown(); |
35 eventSender.mouseUp(); | 35 eventSender.mouseUp(); |
36 } | 36 } |
37 } | 37 } |
38 </script> | 38 </script> |
39 </head> | 39 </head> |
40 <body onload="clickButton()"> | 40 <body onload="clickButton()"> |
41 <button id="test" onclick="clickHandler()">Click Here</button> | 41 <button id="test" onclick="clickHandler()">Click Here</button> |
42 <div id="console"></div> | 42 <div id="console"></div> |
43 </body> | 43 </body> |
OLD | NEW |