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)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
Details
(Whiteboard: [mozmill-test-failure][mozmill-doc-needed])
Attachments
(1 file)
|
4.50 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•15 years ago
|
||
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.
Comment 2•15 years ago
|
||
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)
| Assignee | ||
Comment 3•15 years ago
|
||
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)
| Assignee | ||
Updated•15 years ago
|
Severity: normal → major
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure][mozmill-doc-needed]
| Assignee | ||
Comment 4•15 years ago
|
||
(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+
| Assignee | ||
Comment 5•15 years ago
|
||
Landed on all branches:
http://hg.mozilla.org/qa/mozmill-tests/rev/c1821e538c5d
http://hg.mozilla.org/qa/mozmill-tests/rev/2633e5912e4a
http://hg.mozilla.org/qa/mozmill-tests/rev/9fdc5f2074df
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•15 years ago
|
||
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
Updated•6 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•