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

Side by Side Diff: LayoutTests/media/track/track-css-matching.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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 run("video.currentTime = " + seekTimes[seekedCount]); 73 run("video.currentTime = " + seekTimes[seekedCount]);
74 } 74 }
75 } 75 }
76 76
77 function loaded() 77 function loaded()
78 { 78 {
79 findMediaElement(); 79 findMediaElement();
80 video.src = findMediaFile('video', '../content/test'); 80 video.src = findMediaFile('video', '../content/test');
81 video.id = "testvideo"; 81 video.id = "testvideo";
82 waitForEvent('seeked', seeked); 82 waitForEvent('seeked', seeked);
83 waitForEvent('canplaythrough', function() { video.currentTime = seek Times[0]; }); 83 waitForEventOnce('canplaythrough', function() { video.currentTime = seekTimes[0]; });
84 } 84 }
85 85
86 </script> 86 </script>
87 </head> 87 </head>
88 <body onload="loaded()"> 88 <body onload="loaded()">
89 <video controls > 89 <video controls >
90 <track src="captions-webvtt/styling.vtt" kind="captions" default> 90 <track src="captions-webvtt/styling.vtt" kind="captions" default>
91 </video> 91 </video>
92 </body> 92 </body>
93 </html> 93 </html>
OLDNEW
« no previous file with comments | « LayoutTests/media/track/track-css-cue-lifetime.html ('k') | LayoutTests/media/track/track-css-matching-timestamps.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698