summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/907986-2.html
blob: e0626ba2c26b10973e3144d2fd2b7ad6c0aef43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html class="reftest-wait">
<script>
var context = new window.OfflineAudioContext(1, 100, 48000);
context.oncomplete = function(e) {
    document.documentElement.removeAttribute("class");
};
// zero up vector
context.listener.setOrientation(0, 6.311749985202524e+307, 0, 0, 0, 0);
var panner = context.createPanner();
panner.setPosition(1, 2, 3);
panner.connect(context.destination);
var source = context.createOscillator();
source.connect(panner);
source.start(0);
context.startRendering();
</script>