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

Side by Side Diff: third_party/WebKit/LayoutTests/media/media-element-play-after-eos.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 <script src=media-file.js></script> 4 <script src=media-file.js></script>
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 5 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
6 (Please avoid writing new tests using video-test.js) --> 6 (Please avoid writing new tests using video-test.js) -->
7 <script src=video-test.js></script> 7 <script src=video-test.js></script>
8 <script> 8 <script>
9 var repeated = false; 9 var repeated = false;
10 var mediaElement = new Audio(); 10 var mediaElement = new Audio();
11 11
12 function start() 12 function start()
13 { 13 {
14 mediaElement.src = findMediaFile('audio', 'content/silence'); 14 mediaElement.src = findMediaFile('audio', 'content/silence');
15 waitForEvent("loadedmetadata", mediaLoadedMetadata); 15 waitForEvent("loadedmetadata", mediaLoadedMetadata);
(...skipping 30 matching lines...) Expand all
46 waitForEventOnce("playing", mediaPlaying); 46 waitForEventOnce("playing", mediaPlaying);
47 run("mediaElement.play()"); 47 run("mediaElement.play()");
48 } 48 }
49 49
50 </script> 50 </script>
51 </head> 51 </head>
52 <body onload="start()"> 52 <body onload="start()">
53 <p>This tests ensure that media element emits the 'playing' event every time it starts playing after eos. It also ensure that 'pause' and 'ended' events are sent when media playback ends.</p> 53 <p>This tests ensure that media element emits the 'playing' event every time it starts playing after eos. It also ensure that 'pause' and 'ended' events are sent when media playback ends.</p>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698