зеркало из https://github.com/mozilla/gecko-dev.git
27 строки
869 B
HTML
27 строки
869 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Test PannerNode</title>
|
|
<script type="text/javascript" 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>
|