Skip to content

Instantly share code, notes, and snippets.

View rehandalal's full-sized avatar

RD rehandalal

View GitHub Profile
@rehandalal
rehandalal / README.md
Created March 21, 2019 17:35
Testing Normandy against stage
  • Go to about:config and change the value of app.normandy.api_url to https://stage.normandy.nonprod.cloudops.mozgcp.net/api/v1.
  • Open the browser console.
  • Run the following in the browser console:
    const { RecipeRunner } = ChromeUtils.import("resource://normandy/lib/RecipeRunner.jsm");
    RecipeRunner.run();
  • Check about:studies to make sure you see the intended changes to the study list.
  • Verify any other side effects of recipes.
  • Restore the default value of app.normandy.api_url in about:config.
@rehandalal
rehandalal / keybase.md
Created February 13, 2019 07:02
keybase.md

Keybase proof

I hereby claim:

  • I am rehandalal on github.
  • I am rehandalal (https://keybase.io/rehandalal) on keybase.
  • I have a public key whose fingerprint is 1039 915D E6A1 A833 C6FF F03A 410D 198E EF33 9E0B

To claim this, I am signing this object:

@rehandalal
rehandalal / steps.md
Last active September 25, 2019 17:44
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