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)

enhancement

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:

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

Depends on: 1795710
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.

Attachment

General

Created:
Updated:
Size: