Open
Bug 402977
Opened 17 years ago
Updated 2 years ago
code to close windows that launched downloads doesn't work if that window's opener closes itself
Categories
(Firefox :: File Handling, defect)
Firefox
File Handling
Tracking
()
NEW
People
(Reporter: Gavin, Unassigned)
Details
See discussion and testcase in bug 355222.
Quick summary: The IBM download site uses two windows to initiate a download. One to select the kind of file, which then launches a new window with the URL of the file that then closes itself. Previous to the patch for bug 355222 that would fail, so as a quick fix we disabled the code that would attempt to close the window used for download, so that we could use it as a context to pass to nsIHelperAppLauncherDialog::show.
Instead, we should probably try to do something better, like closing it and using it's parent as the context. We didn't take this solution in that bug because I am worried that we'll have no way to ensure that it's parent is actually related (from a user's perspective) to the window that actually triggered the download.
Updated•9 years ago
|
Product: Core → Firefox
Version: Trunk → unspecified
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•