summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1158427.html
blob: b544a942a1796a08f875f6792f7700b616cadb09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
  dump("before capture\n");
  document.createElement("audio").mozCaptureStreamUntilEnded();
  dump("before context\n");
  new window.AudioContext();
  dump("before gc\n");
  SpecialPowers.forceCC();
  dump("after gc\n");
}

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