dom/media/tests/crashtests/802982.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:6ce5851f7a71
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.mozGetUserMedia({}, function(){}, function(){});
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>

mercurial