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

Side by Side Diff: third_party/WebKit/LayoutTests/media/media-ended.html

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 years, 10 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
6 (Please avoid writing new tests using video-test.js) -->
5 <script src=video-test.js></script> 7 <script src=video-test.js></script>
6 8
7 <script> 9 <script>
8 var endedCount = 0; 10 var endedCount = 0;
9 var canplaythroughCount = 0; 11 var canplaythroughCount = 0;
10 var audio; 12 var audio;
11 13
12 function start() 14 function start()
13 { 15 {
14 audio = document.querySelector("audio"); 16 audio = document.querySelector("audio");
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 <audio controls autoplay></audio> 55 <audio controls autoplay></audio>
54 <p><b>Test ended by:</b> 56 <p><b>Test ended by:</b>
55 <ol> 57 <ol>
56 <li>Play to the end.</li> 58 <li>Play to the end.</li>
57 <li>When 'ended' event fires, change the source.</li> 59 <li>When 'ended' event fires, change the source.</li>
58 <li>Verify that 'ended' event fires again on different source.</li> 60 <li>Verify that 'ended' event fires again on different source.</li>
59 </ol> 61 </ol>
60 </p> 62 </p>
61 </body> 63 </body>
62 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698