summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/920987.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/test/crashtests/920987.html')
-rw-r--r--dom/media/test/crashtests/920987.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/media/test/crashtests/920987.html b/dom/media/test/crashtests/920987.html
new file mode 100644
index 0000000000..6e8b2992a6
--- /dev/null
+++ b/dom/media/test/crashtests/920987.html
@@ -0,0 +1,6 @@
+<script>
+var ctx = new AudioContext();
+var buffer = ctx.createBuffer(1, 1000, ctx.sampleRate);
+var array = new Float32Array(900);
+buffer.copyToChannel(array, 0, 0xfffffff8);
+</script>