tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

arrows.test (641B)


      1 arrows
      2 <link rel="help" href="https://w3c.github.io/webvtt/#cue-timings-and-settings-parsing">
      3 
      4 assert_equals(cues.length, 6);
      5 
      6 for (var i = 0; i < cues.length; i++) {
      7     assert_equals(cues[i].id, '', 'Failed with cue ' + i);
      8     assert_equals(cues[i].text, 'text' + i, 'Failed with cue ' + i);
      9 }
     10 
     11 ===
     12 WEBVTT
     13 
     14 -->
     15 00:00:00.000 --> 00:00:01.000
     16 text0
     17 foo-->
     18 00:00:00.000 --> 00:00:01.000
     19 text1
     20 -->foo
     21 00:00:00.000 --> 00:00:01.000
     22 text2
     23 --->
     24 00:00:00.000 --> 00:00:01.000
     25 text3
     26 -->-->
     27 00:00:00.000 --> 00:00:01.000
     28 text4
     29 00:00:00.000 --> 00:00:01.000
     30 text5
     31 
     32 00:00:00.000 -a -->
     33 
     34 00:00:00.000 --a -->
     35 
     36 00:00:00.000 - -->
     37 
     38 00:00:00.000 -- -->