QA/Telemetry/RemovingExperimentsJSON: Difference between revisions
(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 ...") |
|||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= Quick Summary = | = Quick Summary = | ||
The following document quickly illustrates how to remove the '''experiments.json''' file if there's issues installing the experiment. Regenerating a new '''experiments.json''' file should be the first troubleshooting step taken if there's any issues. Once Firefox is re-opened and reads the experiments manifest, a new '''experiments.json''' will be generated in the same location. | |||
''' Note:''' The profile directory on your computer might differ depending on your username/environment but should be very similar to the examples | = 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 | * '''Windows:''' C:\Users\<current user>\AppData\Roaming\Mozilla\Firefox\Profiles\nae12udp.default | ||
| Line 11: | Line 13: | ||
Once you've deleted the current '''experiments.json''' file, re-run the browser and disable/enable '''experiments.enable''' under '''about:config'''. | 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 | You could also use the following commands inside the browser console to force a refresh: | ||
* Import '''Experiments.jsm''' into the | * Import '''Experiments.jsm''' into the browser console: | ||
** '''Cu.import("resource:///modules/experiments/Experiments.jsm");''' | ** '''Cu.import("resource:///modules/experiments/Experiments.jsm");''' | ||
* Force the refresh: | * Force the refresh inside the browser console: | ||
** '''Experiments.instance().updateManifest();''' | ** '''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. | You should see some logs being dumped into the browser console and '''experiments.activeExperiment''' should appear as '''true''' if the experiment was installed. | ||
Latest revision as of 18:24, 17 June 2014
Quick Summary
The following document quickly illustrates how to remove the experiments.json file if there's issues installing the experiment. Regenerating a new experiments.json file should be the first troubleshooting step taken if there's any issues. Once Firefox is re-opened and reads the experiments manifest, a new experiments.json will be generated in the same location.
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 inside the browser console:
- 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.