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

Side by Side Diff: LayoutTests/media/controls-drag-timebar.html

Issue 17395006: Fix LayoutTests that assume canplay, playing, and canplaythrough will only fire once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix event-attributes expectations. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/media/audio-garbage-collect.html ('k') | LayoutTests/media/event-attributes.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>drag timebar test</title> 4 <title>drag timebar test</title>
5 <script src=media-controls.js></script> 5 <script src=media-controls.js></script>
6 <script src=media-file.js></script> 6 <script src=media-file.js></script>
7 <script src=video-test.js></script> 7 <script src=video-test.js></script>
8 <script> 8 <script>
9 var x; 9 var x;
10 var y; 10 var y;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 if (window.eventSender) 65 if (window.eventSender)
66 eventSender.mouseUp(); 66 eventSender.mouseUp();
67 endTest(); 67 endTest();
68 } 68 }
69 69
70 function start() 70 function start()
71 { 71 {
72 findMediaElement(); 72 findMediaElement();
73 waitForEvent('canplaythrough', test); 73 waitForEventOnce('canplaythrough', test);
74 waitForEvent('seeked', seeked); 74 waitForEvent('seeked', seeked);
75 video.src = findMediaFile("video", "content/test"); 75 video.src = findMediaFile("video", "content/test");
76 } 76 }
77 </script> 77 </script>
78 </head> 78 </head>
79 79
80 <body onload="start()"> 80 <body onload="start()">
81 <p>Test that dragging the timebar thumb causes seeks.</p> 81 <p>Test that dragging the timebar thumb causes seeks.</p>
82 <video controls></video> 82 <video controls></video>
83 </body> 83 </body>
84 </html> 84 </html>
85
OLDNEW
« no previous file with comments | « LayoutTests/media/audio-garbage-collect.html ('k') | LayoutTests/media/event-attributes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698