Closed Bug 111491 Opened 24 years ago Closed 16 years ago

URL on cmd line ignored if -chrome option used

Categories

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

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mark.kobine, Unassigned)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) BuildID: Mozilla 0.9.5 Running Mozilla using the -chrome option to specify a different chrome and passing an URL on the command line does not work. The chrome is loaded but the URL is ignored. Reproducible: Always Steps to Reproduce: 1.type mozilla.exe -chrome chrome://navigator/content/navigator.xul file://localhost/test.html Actual Results: Mozilla starts up with the specified chrome but the given URL is not loaded. Expected Results: Expected Mozilla to start with the specified chrome and load the URL. The problem appears to centre around the -chrome option. Use of other options such as -height and -width do not cause the URL to be ignored. Using the -url option before the URL does not fix the problem. Reordering the options on the command line also does not help. Further investigation of the problem showed that the URL argument does not get into Startup() in navigator.js if the chrome option is used. The javascript believes that there is one argument (which is correct) but that argument's value is null. Avoiding use of -chrome cures the problem.
See also bug 109765 and bug 40481
Assignee: asa → law
Status: UNCONFIRMED → NEW
Component: Browser-General → XP Apps: Cmd-line Features
Ever confirmed: true
QA Contact: doronr → sairuh
Not high priority.
Target Milestone: --- → mozilla1.1
Not high priority? For those of us trying to use firefox as the browser in custom kiosks this is absolutely essential. I am a big proponent of firefox and want to see it succeed, and so wanted to make sure to use your browser in my app. Unfortunately I cannot now.
Assignee: law → nobody
QA Contact: bugzilla
Target Milestone: mozilla1.1alpha → ---
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.