Closed
Bug 368759
Opened 18 years ago
Closed 15 years ago
window.close cancels file download
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: ahrens, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061208 Firefox/2.0.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061208 Firefox/2.0.0.1
consider a form with input type=button onClick=doSubmit(this.form)
and doSubmit does
myform.submit();
setTimeout('window.close()', 5000);
The resulting request has some download mime type like application/octet-stream
A "save file" dialog will open.
If the user does nothing for 5 seconds, the request window will close and the "save file" dialog will stay open but no file will be downloaded if the user chooses a place to store this file after the request window has closed.
This did work on Firefox 1.5 (latest):
the request window stays open until the file is saved on disk.
Reproducible: Always
Steps to Reproduce:
construct a form with javascript submit like described above and wait until the window closes.
Actual Results:
File can't be saved after request window is closed.
Expected Results:
File can be saved (window close is delayed until file is saved) (like Firefox 1.5 did it)
Reporter | ||
Comment 1•18 years ago
|
||
In 2004 there was a similar bug: 262446
Reporter | ||
Updated•18 years ago
|
Version: unspecified → 2.0 Branch
Comment 2•15 years ago
|
||
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Comment 3•15 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Came across situation described with bug 262446. This issue was reported on Windows environment.
It seems that download gives problem when parent window is closed. After reading this comment tested issue on FF 3.6.3. But it does not work when run on Windows XP.
You need to log in
before you can comment on or make changes to this bug.
Description
•