summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/933151.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/media/test/crashtests/933151.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/dom/media/test/crashtests/933151.html b/dom/media/test/crashtests/933151.html
new file mode 100644
index 0000000000..3d45f7af38
--- /dev/null
+++ b/dom/media/test/crashtests/933151.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function boom()
+{
+ var ac = new window.AudioContext();
+ var buffer = ac.createBuffer(1, 24313, 47250);
+ buffer.copyFromChannel(buffer.getChannelData(0), '');
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>