summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1185191.html
blob: 4ed5ba2ee2ce41fcb3fa09480ac72e22ca397c7c (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 class="reftest-wait">
<head>
<script>

function boom()
{
    var a = new AudioContext();
    var b = new BroadcastChannel("x");
    a.addEventListener("statechange", bye, false);
}

function bye()
{
    document.documentElement.removeAttribute("class");
}

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