Closed
Bug 1485113
Opened 6 years ago
Closed 6 years ago
Change DownloadHistory to keep a cache of download metadata throughout the session
Categories
(Toolkit :: Downloads API, enhancement, P1)
Toolkit
Downloads API
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Whiteboard: [fxsearch])
Attachments
(1 file)
In bug 1468972 we're moving page annotations to be asynchronous. This means that DownloadHistory needs to be updated to better handle the async nature.
To maintain performance of DOM updates, and to avoid potential race conditions, we need to have a cache of the relevant download metadata so that the database updates happen in the background, but we have sync access for updating the UI.
See also bug 1480049 for some discussion.
Assignee | ||
Comment 1•6 years ago
|
||
This avoids the need to do async lookups in the database when updating the UI.
MozReview-Commit-ID: BXe88ay0csO
Comment 2•6 years ago
|
||
Comment on attachment 9002882 [details]
Bug 1485113 - Change DownloadHistory to keep a cache of download metadata throughout the session.
:Paolo Amadini has approved the revision.
Attachment #9002882 -
Flags: review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/02647608ed58
Change DownloadHistory to keep a cache of download metadata throughout the session. r=paolo
Comment 4•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•