OLD | NEW |
1 <html> | 1 <html> |
2 <div id="b"> | 2 <div id="b"> |
3 Press a key! | 3 Press a key! |
4 <input id="a"> | 4 <input id="a"> |
5 <iframe></iframe> | 5 <iframe></iframe> |
6 </div> | 6 </div> |
7 <script> | 7 <script> |
8 if (window.layoutTestController) { | 8 if (window.layoutTestController) { |
9 layoutTestController.dumpAsText(); | 9 layoutTestController.dumpAsText(); |
10 layoutTestController.waitUntilDone(); | 10 layoutTestController.waitUntilDone(); |
(...skipping 12 matching lines...) Expand all Loading... |
23 a.dispatchEvent(e); | 23 a.dispatchEvent(e); |
24 }) | 24 }) |
25 | 25 |
26 document.body.offsetTop; | 26 document.body.offsetTop; |
27 a.focus(); | 27 a.focus(); |
28 | 28 |
29 if (window.layoutTestController) | 29 if (window.layoutTestController) |
30 eventSender.keyDown('a'); | 30 eventSender.keyDown('a'); |
31 </script> | 31 </script> |
32 </html> | 32 </html> |
OLD | NEW |