Closed Bug 1474637 Opened 7 years ago Closed 7 years ago

Make DownloadCore.jsm responsible for adding all downloads, rather than sharing with nsExternalHelperAppService

Categories

(Toolkit :: Downloads API, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

Currently DownloadCore.jsm adds downloads to the history, except when they are via nsExternalHelperAppService, in which case, the service does it. We should just consolidate this so that all download saving to history happens in DownloadCore.jsm. This also allows us to remove the only c++ consumer of nsIDownloadHistory::addDownload which will help with bug 1468980.
(FWIW, not asking review in bugzilla is easy for me to not ever see the review request.)
Comment on attachment 8991056 [details] Bug 1474637 - Make DownloadCore.jsm responsible for adding all downloads to history, rather than sharing with nsExternalHelperAppService. Olli Pettay [:smaug] has approved the revision. https://phabricator.services.mozilla.com/D2053
Attachment #8991056 - Flags: review+
Comment on attachment 8991056 [details] Bug 1474637 - Make DownloadCore.jsm responsible for adding all downloads to history, rather than sharing with nsExternalHelperAppService. Olli Pettay [:smaug] has been removed from the revision. https://phabricator.services.mozilla.com/D2053
Attachment #8991056 - Flags: review+
Comment on attachment 8991056 [details] Bug 1474637 - Make DownloadCore.jsm responsible for adding all downloads to history, rather than sharing with nsExternalHelperAppService. this had r+ from me, but phabricator decided to remove it :/
Attachment #8991056 - Flags: review+
Comment on attachment 8991056 [details] Bug 1474637 - Make DownloadCore.jsm responsible for adding all downloads to history, rather than sharing with nsExternalHelperAppService. Olli Pettay [:smaug] has been removed from the revision. https://phabricator.services.mozilla.com/D2053
Attachment #8991056 - Flags: review+
Comment on attachment 8991056 [details] Bug 1474637 - Make DownloadCore.jsm responsible for adding all downloads to history, rather than sharing with nsExternalHelperAppService. :Paolo Amadini has approved the revision. https://phabricator.services.mozilla.com/D2053
Attachment #8991056 - Flags: review+
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/73ddd57de2c0 Make DownloadCore.jsm responsible for adding all downloads to history, rather than sharing with nsExternalHelperAppService. r=paolo
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: