tor-browser

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

whitespace-chars.test (624B)


      1 whitespace chars
      2 <link rel="help" href="https://w3c.github.io/webvtt/#collect-a-webvtt-block">
      3 
      4 assert_equals(cues.length, 3);
      5 
      6 assert_equals(cues[0].id, 'spaces');
      7 assert_equals(cues[0].text, '   text0');
      8 
      9 assert_equals(cues[1].id, 'tabs');
     10 assert_equals(cues[1].text, 'text1');
     11 
     12 assert_equals(cues[2].id, 'form feed');
     13 assert_equals(cues[2].text, 'text2');
     14 
     15 ===
     16 WEBVTT
     17 
     18 spaces
     19    00:00:00.000    -->  00:00:01.000\x20
     20    text0
     21 
     22 tabs
     23 \t\t\t00:00:00.000\t\t\t\t-->\t\t00:00:01.000\t
     24 text1
     25 
     26 form feed
     27 \f\f\f00:00:00.000\f\f\f\f-->\f\f00:00:01.000\f
     28 text2
     29 
     30 vertical tab
     31 \v\v\v00:00:00.000\v\v\v\v-->\v\v00:00:01.000\v
     32 invalid