OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <p> | 4 <p> |
5 Test that we don't create a new user gesture indicator every time | 5 Test that we don't create a new user gesture indicator every time |
6 an event is passed to an iframe. | 6 an event is passed to an iframe. |
7 </p> | 7 </p> |
8 <p> | 8 <p> |
9 To run, click on the iframe. The test passes, if only one window | 9 To run, click on the iframe. The test passes, if only one window |
10 is opened in response to the click. | 10 is opened in response to the click. |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 if (window.eventSender) { | 38 if (window.eventSender) { |
39 eventSender.mouseMoveTo(frame.offsetLeft + frame.offsetWidth
/ 2, frame.offsetTop + frame.offsetHeight / 2); | 39 eventSender.mouseMoveTo(frame.offsetLeft + frame.offsetWidth
/ 2, frame.offsetTop + frame.offsetHeight / 2); |
40 eventSender.mouseDown(); | 40 eventSender.mouseDown(); |
41 eventSender.mouseUp(); | 41 eventSender.mouseUp(); |
42 } | 42 } |
43 } | 43 } |
44 </script> | 44 </script> |
45 </body> | 45 </body> |
46 </html> | 46 </html> |
OLD | NEW |