summaryrefslogtreecommitdiffstats
path: root/dom/media/webaudio/test/test_bug808374.html
blob: cc4e02f41860e11770f02d1587dc5dec81c17c10 (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>
<head>
  <title>Crashtest for bug 808374</title>
  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<pre id="test">
<script class="testbody" type="text/javascript">

try {
  var ctx = new AudioContext();
  ctx.createBuffer(0, 1, ctx.sampleRate);
} catch (e) {
  ok(true, "The test should not crash during CC");
}

</script>
</pre>
</body>
</html>