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 17 matching lines...) Expand all Loading... |
31 eventSender.mouseDown(); | 31 eventSender.mouseDown(); |
32 eventSender.mouseUp(); | 32 eventSender.mouseUp(); |
33 } | 33 } |
34 } | 34 } |
35 </script> | 35 </script> |
36 </head> | 36 </head> |
37 <body onload="clickButton()"> | 37 <body onload="clickButton()"> |
38 <button id="test" onclick="clickHandler()">Click Here</button> | 38 <button id="test" onclick="clickHandler()">Click Here</button> |
39 <div id="console"></div> | 39 <div id="console"></div> |
40 </body> | 40 </body> |
OLD | NEW |