summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1157994.html
blob: 2e3001302ad924bbae1a7659496cc7de07bc77d0 (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()
{
    var ac = new AudioContext();
    // first "suspended" -> "running" transition
    ac.onstatechange = function() {
      ac.onstatechange = null;
      ac.suspend();
      ac.close();
    }
}

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