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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-seek-past-end-playing.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 <html> 1 <html>
2 <body> 2 <body>
3 3
4 <video loop controls></video> 4 <video loop controls></video>
5 <p>Test that seeking video with 'loop' past it's end rewinds to the beginning an d continues playback.</p> 5 <p>Test that seeking video with 'loop' past it's end rewinds to the beginning an d continues playback.</p>
6 <script src=media-file.js></script> 6 <script src=media-file.js></script>
7 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 7 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
8 (Please avoid writing new tests using video-test.js) --> 8 (Please avoid writing new tests using video-test.js) -->
9 <script src=video-test.js></script> 9 <script src=video-test.js></script>
10 <script> 10 <script>
11 var timeupdateEventCount = 0; 11 var timeupdateEventCount = 0;
12 12
13 waitForEventOnce('canplaythrough', function () { 13 waitForEventOnce('canplaythrough', function () {
14 testExpected("video.paused", true); 14 testExpected("video.paused", true);
15 run("video.play()"); 15 run("video.play()");
16 testExpected("video.paused", false); 16 testExpected("video.paused", false);
17 }); 17 });
(...skipping 25 matching lines...) Expand all
43 } 43 }
44 44
45 mediaElement.addEventListener("timeupdate", timeupdate); 45 mediaElement.addEventListener("timeupdate", timeupdate);
46 var mediaFile = findMediaFile("video", "content/test"); 46 var mediaFile = findMediaFile("video", "content/test");
47 disableFullTestDetailsPrinting(); 47 disableFullTestDetailsPrinting();
48 runSilently("video.src = '" + mediaFile + "'"); 48 runSilently("video.src = '" + mediaFile + "'");
49 enableFullTestDetailsPrinting(); 49 enableFullTestDetailsPrinting();
50 </script> 50 </script>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698