For exporting the database. It's much simpler to utilize the Downloads API to initiate the save request. It's possible to do without but the code is not quite as clean. Honestly there should be a 'save this file' API (that prompts the user) that doesn't require Downloads permissions, but unfortunately there isn't.
That.
In Firefox >= 60, downloads
could be put in optional_permissions
:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/optional_permissions
I want to do other Fx-60-minimum changes in the next release anyway, so that sounds great.
Oh, #2962
Most helpful comment
In Firefox >= 60,
downloads
could be put inoptional_permissions
:https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/optional_permissions