Closed Bug 288075 Opened 20 years ago Closed 20 years ago

-browser and -chrome are identical options

Categories

(Core Graveyard :: Cmd-line Features, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Unassigned)

Details

Attachments

(1 file)

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.
Hrm, -browser wasn't supposed to open a chrome window, it was supposed to open a browser window. That sounds like a bug.
Attached patch First draftSplinter Review
This patch doesn't change the behaviour of a bare -chrome parameter.
Attachment #178916 - Flags: review?(benjamin)
Attachment #178916 - Flags: review?(benjamin) → review+
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 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+
Fix checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
(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 :-[
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: