Hello,
With FF 49 my extensions started to behave differently. I think the reasons is the Multiprocess behavior.
Here is some docs that I have read:
https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Multiprocess_Firefox_and_the_SDK
<< High-level APIs will just work in multiprocess Firefox. If they don’t, it’s an SDK bug.
Low-level APIs might not work. If you’re using low-level APIs, review your use of them, test, and potentially refactor. >>
https://developer.mozilla.org/en-US/Add-ons/Working_with_multiprocess_Firefox#Checking_whether_you’re_affected
The problem I encounter is that I don’t think there are any High Level API or WebExtension API equivalent of what my extension is currently doing.
The most critical part is:
My extension is dynamically creating a search engine, using the following XPCOM APIs
nsIDOMSerializer
nsIDOMParser
nsIFileOutputStream
nsILocalFile
Basically edit a XML local resource, and move it into the ProfD folder of Firefox.
Anyone has suggestions about how to handle those kind of use cases? High Levels APIs don’t allow to read a local file and edit it…
Thanks