Closed Bug 906314 Opened 12 years ago Closed 12 years ago

Allow using the JavaScript API instead of nsIDownloadManager when removing finished downloads

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla26

People

(Reporter: Paolo, Assigned: Paolo)

References

Details

Attachments

(1 file)

The JavaScript API for downloads should be used by the "Clear List" and "Clear Downloads" commands in the Downloads Panel and the Library window.
Attached patch The patchSplinter Review
Attachment #791674 - Flags: review?(enndeakin)
Attachment #791674 - Flags: review?(enndeakin) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Is there any way QA can verify that the JS API is used in the cases mentioned in bug description?
Flags: needinfo?(paolo.mozmail)
(In reply to Mihaela Velimiroviciu [QA] (:mihaelav) from comment #4) > Is there any way QA can verify that the JS API is used in the cases > mentioned in bug description? As long as the useJSTransfer preference is true and downloads are correctly cleared, this means that the operation is done by the JavaScript API.
Flags: needinfo?(paolo.mozmail)
I used the latest 26.0a1 builds across main platforms (Ubuntu 13.04, Win 7 and Mac 10.7.5) to verify that there is a "Clear List" option in the Downloads panel and "Clear Downloads" Library and these options remove all the finished&stopped downloads from the list. Marking the bug Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: