Commit backout.
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");