Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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>