summaryrefslogtreecommitdiffstats
path: root/dom/media/webaudio/test/test_bug845960.html
blob: 4e37f91bf6a0028437cbf8f9facdf2c1cc8f3cfc (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 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">

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

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