2013-02-17 22:54:05 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="reftest-wait">
|
2012-12-03 12:56:54 +04:00
|
|
|
<!--
|
|
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=802982
|
|
|
|
-->
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Excessive getUserMedia calls</title>
|
|
|
|
<script type="application/javascript">
|
|
|
|
|
2013-02-17 22:54:05 +04:00
|
|
|
function finish() {
|
|
|
|
document.documentElement.removeAttribute("class");
|
|
|
|
}
|
|
|
|
|
2012-12-03 12:56:54 +04:00
|
|
|
function boom()
|
|
|
|
{
|
|
|
|
for (var j = 0; j < 100; ++j) {
|
2013-07-12 18:37:23 +04:00
|
|
|
navigator.mozGetUserMedia({}, function(){}, function(){});
|
2012-12-03 12:56:54 +04:00
|
|
|
}
|
2013-02-17 22:54:05 +04:00
|
|
|
finish(); // we're not waiting for success/error callbacks here
|
2012-12-03 12:56:54 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
|
2013-02-17 22:54:05 +04:00
|
|
|
<body onload="setTimeout(boom, 100)">
|
2012-12-03 12:56:54 +04:00
|
|
|
</html>
|