summaryrefslogtreecommitdiffstats
path: root/dom/media/webaudio/test/test_pannerNode_equalPower.html
blob: 127a87b254ee45dcda397a1ad971f03301d96ecc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE HTML>
<html>
<head>
<title>Test PannerNode</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="webaudio.js"></script>
<script type="text/javascript" src="layouttest-glue.js"></script>
<script type="text/javascript" src="blink/audio-testing.js"></script>
<script type="text/javascript" src="blink/panner-model-testing.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<pre id="test">
<script class="testbody" type="text/javascript">
SimpleTest.waitForExplicitFinish();
addLoadEvent(function() {
  function checkFinished() {
    SimpleTest.finish();
  }
  var ctx = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
  createTestAndRun(ctx, nodesToCreate, 2, checkFinished);
});
</script>
</pre>
</body>
</html>