Open Bug 277230 Opened 20 years ago Updated 2 years ago

does not kill firefox process (when running from command prompt) after trying to load a incorrect (path) xul file

Categories

(Toolkit :: Startup and Profile System, defect, P4)

x86
Windows XP
defect

Tracking

()

UNCONFIRMED
Future

People

(Reporter: julvar, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 (ax)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 (ax)

the firefox process does not close on its own when its done trying to load a
wrong xul file. see steps to reproduce for details.

Reproducible: Always

Steps to Reproduce:
for packages that are not properly installed (or non existant packages):
A. there there are no firefox processes running already
when i try to run the following in the command prompt:
firefox -chrome chrome://<package_not_installed>/content/filename.xul
1. no error message shows up
2. a firefox process starts up (but no browser window) and the process does not
stop on its own.

B. if there is a firefox process (and browser window) running already
when i try to run the following in the command prompt:
firefox -chrome chrome://<package_not_installed>/content/filename.xul
1. no error message shows up
2. no extra firefox process shows up (atleast not one that stays on the
taskmanager|processes
3. but when i close the existing browser window, the firefox process does not close

For packages that are properly installed:
A. there there are no firefox processes running already
when i try to run the following in the command prompt:
firefox -chrome chrome://<installed_package>/<but_wrong_path_or
filename>content/filename.xul
1. an error message (saying the file cannot be found) window shows up.
2. a firefox process starts up (but no browser window) and the process does not
close when i click OK (on the error message).

B: if there is a firefox process (and browser window) running already
when i try to run the following in the command prompt:
firefox -chrome chrome://<installed_package>/<but_wrong_path_or
filename>content/filename.xul
1. an error message (saying the file cannot be found) window shows up.
2. an extra firefox process shows up in the taskmanager|processes window
3. when i click OK on the error message, the 2nd firefox closes.
4. but now when i close the first browser window, the firefox process does not
close.

Actual Results:  
see above


Expected Results:  
the firefox processes should have closed on its own.
also, it would be better if an error message was displayed.

another thing, if i enter "firefox -h" nothing happens. no browser. no error
message. looks like the program executed and exited.
but if i enter "firefox -junk" a browser pops up.
Priority: -- → P4
Target Milestone: --- → Future
Could you confirm whether this still exists for you, otherwise I shall mark it WORKSFORME?

Thanks
(In reply to comment #1)
> Could you confirm whether this still exists for you, otherwise I shall mark it
> WORKSFORME?
> 
> Thanks
> 

I have upgraded to " Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 " since I first reported this bug.

nevertheless for a package that is not installed, i still get the same response that i first reported. 

it seems like the procedure for installing a package has changed in Firefox 1.5, and i did not have to time to proceed further in finding out the details and therefore i do not know if the problem is reproducible in cases where the package is installed.

also, i still get this response:
if i enter "firefox -h" nothing happens. no browser. no error message. looks like the program executed and exited.
but if i enter "firefox -junk" a browser pops up.

thanks,
julian.
Assignee: benjamin → nobody
QA Contact: benjamin → startup
Product: Firefox → Toolkit
do you see this problem when using FF3?  Or better yet, current beta of 3.1?
 http://www.mozilla.com/en-US/firefox/all-beta.html
Whiteboard: closeme 2009-04-25
I found this bug a long time ago when I was playing around with XUL. I have since moved on to other things.. but I did a quick check on my current machine and it looks like the bug is still there.

I have FF 3.0.8 on windows XP. 
Referring to my original post:
I am able to reproduce the bug for packages that are not properly installed (or non-existent packages).
I did not try to reproduce the bug for packages that are properly installed (because I don't remember how to install packages and I don't have the time to learn it now)... but if I had to guess, I'd say the bug is still there.

also, I can reproduce the behavior related to "firefox -h" and "firefox -junk"
Whiteboard: closeme 2009-04-25
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.