summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1158427.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/test/crashtests/1158427.html')
-rw-r--r--dom/media/test/crashtests/1158427.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/media/test/crashtests/1158427.html b/dom/media/test/crashtests/1158427.html
new file mode 100644
index 000000000..b544a942a
--- /dev/null
+++ b/dom/media/test/crashtests/1158427.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function boom()
+{
+ dump("before capture\n");
+ document.createElement("audio").mozCaptureStreamUntilEnded();
+ dump("before context\n");
+ new window.AudioContext();
+ dump("before gc\n");
+ SpecialPowers.forceCC();
+ dump("after gc\n");
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>
+