Bug 791278 - Crash test for WebRTC crash [@sipcc::PeerConnectionImpl::SetLocalDescription]. r=jesup
authorHenrik Skupin <hskupin@mozilla.com>
Wed, 17 Oct 2012 15:33:57 -0400
changeset 110713 5a94cbed4b7a1a733307c195083f6337272b0bb8
parent 110712 c01e44583414e9b98560d60391c2033eec714e1b
child 110714 af98d67916ada9ff478f4f321a2a8460d31f2d7e
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersjesup
bugs791278
milestone19.0a1
Bug 791278 - Crash test for WebRTC crash [@sipcc::PeerConnectionImpl::SetLocalDescription]. r=jesup
dom/media/tests/crashtests/791278.html
dom/media/tests/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/tests/crashtests/791278.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<html>
+<!--
+https://bugzilla.mozilla.org/show_bug.cgi?id=791278
+-->
+<head>
+  <meta charset="utf-8">
+  <title>Simple PeerConnection Video Test - Invalid callback</title>
+  <script type="application/javascript">
+    var pc1 = new mozPeerConnection();
+    pc1.setLocalDescription(function() {});
+
+    var pc2 = new mozPeerConnection();
+    pc2.setRemoteDescription(function() {});
+  </script>
+</head>
+
+<body>
+</body>
+</html>
--- a/dom/media/tests/crashtests/crashtests.list
+++ b/dom/media/tests/crashtests/crashtests.list
@@ -1,1 +1,2 @@
 pref(media.peerconnection.enabled,true) load 791270.html
+pref(media.peerconnection.enabled,true) load 791278.html