OLD | NEW |
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 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 7 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
8 (Please avoid writing new tests using video-test.js) --> | 8 (Please avoid writing new tests using video-test.js) --> |
9 <script src=../video-test.js></script> | 9 <script src=../video-test.js></script> |
10 <script> | 10 <script> |
11 | 11 |
12 numberOfTrackTests = 2; | 12 numberOfTrackTests = 2; |
13 | 13 |
14 function trackLoaded() | 14 function trackLoaded() |
15 { | 15 { |
16 numberOfTracksLoaded++; | 16 numberOfTracksLoaded++; |
17 if (numberOfTracksLoaded == numberOfTrackTests) { | 17 if (numberOfTracksLoaded == numberOfTrackTests) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 </script> | 67 </script> |
68 </head> | 68 </head> |
69 <body onload="enableAllTextTracks()"> | 69 <body onload="enableAllTextTracks()"> |
70 <p>Tests that cues are not affected by multiple newlines \n, \r, and \r\n an
d that cue not properly separated are treated as one big cue.</p> | 70 <p>Tests that cues are not affected by multiple newlines \n, \r, and \r\n an
d that cue not properly separated are treated as one big cue.</p> |
71 <video> | 71 <video> |
72 <track src="captions-webvtt/tc011-cues.vtt" onload="trackLoaded()"> | 72 <track src="captions-webvtt/tc011-cues.vtt" onload="trackLoaded()"> |
73 <track src="captions-webvtt/tc011-cues-no-separation.vtt" onload="tr
ackLoaded()"> | 73 <track src="captions-webvtt/tc011-cues-no-separation.vtt" onload="tr
ackLoaded()"> |
74 </video> | 74 </video> |
75 </body> | 75 </body> |
76 </html> | 76 </html> |
OLD | NEW |