summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/882956.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/test/crashtests/882956.html')
-rw-r--r--dom/media/test/crashtests/882956.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/dom/media/test/crashtests/882956.html b/dom/media/test/crashtests/882956.html
new file mode 100644
index 000000000..ae7b441f9
--- /dev/null
+++ b/dom/media/test/crashtests/882956.html
@@ -0,0 +1,15 @@
+<script>
+o1 = new window.AudioContext(1, 2048, 44100);
+o2 = o1.createBufferSource();
+o1.destination.channelCountMode = 'max';
+o2.connect(o1.destination);
+o2.buffer = function(){
+ var buffer = o1.createBuffer(30, 442, 94933);
+ for(var c=0; c<30; c++) {
+ for(var i=0; i<442; i++) {
+ buffer.getChannelData(c)[i] = 1;
+ }
+ }
+ return buffer;
+}();
+</script>