Closed Bug 571349 Opened 15 years ago Closed 15 years ago

[mozmill] testDownloadManagerClosed.js doesn't correctly cleanup downloaded files

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

Details

(Whiteboard: [mozmill-test-failure][mozmill-doc-needed])

Attachments

(1 file)

Looks like that the file we download during the PB mode is active doesn't get cleaned-up correctly, because we simply look into the database to collect those files to download. But during pb mode we have a temporary table. I will have to fix that.
Files which lingering around in my download folder are: etd_lesson2.pdf rar_expander_v084 bzip2-1.0.5.tar.gz So those are all files we download. Even the file when we are normally in Private Browsing mode! Ehsan, we really have to delete those temporarily files which have been downloaded in PB mode once we leave it, so I wonder why that doesn't happen in our test.
If you can set the browser.download.dir preference to some temporary directory that would probably be sufficient (not sure if this is easy/possible at this point)
We should simply allow the user to pass in a custom list of downloads. That way we can also make sure that the file downloaded in Private Browsing mode gets deleted.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Attachment #450894 - Flags: review?(anthony.s.hughes)
Severity: normal → major
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure][mozmill-doc-needed]
(In reply to comment #2) > If you can set the browser.download.dir preference to some temporary directory > that would probably be sufficient (not sure if this is easy/possible at this > point) Kinda hard to get the temporary folder from within Javascript. Now that we correctly delete our downloaded files, it should be ok. If you still think we should use a temporary folder please create a new bug.
Attachment #450894 - Flags: review?(anthony.s.hughes) → review+
Mass move of Mozmill Test related project bugs to newly created components. You can filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Component: Private Browsing → Mozmill Tests
Product: Firefox → Mozilla QA
QA Contact: private.browsing → mozmill-tests
Version: Trunk → unspecified
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: