OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 | 4 |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <video controls></video> | 7 <video controls></video> |
8 <p>This tests that a mouse events on the controls will not be seen by the vi
deo element.</p> | 8 <p>This tests that a mouse events on the controls will not be seen by the vi
deo element.</p> |
9 <p>Also tests keyboard input.</p> | 9 <p>Also tests keyboard input.</p> |
10 <script src=media-file.js></script> | 10 <script src=media-file.js></script> |
11 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 11 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
12 (Please avoid writing new tests using video-test.js) --> | 12 (Please avoid writing new tests using video-test.js) --> |
13 <script src=video-test.js></script> | 13 <script src=video-test.js></script> |
14 <script src=media-controls.js></script> | 14 <script src=media-controls.js></script> |
15 <script> | 15 <script> |
16 waitForEventAndFail("click"); | 16 waitForEventAndFail("click"); |
17 waitForEventAndFail("dblclick"); | 17 waitForEventAndFail("dblclick"); |
18 waitForEventAndFail("mousedown"); | 18 waitForEventAndFail("mousedown"); |
19 waitForEventAndFail("mouseup"); | 19 waitForEventAndFail("mouseup"); |
20 waitForEventAndFail("keydown"); | 20 waitForEventAndFail("keydown"); |
21 | 21 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 // Check that the timeline also captures mousemove if the | 63 // Check that the timeline also captures mousemove if the |
64 // slider is being dragged. | 64 // slider is being dragged. |
65 eventSender.mouseMoveTo(coords[0]+10, coords[1]+10) | 65 eventSender.mouseMoveTo(coords[0]+10, coords[1]+10) |
66 } | 66 } |
67 }); | 67 }); |
68 video.src = findMediaFile("video", "content/test"); | 68 video.src = findMediaFile("video", "content/test"); |
69 </script> | 69 </script> |
70 </body> | 70 </body> |
71 </html> | 71 </html> |
OLD | NEW |