| 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 touch events on the controls will not be seen by the vide
o element.</p> | 8 <p>This tests that touch events on the controls will not be seen by the vide
o element.</p> |
| 9 <script src=media-file.js></script> | 9 <script src=media-file.js></script> |
| 10 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 10 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
| 11 (Please avoid writing new tests using video-test.js) --> | 11 (Please avoid writing new tests using video-test.js) --> |
| 12 <script src=video-test.js></script> | 12 <script src=video-test.js></script> |
| 13 <script src=media-controls.js></script> | 13 <script src=media-controls.js></script> |
| 14 <script> | 14 <script> |
| 15 waitForEventAndFail("click"); | 15 waitForEventAndFail("click"); |
| 16 waitForEventAndFail("dblclick"); | 16 waitForEventAndFail("dblclick"); |
| 17 waitForEventAndFail("touchstart"); | 17 waitForEventAndFail("touchstart"); |
| 18 waitForEventAndFail("touchend"); | 18 waitForEventAndFail("touchend"); |
| 19 waitForEventAndFail("touchmove"); | 19 waitForEventAndFail("touchmove"); |
| 20 | 20 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 eventSender.updateTouchPoint(0, coords[0]+10, coords[1]+10) | 53 eventSender.updateTouchPoint(0, coords[0]+10, coords[1]+10) |
| 54 eventSender.touchMove(); | 54 eventSender.touchMove(); |
| 55 eventSender.cancelTouchPoint(0); | 55 eventSender.cancelTouchPoint(0); |
| 56 | 56 |
| 57 } | 57 } |
| 58 }); | 58 }); |
| 59 video.src = findMediaFile("video", "content/test"); | 59 video.src = findMediaFile("video", "content/test"); |
| 60 </script> | 60 </script> |
| 61 </body> | 61 </body> |
| 62 </html> | 62 </html> |
| OLD | NEW |