Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/embedded-content/media-elements/track/track-element/track-webvtt-empty-cue.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Empty cues should not be discarded</title>
<script src="track-helpers.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
check_cues_from_track("resources/empty-cue.vtt", function(track) {
assert_equals(track.cues.length, 3);
});
</script>