tor-browser

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

timings-omitted-hours.test (502B)


      1 timings, omitted hours
      2 <link rel="help" href="https://w3c.github.io/webvtt/#collect-a-webvtt-timestamp">
      3 
      4 assert_equals(cues.length, 3);
      5 
      6 Array.from(cues).forEach(function(cue, index) {
      7     assert_equals(cue.text, 'text' + index, 'Failed with cue ' + index);
      8     assert_equals(cue.startTime, 0, 'Failed with cue ' + index);
      9     assert_equals(cue.endTime, 1, 'Failed with cue ' + index);
     10 });
     11 
     12 ===
     13 WEBVTT
     14 
     15 00:00.000 --> 00:00:01.000
     16 text0
     17 
     18 00:00:00.000 --> 00:01.000
     19 text1
     20 
     21 00:00.000 --> 00:01.000
     22 text2