Commit backout.
authorRobert Sayre <sayrer@gmail.com>
Wed, 05 Aug 2009 18:42:41 -0700
changeset 31464 efcaed876991c7eb4a8eba05b27737ef7f964faf
parent 31462 70b3b23c948a43033e94c3407c32a28351628423 (current diff)
parent 31463 b0a52a7738284f681305ae0089a5d0a64eb3ea9e (diff)
child 31466 350fc1cc62407ecb604dd27d13dfe85de80ada33
push id8556
push userrsayre@mozilla.com
push dateThu, 13 Aug 2009 21:38:45 +0000
treeherdermozilla-central@9734564871cb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.2a1pre
Commit backout.
--- a/netwerk/test/httpserver/httpd.js
+++ b/netwerk/test/httpserver/httpd.js
@@ -724,21 +724,16 @@ nsHttpServer.prototype =
     NS_ASSERT(this._connections[connection.number] === connection,
               "connection number mismatch?  " +
               this._connections[connection.number]);
     delete this._connections[connection.number];
 
     // Fire a pending server-stopped notification if it's our responsibility.
     if (!this._hasOpenConnections() && this._socketClosed)
       this._notifyStopped();
-    // Bug 508125: Add a GC here else we'll use gigabytes of memory running
-    // mochitests. We can't rely on xpcshell doing an automated GC, as that
-    // would interfere with testing GC stuff...
-    if (typeof gc === "function")
-      gc();
   },
 
   /**
    * Requests that the server be shut down when possible.
    */
   _requestQuit: function()
   {
     dumpn(">>> requesting a quit");