Closed Bug 1485322 Opened 2 years ago Closed 2 years ago

Add a test for initialising DownloadsHistory via adding a download

Categories

(Toolkit :: Downloads API, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

From the review comments of bug 1485113:

"""
It's probably also worth testing the DownloadCache.addDownload initialization path, just a similar test in a different file that adds a single download to history and then starts a new one from the same URL but with a different target, checking the metadata at the end.
"""
Comment on attachment 9003129 [details]
Bug 1485322 - Add a test for initialising DownloadsHistory via addDownloadToHistory.

:Paolo Amadini has approved the revision.
Attachment #9003129 - Flags: review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/21291aa6b4c8
Add a test for initialising DownloadsHistory via addDownloadToHistory. r=paolo
https://hg.mozilla.org/mozilla-central/rev/21291aa6b4c8
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.