tor-browser

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

test_bug957847.html (740B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=957847
      5 -->
      6 <head>
      7  <meta charset='utf-8'>
      8  <title>Regression test for bug 957847 - Crash on TextTrack::AddCue </title>
      9  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     11 </head>
     12 <body>
     13 <p id="display"></p>
     14 <div id="content" style="display: none">
     15 </div>
     16 <pre id="test">
     17 <script class="testbody" type="text/javascript">
     18 SimpleTest.waitForExplicitFinish();
     19 
     20 var trackElement = document.createElement('track');
     21 trackElement.track.addCue(new VTTCue(0, 1, "A"));
     22 
     23 // We need to assert something for Mochitest to be happy.
     24 ok(true);
     25 SimpleTest.finish();
     26 </script>
     27 </pre>
     28 </body>
     29 </html>