Backed out changeset fddde2d1e9b2 (bug 853858) for Windows leaks.
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 05 Apr 2013 09:03:22 -0400
changeset 127819 f7156b703f3d31fd87aec6225f6f32321c155953
parent 127818 6ecf4abf365967f528a02657ab62c8fa3cdbf13a
child 127820 0f2dc243e4c7fcd05686ea05fbeb2cffbd900dc8
push id24512
push userryanvm@gmail.com
push dateFri, 05 Apr 2013 20:13:49 +0000
treeherderautoland@139b6ba547fa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs853858
milestone23.0a1
backs outfddde2d1e9b2df375ec4263849c32f51f1575de3
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
Backed out changeset fddde2d1e9b2 (bug 853858) for Windows leaks.
dom/media/tests/mochitest/test_peerConnection_basicAudio.html
dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html
dom/media/tests/mochitest/test_peerConnection_basicAudioVideoCombined.html
dom/media/tests/mochitest/test_peerConnection_basicVideo.html
dom/media/tests/mochitest/test_peerConnection_bug827843.html
dom/media/tests/mochitest/test_peerConnection_bug840344.html
--- a/dom/media/tests/mochitest/test_peerConnection_basicAudio.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicAudio.html
@@ -10,18 +10,17 @@
 <body>
 <pre id="test">
 <script type="application/javascript">
   createHTML({
     bug: "796892",
     title: "Basic audio-only peer connection"
   });
 
-  var test;
   runTest(function () {
-    test = new PeerConnectionTest();
+    var test = new PeerConnectionTest();
     test.setMediaConstraints([{audio: true}], [{audio: true}]);
     test.run();
   }, true);
 </script>
 </pre>
 </body>
 </html>
--- a/dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html
@@ -11,19 +11,18 @@
 <pre id="test">
 <script type="application/javascript">
 
   createHTML({
     bug: "796890",
     title: "Basic audio/video (separate) peer connection"
   });
 
-  var test;
   runTest(function () {
-    test = new PeerConnectionTest();
+    var test = new PeerConnectionTest();
     test.setMediaConstraints([{audio: true}, {video: true}],
                              [{audio: true}, {video: true}]);
     test.run();
   }, true);
 </script>
 </pre>
 </body>
 </html>
--- a/dom/media/tests/mochitest/test_peerConnection_basicAudioVideoCombined.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicAudioVideoCombined.html
@@ -11,19 +11,18 @@
 <pre id="test">
 <script type="application/javascript">
 
   createHTML({
     bug: "796890",
     title: "Basic audio/video (combined) peer connection"
   });
 
-  var test;
   runTest(function () {
-    test = new PeerConnectionTest();
+    var test = new PeerConnectionTest();
     test.setMediaConstraints([{audio: true}, {video: true}],
                              [{audio: true}, {video: true}]);
     test.run();
   }, true);
 </script>
 </pre>
 </body>
 </html>
--- a/dom/media/tests/mochitest/test_peerConnection_basicVideo.html
+++ b/dom/media/tests/mochitest/test_peerConnection_basicVideo.html
@@ -10,18 +10,17 @@
 <body>
 <pre id="test">
 <script type="application/javascript">
   createHTML({
     bug: "796888",
     title: "Basic video-only peer connection"
   });
 
-  var test;
   runTest(function () {
-    test = new PeerConnectionTest();
+    var test = new PeerConnectionTest();
     test.setMediaConstraints([{video: true}], [{video: true}]);
     test.run();
   }, true);
 </script>
 </pre>
 </body>
 </html>
--- a/dom/media/tests/mochitest/test_peerConnection_bug827843.html
+++ b/dom/media/tests/mochitest/test_peerConnection_bug827843.html
@@ -74,19 +74,18 @@
         try  { description = test.pcRemote.remoteDescription; } catch (e) { exception = e; }
         ok(exception, "Attempt to access remoteDescription of pcRemote after close throws exception");
 
         test.next();
       }
     ]
   ];
 
-  var test;
   runTest(function () {
-    test = new PeerConnectionTest();
+    var test = new PeerConnectionTest();
     test.setMediaConstraints([{audio: true}], [{audio: true}]);
     test.chain.append(steps);
     test.run();
   }, true);
 </script>
 </pre>
 </body>
 </html>
--- a/dom/media/tests/mochitest/test_peerConnection_bug840344.html
+++ b/dom/media/tests/mochitest/test_peerConnection_bug840344.html
@@ -101,19 +101,18 @@
             is (answerCount, 2, "Answer count is 2.")
             test.next();
           }
         }
       }
     ]
   ];
 
-  var test;
   runTest(function () {
-    test = new PeerConnectionTest();
+    var test = new PeerConnectionTest();
     test.setMediaConstraints([{audio: true, video: true}], [ ]);
     test.chain.replaceAfter("PC_LOCAL_GUM", steps);
     test.run();
   }, true);
 </script>
 </pre>
 </body>
 </html>