tor-browser

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

1319486.html (599B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title> Bug 1319486 : Crash if a texttrackcue added to different texttracks. </title>
      5 </head>
      6 <body>
      7 <video id=v1></video>
      8 <video id=v2></video>
      9 </body>
     10 <meta charset="utf-8">
     11 <script type="text/javascript">
     12 
     13 addEventListener('DOMContentLoaded', function(){
     14  let cue,tt1,tt2;
     15  v1.play();
     16  tt1 = v1.addTextTrack('metadata', "", "");
     17  v1.play();
     18  v1.currentTime = 8;
     19  cue = new VTTCue(0, 0.5, "");
     20  tt1.addCue(cue);
     21  tt2 = v2.addTextTrack('captions', "", "");
     22  tt2.addCue(cue);
     23  tt2.removeCue(cue);
     24  tt1.addCue(new VTTCue(0.7, 2, ""));
     25 });
     26 </script>
     27 </html>