bug 837421 - Crashtest for WebRTC ConnectionDataConnection causes assertion failures if called a second time. r=jesup
authorJason Smith <jsmith@mozilla.com>
Tue, 05 Feb 2013 00:23:51 -0800
changeset 121023 de6ad98785e028354f25940141aff2dbbb68de01
parent 121022 487d16b800878a98605129a1b9483266b4ad66dd
child 121024 df4d7016b8416468254a30105da2d60db1c7ae3b
push id22532
push userhskupin@mozilla.com
push dateWed, 06 Feb 2013 15:35:27 +0000
treeherdermozilla-inbound@de6ad98785e0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs837421
milestone21.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 837421 - Crashtest for WebRTC ConnectionDataConnection causes assertion failures if called a second time. r=jesup
dom/media/tests/crashtests/837421.html
dom/media/tests/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/media/tests/crashtests/837421.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<!--
+https://bugzilla.mozilla.org/show_bug.cgi?id=837421
+-->
+<head>
+  <meta charset="utf-8">
+  <title>Bug 837421</title>
+  <script type="application/javascript">
+    function start() {
+        var o0 = mozRTCPeerConnection();
+        var o1 = new mozRTCIceCandidate({"candidate":"127 15 UDP 1 stun.sipgate.net 134117531 type 2001:db8:85a3:0:0:8a2e:370:3478 rport","sdpMid":"application 3566220586 RTP/AVP 5000","sdpMLineIndex":-32767});
+        o0.connectDataConnection(3478,-1);
+        o0.connectDataConnection(-1,3478,2);
+        var o2 = mozRTCPeerConnection();
+        o2.addIceCandidate(o1);
+        o2.connectDataConnection(-1,3478,0.5);
+        o2.connectDataConnection(3478,-1,0.5);
+        var o3 = new mozRTCIceCandidate({"candidate":"31 2097151 IP 33554431 ::ffff:192.0.2.128 3999799469 type numb.viagenie.ca host","sdpMid":"application 1261077875 RTP/AVP 5000","sdpMLineIndex":16777215});
+        o2.connectDataConnection(1,3478);
+        o2.connectDataConnection(3478,1);
+        try {o2.updateIce()} catch(e) {}
+        o2.addIceCandidate(o3);
+    }
+  </script>
+</head>
+
+<body onload="start();"></body>
+</html>
--- a/dom/media/tests/crashtests/crashtests.list
+++ b/dom/media/tests/crashtests/crashtests.list
@@ -3,10 +3,11 @@ default-preferences pref(media.peerconne
 load 780790.html
 load 791270.html
 load 791278.html
 load 791330.html
 load 799419.html
 load 801227.html
 load 802982.html
 load 812785.html
+load 822197.html
 load 834100.html
-load 822197.html
+load 837421.html