QA/Telemetry/RemovingExperimentsJSON: Difference between revisions
Jump to navigation
Jump to search
| Line 11: | Line 11: | ||
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 inside the | * 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. | ||
Revision as of 18:08, 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 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.