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