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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.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 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <script src="../media-file.js"></script> 5 <script src="../media-file.js"></script>
6 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
7 (Please avoid writing new tests using video-test.js) -->
6 <script src="../video-test.js"></script> 8 <script src="../video-test.js"></script>
7 <script src="../media-controls.js"></script> 9 <script src="../media-controls.js"></script>
8 <script> 10 <script>
9 var cueNode; 11 var cueNode;
10 var seekedCount = 0; 12 var seekedCount = 0;
11 var step = 0.4; 13 var step = 0.4;
12 var initialTime = 0.6; 14 var initialTime = 0.6;
13 var endTime = 3.0 15 var endTime = 3.0
14 16
15 function seeked() 17 function seeked()
(...skipping 23 matching lines...) Expand all
39 waitForEvent('seeked', seeked); 41 waitForEvent('seeked', seeked);
40 waitForEventOnce('canplaythrough', function() { video.currentTime = initialT ime; }); 42 waitForEventOnce('canplaythrough', function() { video.currentTime = initialT ime; });
41 } 43 }
42 </script> 44 </script>
43 </head> 45 </head>
44 <body onload="loaded()"> 46 <body onload="loaded()">
45 <div id='host'> 47 <div id='host'>
46 </div> 48 </div>
47 </body> 49 </body>
48 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698