Closed Bug 912876 Opened 11 years ago Closed 11 years ago

Remove the downloads file in common_test_Download.js for test_platform_integration()

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: raymondlee, Assigned: raymondlee)

Details

Attachments

(1 file, 1 obsolete file)

In the test_platform_integration(), it uses DownloadIntegration.getSystemDownloadsDirectory() to form the target file path, not the normal temporary directory.  

On Mac, I see the download files created in my /Users/{username}/Downloads/ by the test. it's best to remove those downloads when that test is complete.
Attached patch v1 (obsolete) — Splinter Review
Assignee: nobody → raymond
Status: NEW → ASSIGNED
Attachment #800022 - Flags: review?(paolo.mozmail)
Comment on attachment 800022 [details] [diff] [review]
v1

Thanks for fixing this!
Attachment #800022 - Flags: review?(paolo.mozmail) → review+
Attached patch Patch to checkinSplinter Review
Attachment #800022 - Attachment is obsolete: true
(In reply to Raymond Lee [:raymondlee] from comment #3)
> Created attachment 800180 [details] [diff] [review]
> Patch to checkin

Pushed to try and waiting for results.
(In reply to Raymond Lee [:raymondlee] from comment #5)
> https://tbpl.mozilla.org/?tree=Try&rev=5995601088cd

Passed try
Keywords: checkin-needed
https://hg.mozilla.org/integration/fx-team/rev/47293f729adc
Flags: in-testsuite-
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/47293f729adc
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: