Bug 804118 - Fix crashtests to use mozRTCPeerConnection insread of mozPeerConnection. r=jesup
authorHenrik Skupin <hskupin@mozilla.com>
Mon, 22 Oct 2012 22:22:27 -0400
changeset 111243 c6fe2305d29c60ad266614974f3448469f81fa99
parent 111242 ab22c6590cfdc2099d98f7355e5cc20d62b44d84
child 111244 2263f8c760ff526d355e7c43cad0f65c3e58ea86
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersjesup
bugs804118
milestone19.0a1
Bug 804118 - Fix crashtests to use mozRTCPeerConnection insread of mozPeerConnection. r=jesup
dom/media/tests/crashtests/791270.html
dom/media/tests/crashtests/791278.html
--- a/dom/media/tests/crashtests/791270.html
+++ b/dom/media/tests/crashtests/791270.html
@@ -2,16 +2,16 @@
 <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();
+    var pc = new mozRTCPeerConnection();
     pc.addStream(undefined);
   </script>
 </head>
 
 <body>
 </body>
 </html>
--- a/dom/media/tests/crashtests/791278.html
+++ b/dom/media/tests/crashtests/791278.html
@@ -2,19 +2,19 @@
 <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();
+    var pc1 = new mozRTCPeerConnection();
     pc1.setLocalDescription(function() {});
 
-    var pc2 = new mozPeerConnection();
+    var pc2 = new mozRTCPeerConnection();
     pc2.setRemoteDescription(function() {});
   </script>
 </head>
 
 <body>
 </body>
 </html>