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 164198 bcadc378309d8001b3fd96e963602492abc5a82b
parent 164197 f31625242374b5976aaf14d232af1cf6d0a47e3b
child 164199 ceda6a213fc5b6fe546c3287d0023629b5c4d0c1
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs924259
milestone27.0a1
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
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)