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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-seeking.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 <video controls></video> 1 <video controls></video>
2 <p>Test that seeking attribute is true immediately after a seek, 2 <p>Test that seeking attribute is true immediately after a seek,
3 goes back to false when seeking completes, and that a 'seeked' event 3 goes back to false when seeking completes, and that a 'seeked' event
4 is fired for each seek 4 is fired for each seek
5 </p> 5 </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 11
12 var seekedCount = 0; 12 var seekedCount = 0;
13 13
14 function seeked() 14 function seeked()
15 { 15 {
16 ++seekedCount; 16 ++seekedCount;
17 consoleWrite(""); 17 consoleWrite("");
(...skipping 21 matching lines...) Expand all
39 run("video.currentTime = 0.5"); 39 run("video.currentTime = 0.5");
40 consoleWrite(""); 40 consoleWrite("");
41 } 41 }
42 42
43 waitForEvent('waiting' ); 43 waitForEvent('waiting' );
44 waitForEvent('seeked', seeked ); 44 waitForEvent('seeked', seeked );
45 waitForEventOnce('canplaythrough', canplaythrough); 45 waitForEventOnce('canplaythrough', canplaythrough);
46 46
47 video.src = findMediaFile("video", "content/test"); 47 video.src = findMediaFile("video", "content/test");
48 </script> 48 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698