Bug 1453030 - Add crashtest; r=bwc
authorDan Minor <dminor@mozilla.com>
Tue, 10 Apr 2018 13:36:43 -0400
changeset 781003 0c41b40807b8da282561a29875a9db6380fc78f8
parent 781002 8b5119957214e377b83bc0d3de4fb8b2cd3b765f
child 781004 392129bbf027679ae7440574a74885955c91a1a9
push id106187
push userbmo:sledru@mozilla.com
push dateThu, 12 Apr 2018 11:43:14 +0000
reviewersbwc
bugs1453030
milestone61.0a1
Bug 1453030 - Add crashtest; r=bwc MozReview-Commit-ID: 2p3VwoOTICx
dom/media/tests/crashtests/1453030.html
dom/media/tests/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/tests/crashtests/1453030.html
@@ -0,0 +1,19 @@
+<html class="reftest-wait">
+  <head>
+    <script>
+      function getDTMF () {
+        try { o4 = o2.dtmf } catch(e) { }
+        try { o4.insertDTMF("1BC1D55", new Uint32Array([3538134876])[0], new Uint32Array([666182017])[0]) } catch (e) { }
+        document.documentElement.removeAttribute("class");
+      }
+
+      o1 = new RTCPeerConnection({ }, null)
+      window.navigator.mediaDevices.getUserMedia({video: true, fake: true}).then((stream) => {
+        o2 = o1.addTrack(stream.getVideoTracks()[0], stream)
+      }).catch((error) => {})
+      o3 = window.open("datr=0")
+      setTimeout(getDTMF, 400)
+      setTimeout(window.location.reload.bind(window.location), 500);
+    </script>
+  </head>
+</html>
--- a/dom/media/tests/crashtests/crashtests.list
+++ b/dom/media/tests/crashtests/crashtests.list
@@ -15,8 +15,9 @@ load 860143.html
 load 861958.html
 load 863929.html
 load 1185191.html
 load 1281695.html
 load 1306476.html
 load 1348381.html
 load 1367930_1.html
 load 1367930_2.html
+load 1453030.html