tor-browser

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

802982.html (568B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=802982
      5 -->
      6 <head>
      7  <meta charset="utf-8">
      8  <title>Excessive getUserMedia calls</title>
      9  <script type="application/javascript">
     10 
     11  function finish() {
     12    document.documentElement.removeAttribute("class");
     13  }
     14 
     15  function boom()
     16  {
     17    for (var j = 0; j < 100; ++j) {
     18      navigator.mediaDevices.getUserMedia({video:true});
     19    }
     20    finish(); // we're not waiting for success/error callbacks here
     21  }
     22 
     23  </script>
     24 </head>
     25 
     26 <body onload="setTimeout(boom, 100)">
     27 </html>