I’m attempting to add basic support for Simple-Storage to a pre-existing addon that is currently available through AMO.
In order to test the Simple-Storage feature it’s necessary for the unreleased update to my AddOn to be tested with an existing version of Firefox in such a way that I can run the add-on, close Firefox, and run it again with the stored data persisting between uses. Because of the update to Firefox 41 that prevents running addons installed from outside of AMO I would like to do so without downloading an older version of Firefox to use as a testing ground (I’m on the beta channel) as that would simply be a stopgap.
Mozilla’s simple-storage documentation recommends doing this by using the “–profiledir option to jpm” and links to the jpm documentation. The jpm documentation doesn’t mention a --profiledir option but I assume they mean the –profile option of jpm run with a profile specified. When I do this however it simply opens a copy of Firefox 41 and… I get the same “[Addon Name] could not be verified for use with in Firefox and has been disabled” error that I would get if I were simply to attempt to install the unreleased update directly into my personal version of Firefox.
Have I followed the directions incorrectly? If not, how can I test my add-on?