content/media/webaudio/test/test_bug856771.html

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:7cd3e4d7edd4
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>Test for bug 856771</title>
5 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
6 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
7 </head>
8 <body>
9 <pre id="test">
10 <script class="testbody" type="text/javascript">
11
12 SimpleTest.waitForExplicitFinish();
13 addLoadEvent(function() {
14 var context = new AudioContext();
15
16 var source = context.createBufferSource();
17 source.connect(context.destination);
18 ok(true, "Nothing should leak");
19
20 SimpleTest.finish();
21 });
22
23 </script>
24 </pre>
25 </body>
26 </html>

mercurial