summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1604941.html
blob: 5a9265ea1bef48766ecf3b4d1ae151e5e6648260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>

async function boom()
{
  await SpecialPowers.pushPrefEnv({"set": [
    ["media.cubeb.force_null_context", true],
  ]});
  new Audio().mozCaptureStreamUntilEnded();
  var ac = new window.AudioContext();
  ac.resume();
  ac.close();
  document.documentElement.removeAttribute("class");
}

</script>
</head>
<body onload="boom();"></body>
</html>