summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webvtt/parsing/file-parsing/support/header-tab.test
blob: 91892d614ab646db4b1a6968b80d1d9dabb73b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
header, tab
<link rel="help" href="https://w3c.github.io/webvtt/#collect-a-webvtt-block">

assert_equals(cues.length, 1);

assert_equals(cues[0].text, 'text');
assert_equals(cues[0].startTime, 0);
assert_equals(cues[0].endTime, 1);

===
WEBVTT
\t
00:00:00.000 --> 00:00:01.000
text