track-webvtt-interspersed-non-cue.html (496B)
1 <!DOCTYPE html> 2 <title>An empty line after an identifier line discards the current cue and restarts the cue loop</title> 3 <script src="track-helpers.js"></script> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script> 7 check_cues_from_track("resources/interspersed-non-cue.vtt", function(track) { 8 var expected = [ 9 { text: "First" }, 10 { text: "Second" } 11 ]; 12 13 assert_cues_match(track.cues, expected); 14 }); 15 </script>