I have an addon, Redirector, which stores its data in a file in the profile folder. I’m currently rewriting it to use the new WebExtensions api, and want to migrate the contents of the file into chrome.storage. However, in my new version I can’t read the file to migrate it, since as far as I can tell there’s no filesystem access in a webextensions addon.
Is there any way for me to do this? Can I use anything from the addon sdk (e.g. io/file) in a webextensions addon? If not, then that seems pretty hard for authors that want to migrate their addons to the new api, if there’s no support for things like this to help us migrate our users to newer versions.