Bug 791270 - Crashtest for WebRTC crash [@sipcc::PeerConnectionImpl::AddStream]. r=jesup
authorHenrik Skupin <hskupin@mozilla.com>
Tue, 16 Oct 2012 13:23:41 -0400
changeset 110551 0d27abf6448275d4ebada86d12934bffcc9013c9
parent 110550 741fb7f8e5cb52247b69fb17b7214ede8c83d8eb
child 110552 b05c80fb621f7a0831def11d06c413990336034a
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersjesup
bugs791270
milestone19.0a1
Bug 791270 - Crashtest for WebRTC crash [@sipcc::PeerConnectionImpl::AddStream]. r=jesup
dom/media/tests/crashtests/791270.html
dom/media/tests/crashtests/crashtests.list
testing/crashtest/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/tests/crashtests/791270.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<html>
+<!--
+https://bugzilla.mozilla.org/show_bug.cgi?id=791270
+-->
+<head>
+  <meta charset="utf-8">
+  <title>Simple PeerConnection Video Test</title>
+  <script type="application/javascript">
+    var pc = new mozPeerConnection();
+    pc.addStream(undefined);
+  </script>
+</head>
+
+<body>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/dom/media/tests/crashtests/crashtests.list
@@ -0,0 +1,1 @@
+pref(media.peerconnection.enabled,true) load 791270.html
--- a/testing/crashtest/crashtests.list
+++ b/testing/crashtest/crashtests.list
@@ -20,16 +20,20 @@ include ../../content/xul/templates/src/
 include ../../content/mathml/content/crashtests/crashtests.list
 include ../../content/media/test/crashtests/crashtests.list
 
 include ../../docshell/base/crashtests/crashtests.list
 
 include ../../dom/base/crashtests/crashtests.list
 include ../../dom/bindings/crashtests/crashtests.list
 include ../../dom/indexedDB/crashtests/crashtests.list
+
+# Bug 801682 - Because of leaks we can't enable media crashtests yet
+#include ../../dom/media/tests/crashtests/crashtests.list
+
 include ../../dom/src/offline/crashtests/crashtests.list
 include ../../dom/src/jsurl/crashtests/crashtests.list
 
 include ../../editor/crashtests.list
 
 include ../../intl/lwbrk/src/crashtests/crashtests.list
 include ../../intl/uconv/crashtests/crashtests.list