Open
Bug 1761473
Opened 3 years ago
Updated 1 month ago
Get rid of deprecated downloadToDisk() and `deleteFromDisk()` attachments methods
Categories
(Firefox :: Remote Settings Client, enhancement)
Firefox
Remote Settings Client
Tracking
()
ASSIGNED
People
(Reporter: leplatrem, Assigned: leplatrem)
References
Details
Attachments
(1 file)
In Bug 1634127 we made the indexeddb storage for attachments the default behaviour for the download()
method, and deprecated the file based one.
In this follow-up bug, we want to remove the downloadToDisk()
and deleteFromDisk()
methods.
They are currently used in:
- Public Suffix List: this code was disabled because of issues and was kind of abandoned (no current owner)
- CRLite filters, which reads buffers already
- ASMRouter: which downloads a FTL file in the profile for localization of user journey messages
- UrlQuickSuggest which downloads icons
The last two may require some advanced changes in their respective components. Alternatively, we could move/duplicate the writing of the file in the profile folder in those components and maintain the current behaviour.
We should also add migration code (e.g. to BrowserGlue's _migrateUI method) that will delete the obsolete files from the profile
Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Assignee: nobody → mathieu
Attachment #9459845 -
Attachment description: WIP: Bug 1761473 - Get rid of deprecated downloadToDisk() attachments method → Bug 1761473 - Get rid of deprecated downloadToDisk() attachments method r?acottner
Status: NEW → ASSIGNED
You need to log in
before you can comment on or make changes to this bug.
Description
•