- Download and install the targeted version of Firefox
- Create a .xpi file for your add-on (this is just a zip file with install.rdf and bootstrap.js at the root)
The filename must start with your add-on ID, for instance
my-fix@mozilla.org-v1.xpi
- Create an XML file as described in http://firefox-source-docs.mozilla.org/toolkit/mozapps/extensions/addon-manager/SystemAddons.html#update-request
- Open
about:config
and modify theextensions.systemAddon.update.url
pref to point to the above XML file - Also in
about:config
, flip theextensions.logging.enabled
anddevtools.chrome.enabled
prefs to true - Open the Browser Console (Tools->Web Developer->Browser Console)
- At the prompt at the bottom of the Browser Console, force an update check by running
Cu.import("resource://gre/modules/AddonManager.jsm"); AddonManagerPrivate.backgroundUpdateCheck()
- Open
about:support
and verify that system add-on appears and information is correct
Last active
November 6, 2017 19:14
-
-
Save rhelmer/b392e97d0b6ff81c06c205c760050c2b to your computer and use it in GitHub Desktop.
testing a signed system add-on update
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment