Skip to content

Instantly share code, notes, and snippets.

@rehandalal
Last active September 25, 2019 17:44
Show Gist options
  • Select an option

  • Save rehandalal/91ccb626dbbe8b58f5e4975567f5eca2 to your computer and use it in GitHub Desktop.

Select an option

Save rehandalal/91ccb626dbbe8b58f5e4975567f5eca2 to your computer and use it in GitHub Desktop.
Verifying a system addon
  1. Download and install the targeted version of Firefox
  2. With Firefox closed modify defaults/pref/channel-prefs.js in the application directory to point to the channel release-sysaddon instead of release
  3. Start (or restart) Firefox.
  4. In about:config, flip the extensions.logging.enabled and devtools.chrome.enabled prefs to true
  5. Open the Browser Console (Tools->Web Developer->Browser Console)
  6. 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()
  7. Open about:support and verify that system add-on appears and information is correct
  8. Verify that the system addon is behaving as expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment