Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1585)

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-controls-mouse-events-captured.html

Issue 2015503002: Move TODO(philipj) to TODO(foolip) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698