summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/933156.html
blob: b89445a43dc38451e9adadec10bda1a9e1843a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html class="reftest-wait">
<script>
function boom()
{
  var ac = new window.AudioContext();

  var panner = ac.createPanner();
  panner.setPosition(8, 0.7643051305237005, 0.10292575673733972);

  var oscillator = ac.createOscillator();
  oscillator.connect(panner);
  oscillator.start(0);

  setTimeout(function() {
    panner.panningModel = 'equalpower';
    oscillator.stop(0);
    document.documentElement.removeAttribute("class");
  }, 0.5);
}
boom();
</script>
</html>