bug 799419 - crashtest for 2 peer connections create and close with fake video. r=jesup
authorJason Smith <jsmith@mozilla.com>
Tue, 04 Dec 2012 01:02:28 -0800
changeset 115978 2d2e54c90ae0902892c1b5f5c4868414471e94d3
parent 115977 d0dca968428b85bee110c86e2a2c980ad7fe19f9
child 115979 cc19d255d3510b2b759d5a92afeeb1451125249a
push id24034
push useremorley@mozilla.com
push dateFri, 14 Dec 2012 15:28:57 +0000
treeherderautoland@50d8f411d305 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs799419
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 799419 - crashtest for 2 peer connections create and close with fake video. r=jesup
dom/media/tests/crashtests/799419.html
dom/media/tests/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/tests/crashtests/799419.html
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<html>
+<!--
+https://bugzilla.mozilla.org/show_bug.cgi?id=799419
+-->
+<head>
+  <meta charset="utf-8">
+  <title>2 Peer Connections Create and Close + Fake Video</title>
+  <script type="application/javascript">
+    function boom() {
+      var v0 = mozRTCPeerConnection();
+      var v1 = mozRTCPeerConnection();
+      var v2 = document.getElementById("pc1video");
+      var v3 = document.getElementById("pc2video");
+      navigator.mozGetUserMedia({video:true, fake: true},
+        function(stream) {}, function() {});
+      v0.close();
+      v1.close();
+    }
+  </script>
+<body onload="boom()">
+<video id="pc1video" width="100" height="100" controls></video>
+<video id="pc2video" width="100" height="100" controls></video>
+</body>
+</html>
--- a/dom/media/tests/crashtests/crashtests.list
+++ b/dom/media/tests/crashtests/crashtests.list
@@ -1,9 +1,10 @@
 default-preferences pref(media.peerconnection.enabled,true)
 
 load 780790.html
 load 791270.html
 load 791278.html
 load 791330.html
+load 799419.html
 load 801227.html
 load 802982.html
 load 812785.html