summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1601385.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/media/test/crashtests/1601385.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/dom/media/test/crashtests/1601385.html b/dom/media/test/crashtests/1601385.html
new file mode 100644
index 0000000000..7192809076
--- /dev/null
+++ b/dom/media/test/crashtests/1601385.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<script>
+const video = document.createElement("video");
+video.srcObject = new MediaStream();
+video.mozCaptureStreamUntilEnded();
+video.src = "sound.ogg";
+video.srcObject = undefined;
+</script>
+</head>
+</html>
+