[Mac] some track language tags are not recognized
[WebKit-https.git] / LayoutTests / media / track / track-webvtt-tc027-empty-cue.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
6         <script src=../media-file.js></script>
7         <script src=../video-test.js></script>
8         <script>
9             
10             function trackLoaded()
11             {
12                 findMediaElement();
13                 testExpected("video.textTracks[0].cues.length", "0");
14
15                 endTest();
16             }
17
18             setCaptionDisplayMode('Automatic');
19         </script>
20     </head>
21     <body>
22         <p>Tests that empty cues are discarded.</p>
23         <video> 
24             <track src="captions-webvtt/tc027-empty-cue.vtt" onload="trackLoaded()" default>
25         </video>
26     </body>
27 </html>