blob: b8d14b963ac6e0b368c68801672a0660f9bf8860 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src=../media-file.js></script>
<script src=../video-test.js></script>
<script>
function trackLoaded()
{
findMediaElement();
testExpected("video.textTracks[0].cues.length", "0");
endTest();
}
setCaptionDisplayMode('Automatic');
</script>
</head>
<body>
<p>Tests that empty cues are discarded.</p>
<video>
<track src="captions-webvtt/tc027-empty-cue.vtt" onload="trackLoaded()" default>
</video>
</body>
</html>