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

Side by Side Diff: LayoutTests/media/track/track-css-matching-timestamps.html

Issue 17395006: Fix LayoutTests that assume canplay, playing, and canplaythrough will only fire once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix event-attributes expectations. Created 7 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 | Annotate | Revision Log
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 5
6 <script src=../media-file.js></script> 6 <script src=../media-file.js></script>
7 <script src=../video-test.js></script> 7 <script src=../video-test.js></script>
8 <script src=../media-controls.js></script> 8 <script src=../media-controls.js></script>
9 9
10 <style> 10 <style>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 } 50 }
51 51
52 function loaded() 52 function loaded()
53 { 53 {
54 consoleWrite("Test that cues are being matched properly by :past and :future pseudo classes."); 54 consoleWrite("Test that cues are being matched properly by :past and :future pseudo classes.");
55 findMediaElement(); 55 findMediaElement();
56 video.src = findMediaFile('video', '../content/test'); 56 video.src = findMediaFile('video', '../content/test');
57 video.id = "testvideo"; 57 video.id = "testvideo";
58 waitForEvent('seeked', seeked); 58 waitForEvent('seeked', seeked);
59 waitForEvent('canplaythrough', function() { video.currentTime = seek Times[0]; }); 59 waitForEventOnce('canplaythrough', function() { video.currentTime = seekTimes[0]; });
60 } 60 }
61 61
62 </script> 62 </script>
63 </head> 63 </head>
64 <body onload="loaded()"> 64 <body onload="loaded()">
65 <video controls > 65 <video controls >
66 <track src="captions-webvtt/styling-timestamps.vtt" kind="captions" default> 66 <track src="captions-webvtt/styling-timestamps.vtt" kind="captions" default>
67 </video> 67 </video>
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW
« no previous file with comments | « LayoutTests/media/track/track-css-matching.html ('k') | LayoutTests/media/track/track-cue-nothing-to-render.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698