QA/Telemetry/RemovingExperimentsJSON: Difference between revisions

From MozillaWiki
< QA‎ | Telemetry
Jump to navigation Jump to search
(Created page with "= Quick Summary = == Removing experiments.json == ''' Note:''' The profile directory on your computer might differ depending on your username/environment but should be very ...")
 
Line 3: Line 3:
== Removing experiments.json ==
== Removing experiments.json ==


''' Note:''' The profile directory on your computer might differ depending on your username/environment but should be very similar to the examples below:
''' Note:''' The profile directory on your computer might differ depending on your username/environment but should be very similar to the following examples:


* '''Windows:''' C:\Users\<current user>\AppData\Roaming\Mozilla\Firefox\Profiles\nae12udp.default
* '''Windows:''' C:\Users\<current user>\AppData\Roaming\Mozilla\Firefox\Profiles\nae12udp.default

Revision as of 18:05, 17 June 2014

Quick Summary

Removing experiments.json

Note: The profile directory on your computer might differ depending on your username/environment but should be very similar to the following examples:

  • Windows: C:\Users\<current user>\AppData\Roaming\Mozilla\Firefox\Profiles\nae12udp.default
  • OSX: /Users/<current user>/Library/Application Support/Firefox/Profiles/y35f3ueg.default
  • Ubuntu: /home/<current user>/.mozilla/firefox/ezbdnu88.default/

Once you've deleted the current experiments.json file, re-run the browser and disable/enable experiments.enable under about:config.

You could also use the following commands inside the Browser Console to force a refresh:

  • Import Experiments.jsm into the Browser Console:
    • Cu.import("resource:///modules/experiments/Experiments.jsm");
  • Force the refresh:
    • Experiments.instance().updateManifest();

You should see some logs being dumped into the browser console and experiments.activeExperiment should appear as true if the experiment was installed.