summaryrefslogtreecommitdiffstats
path: root/dom/media/webaudio/test/test_bug845960.html
blob: 17bf9a570036dbe6f5220850032ac40ebcbe8eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE HTML>
<html>
<head>
  <title>Crashtest for bug 845960</title>
  <script 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">

(new AudioContext()).decodeAudioData(new ArrayBuffer(0), function() {});
ok(true, "Should not crash when the optional failure callback is not specified");

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