Bug 715941 - Use port 6666 for httpd.js as 7777 can't start [r=vingtetun]
authorFabrice Desré <fabrice@mozilla.com>
Fri, 06 Jan 2012 10:11:56 -0800
changeset 83947 70d7b2d50873790ee308c20f032f7d74f8edf9b2
parent 83946 157fc21f09fc776e105450943c0aedb3c99e0eb2
child 83948 5a446202be5fa2633e4cc1c6113a6ebded512882
child 83950 fdc667b43e1112175b7a711b557497b64248b7ed
push id21812
push userbmo@edmorley.co.uk
push dateFri, 06 Jan 2012 22:28:53 +0000
treeherdermozilla-central@5a446202be5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvingtetun
bugs715941
milestone12.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 715941 - Use port 6666 for httpd.js as 7777 can't start [r=vingtetun]
b2g/chrome/content/shell.js
--- a/b2g/chrome/content/shell.js
+++ b/b2g/chrome/content/shell.js
@@ -139,17 +139,17 @@ var shell = {
       let fileScheme = 'file://';
       if (homeURL.substring(0, fileScheme.length) == fileScheme) {
         homeURL = homeURL.replace(fileScheme, '');
 
         let baseDir = homeURL.split('/');
         baseDir.pop();
         baseDir = baseDir.join('/');
 
-        const SERVER_PORT = 7777;
+        const SERVER_PORT = 6666;
         startupHttpd(baseDir, SERVER_PORT);
 
         let baseHost = 'http://localhost';
         homeURL = homeURL.replace(baseDir, baseHost + ':' + SERVER_PORT);
       }
       addPermissions([homeURL]);
     } catch (e) {
       let msg = 'Fatal error during startup: [' + e + '[' + homeURL + ']';