Closed
Bug 288075
Opened 20 years ago
Closed 20 years ago
-browser and -chrome are identical options
Categories
(Core Graveyard :: Cmd-line Features, defect)
Core Graveyard
Cmd-line Features
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neil, Unassigned)
Details
Attachments
(1 file)
4.14 KB,
patch
|
benjamin
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
Although not clear from help the -browser and -chrome options function
identically in that they open the given parameter into a chrome window otherwise
opening a browser window. However people expect -browser <URL> to open the URL
into a browser window, although more accurately would be to a) open a browser
window and b) open a second browser window (or perhaps a new tab) for the URL.
Comment 1•20 years ago
|
||
Hrm, -browser wasn't supposed to open a chrome window, it was supposed to open a browser window.
That sounds like a bug.
Reporter | ||
Comment 2•20 years ago
|
||
This patch doesn't change the behaviour of a bare -chrome parameter.
Attachment #178916 -
Flags: review?(benjamin)
Updated•20 years ago
|
Attachment #178916 -
Flags: review?(benjamin) → review+
Reporter | ||
Comment 3•20 years ago
|
||
Comment on attachment 178916 [details] [diff] [review]
First draft
>-CMDLINEHANDLER_OTHERS_IMPL(nsBrowserContentHandler,"-chrome","general.startup.browser","Load the specified chrome.", PR_TRUE, PR_FALSE)
>+CMDLINEHANDLER_OTHERS_IMPL(nsBrowserContentHandler,"-chrome","general.startup.browser","Load the specified chrome.", PR_TRUE, PR_TRUE)
Please imagine I've renamed this one to "-browser", "Load the browser."
Attachment #178916 -
Flags: superreview?(darin)
Comment 4•20 years ago
|
||
Comment on attachment 178916 [details] [diff] [review]
First draft
ugh.. someone should break these long lines :(
sr=darin (bonus points for breaking long lines at 80 chars)
Attachment #178916 -
Flags: superreview?(darin) → superreview+
Reporter | ||
Comment 5•20 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
This caused bustage. I checked in this fix, hope it's the right fix:
http://tinderbox.mozilla.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/xpfe/components/build&command=DIFF_FRAMESET&file=nsModule.cpp&rev1=1.51&rev2=1.52&root=/cvsroot
Reporter | ||
Comment 7•20 years ago
|
||
(In reply to comment #6)
>This caused bustage. I checked in this fix, hope it's the right fix:
$ cvs up nsModule.cpp
RCS file: /cvsroot/mozilla/xpfe/components/build/nsModule.cpp,v
retrieving revision 1.51
retrieving revision 1.52
Merging differences between 1.51 and 1.52 into nsModule.cpp
nsModule.cpp already contains the differences between 1.51 and 1.52
$
Thanks roc :-[
You need to log in
before you can comment on or make changes to this bug.
Description
•