tor-browser

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

timings-60.test (605B)


      1 timings, 60
      2 <link rel="help" href="https://w3c.github.io/webvtt/#collect-a-webvtt-timestamp">
      3 
      4 assert_equals(cues.length, 2);
      5 
      6 assert_equals(cues[0].text, 'text1');
      7 assert_equals(cues[0].startTime, 0);
      8 assert_equals(cues[0].endTime, 216001);
      9 
     10 assert_equals(cues[1].text, 'text2');
     11 assert_equals(cues[1].startTime, 216000);
     12 assert_equals(cues[1].endTime, 216001);
     13 
     14 ===
     15 WEBVTT
     16 
     17 00:00:60.000 --> 00:00:01.000
     18 invalid
     19 
     20 00:60:00.000 --> 00:00:01.000
     21 invalid
     22 
     23 00:00:00.000 --> 00:00:60.000
     24 invalid
     25 
     26 00:00:00.000 --> 00:60:00.000
     27 invalid
     28 
     29 00:00:00.000 --> 60:00:01.000
     30 text1
     31 
     32 60:00:00.000 --> 60:00:01.000
     33 text2