Bug 1411322 - Add crashtest getting memory reports from MediaRecorder. r?SingingTree draft
authorAndreas Pehrson <pehrsons@mozilla.com>
Fri, 10 Nov 2017 12:06:04 +0100
changeset 696535 520881da90f5be962d91733b9263d79d02121e19
parent 692714 4ada8f0d5cc011af4bc0f4fadbb25ea3e1e62bfc
child 696536 683ed14128b9194c24cfd81c1785170e92fe9109
push id88745
push userbmo:apehrson@mozilla.com
push dateFri, 10 Nov 2017 20:53:59 +0000
reviewersSingingTree
bugs1411322
milestone58.0a1
Bug 1411322 - Add crashtest getting memory reports from MediaRecorder. r?SingingTree MozReview-Commit-ID: 8ptpSFj1SeW
dom/media/test/crashtests/1411322.html
dom/media/test/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/test/crashtests/1411322.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+  <title>Bug 1411322: Shutdown after getting memory reports from MediaRecorder</title>
+  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
+  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
+</head>
+<body>
+<audio id="audio"></audio>
+<pre id="test">
+<script class="testbody" type="text/javascript">
+let recorder = new MediaRecorder(audio.mozCaptureStream());
+recorder.start();
+SpecialPowers.getMemoryReports();
+</script>
+</pre>
+</body>
+</html>
--- a/dom/media/test/crashtests/crashtests.list
+++ b/dom/media/test/crashtests/crashtests.list
@@ -89,16 +89,17 @@ load 1257700.html
 load 1270303.html
 load 1304948.html
 load 1319486.html
 load 1368490.html
 load 1291702.html
 load 1378826.html
 load 1384248.html
 load 1393272.webm
+load 1411322.html
 load disconnect-wrong-destination.html
 load analyser-channels-1.html
 load audiocontext-double-suspend.html
 load buffer-source-duration-1.html
 load buffer-source-ended-1.html
 load buffer-source-resampling-start-1.html
 load buffer-source-slow-resampling-1.html
 load doppler-1.html