summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/907986-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/test/crashtests/907986-2.html')
-rw-r--r--dom/media/test/crashtests/907986-2.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/media/test/crashtests/907986-2.html b/dom/media/test/crashtests/907986-2.html
new file mode 100644
index 000000000..e0626ba2c
--- /dev/null
+++ b/dom/media/test/crashtests/907986-2.html
@@ -0,0 +1,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>