Bug 924259 - Fix error message when httpd.js is already running (r=Waldo)
authorBill McCloskey <wmccloskey@mozilla.com>
Thu, 10 Oct 2013 10:52:12 -0700
changeset 150387 bcadc378309d8001b3fd96e963602492abc5a82b
parent 150386 f31625242374b5976aaf14d232af1cf6d0a47e3b
child 150388 ceda6a213fc5b6fe546c3287d0023629b5c4d0c1
push id2991
push userkwierso@gmail.com
push dateFri, 11 Oct 2013 02:10:33 +0000
treeherderfx-team@98b44fcfebb2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs924259
milestone27.0a1
Bug 924259 - Fix error message when httpd.js is already running (r=Waldo)
netwerk/test/httpserver/httpd.js
--- a/netwerk/test/httpserver/httpd.js
+++ b/netwerk/test/httpserver/httpd.js
@@ -577,17 +577,17 @@ nsHttpServer.prototype =
             " pending connections");
       socket.asyncListen(this);
       this._port = socket.port;
       this._identity._initialize(socket.port, host, true);
       this._socket = socket;
     }
     catch (e)
     {
-      dumpn("!!! could not start server on port " + port + ": " + e);
+      dump("\n!!! could not start server on port " + port + ": " + e + "\n\n");
       throw Cr.NS_ERROR_NOT_AVAILABLE;
     }
   },
 
   //
   // see nsIHttpServer.stop
   //
   stop: function(callback)