summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/907986-3.html
blob: 75b756c36347db4920c711e063091e044e10e277 (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");
};
// linearly dependent
context.listener.setOrientation(0, 0, -6.311749985202524e+307, 0, 0, 6.311749985202524e+307);
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>