Open Bug 377339 Opened 17 years ago Updated 2 years ago

When files are saved in a loop, the download manager opens once for each file.

Categories

(Toolkit :: Downloads API, defect)

defect

Tracking

()

People

(Reporter: florian, Unassigned)

References

Details

Attachments

(1 file)

In the media tab of Page Info when we save more than one image at a time, if the save function is called in a loop, the download manager window opens for each file, and all the window but the last are broken.

When calling the save function using setTimeout there's no problem.
sample code to reproduce?  I don't see how this would cause a problem.
(In reply to comment #1)
> sample code to reproduce?

Try removing the setTimeout hack in the function saveMedia of pageInfo.js
I can still reproduce.

Steps to reproduce:
1. Apply the attached diff, build, launch Minefield
2. Load a page with more than one image
3. Open Page Info, in the Media tab, select more than one image and save them.
Product: Firefox → Toolkit

Mass-removing myself from cc; search for 12b9dfe4-ece3-40dc-8d23-60e179f64ac1 or any reasonable part thereof, to mass-delete these notifications (and sorry!)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: