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

Side by Side Diff: LayoutTests/media/track/track-css-cue-lifetime.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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 } 51 }
52 52
53 function loaded() 53 function loaded()
54 { 54 {
55 consoleWrite("Test that the cue is styled properly throughout its li fetime."); 55 consoleWrite("Test that the cue is styled properly throughout its li fetime.");
56 findMediaElement(); 56 findMediaElement();
57 video.src = findMediaFile('video', '../content/test'); 57 video.src = findMediaFile('video', '../content/test');
58 video.id = "testvideo"; 58 video.id = "testvideo";
59 waitForEvent('seeked', seeked); 59 waitForEvent('seeked', seeked);
60 waitForEvent('canplaythrough', function() { video.currentTime = init ialTime; }); 60 waitForEventOnce('canplaythrough', function() { video.currentTime = initialTime; });
61 } 61 }
62 62
63 </script> 63 </script>
64 </head> 64 </head>
65 <body onload="loaded()"> 65 <body onload="loaded()">
66 <video controls > 66 <video controls >
67 <track src="captions-webvtt/styling-lifetime.vtt" kind="captions" de fault> 67 <track src="captions-webvtt/styling-lifetime.vtt" kind="captions" de fault>
68 </video> 68 </video>
69 </body> 69 </body>
70 </html> 70 </html>
OLDNEW
« no previous file with comments | « LayoutTests/media/media-fragments/media-fragments.js ('k') | LayoutTests/media/track/track-css-matching.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698