Closed Bug 326937 Opened 19 years ago Closed 19 years ago

Cancelling started download by closing browser leaks (and locks 0-byte file)

Categories

(Toolkit :: Downloads API, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: stevee, Unassigned)

Details

(Keywords: memory-leak)

1. New profile 2. Go to http://msdl.microsoft.com/download/symbols/debuggers/dbg_x86_6.6.03.5.exe 3. The download dialog appears, choose "Save to disk" and click OK 4. Note the download has started 5. Close the download manager window 6. Close the firefox window with File > Exit 7. You get a dialog saying "If you exit now, 1 download will be cancelled. Are you sure you want to exit?". Click "Cancel 1 Download" Leak-gauge.pl reports: Leaked 2 out of 15 DOM Windows Leaked 0 out of 44 documents Leaked 0 out of 6 docshells If you want to leak a docshell too, insert this step: 4.5 Click pause to pause the download (Also note that there is a 0-byte file in your save dir that now cannot be deleted because it is locked by another process, even tho firefox is no longer in the process list)
Comment 0 with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060212 Firefox/1.6a1
Summary: Cancelling started download by closing browser session leaks (and locks 0-byte file) → Cancelling started download by closing browser leaks (and locks 0-byte file)
Steve, if you install Leak Monitor does it dump out the JS objects when you shutdown?
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20061209 Minefield/3.0a1 ID:2006120913 [cairo] 2.0.0.1pre This now WFM (no leak reported)
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.