Closed
Bug 451536
Opened 17 years ago
Closed 16 years ago
JSSh port cannot be changed
Categories
(Core Graveyard :: Cmd-line Features, defect)
Core Graveyard
Cmd-line Features
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: ondrej, Assigned: ondrej)
Details
Attachments
(1 file, 1 obsolete file)
1.51 KB,
patch
|
ondrej
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
Build Identifier: tip
There is no way how to change the JSSh port from command line. JSSh starts only on port 9997.
A possibility to specify a port number, e.g. with a new -jssh-port <port> option, would help to start JSSh on a different port (if not available) or to start more firefox instances.
Reproducible: Always
Steps to Reproduce:
1. firefox -jssh
Actual Results:
JSSh started on port 9997.
Expected Results:
i) with the port number option (-jssh-port <port>)
firefox -jssh -jssh-port 9998
JSSh started on port 9998
ii) without the port number option. It starts on the default port 9997; so it is also backward compatible.
firefox -jssh
JSSh started on port 9997
Assignee | ||
Comment 1•17 years ago
|
||
path:
mozilla-central/extensions/jssh
(sorry, the patch does not contain the whole path; just one file - nsJSShStarter.js - was changed there)
Comment 2•17 years ago
|
||
Assignee: nobody → ondrej
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•17 years ago
|
Attachment #334862 -
Flags: review?(mano)
Updated•16 years ago
|
Attachment #334862 -
Flags: review?(mano) → review?(alex)
Updated•16 years ago
|
Attachment #334862 -
Flags: review?(alex) → review+
Comment 3•16 years ago
|
||
Comment on attachment 334862 [details] [diff] [review]
new -jssh-port <port> option
> helpInfo : " -jssh Start a JSSh server on port 9997.\n",
>+ helpInfo : " -jssh-port <port> Change the JSSh sever port.\n",
You can't have two members of the same name in one object. What you want is something like:
helpInfo : " -jssh Start a JSSh server on port 9997.\n" +
" -jssh-port <port> Change the JSSh server port.\n"
Also note that you misspelled "server".
With those two things fixed, r=me.
Assignee | ||
Comment 4•16 years ago
|
||
thank you alex.
i fixed the two problems (two members in one object and a typo).
Attachment #334862 -
Attachment is obsolete: true
Attachment #347104 -
Flags: review+
Updated•16 years ago
|
Keywords: checkin-needed
Comment 5•16 years ago
|
||
(In reply to comment #1)
> (sorry, the patch does not contain the whole path
(In reply to comment #2)
> See http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree
See
https://developer.mozilla.org/en/Mercurial_FAQ#How_can_I_diff_and_patch_files.3F
Version: unspecified → Trunk
Comment 6•16 years ago
|
||
Sorry about the delay.
http://hg.mozilla.org/mozilla-central/rev/3274ee5073d9
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
You need to log in
before you can comment on or make changes to this bug.
Description
•