dom/media/tests/crashtests/802982.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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">
    11   function finish() {
    12     document.documentElement.removeAttribute("class");
    13   }
    15   function boom()
    16   {
    17     for (var j = 0; j < 100; ++j) {
    18       navigator.mozGetUserMedia({}, function(){}, function(){});
    19     }
    20     finish(); // we're not waiting for success/error callbacks here
    21   }
    23   </script>
    24 </head>
    26 <body onload="setTimeout(boom, 100)">
    27 </html>

mercurial