User:Kjozwiak/Telemetry Experiments QA: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 31: Line 31:


* In the Firefox URI field, type in '''about:config'''and click on '''I'll be careful, I promise!'''
* In the Firefox URI field, type in '''about:config'''and click on '''I'll be careful, I promise!'''
** Change: '''"browser.dom.window.dump.enabled"''' = true
** Change: '''"browser.dom.window.dump.enabled" = true'''
** Change: '''"javascript.options.showInConsole"''' = true
** Change: '''"javascript.options.showInConsole" = true'''
pref("javascript.options.strict", true);
pref("javascript.options.strict", true);
pref("nglayout.debug.disable_xul_cache", true);
pref("nglayout.debug.disable_xul_cache", true);
pref("nglayout.debug.disable_xul_fastload", true);
pref("nglayout.debug.disable_xul_fastload", true);

Revision as of 17:40, 27 March 2014

Local Staging Server Setup

The following steps will guide users to create a local staging server that we will than use to launch our experiments from.

Note: This guide was done using OSX 10.9.2, the process for Windows will be a little different

Once you have all of the above completed, the next step will be to edit the build.py file and change a few of the parameters.

  • Open build.py with your favorite text editor, vim was used in this guide (vim build.py)
  • Once you've made the appropriate changes, save the file and run the following command:
    • python build.py <your directory name> Example: python build.py exp1 (should create a directory named exp1)
  • Switch into the directory that we've just created, in this example we used exp1 and run the following command:

Changing browsers preferences

The next step will be to enable/change the correct preferences that we need for telemetry experiments to work correctly.

  • In the Firefox URI field, type in about:configand click on I'll be careful, I promise!
    • Change: "browser.dom.window.dump.enabled" = true
    • Change: "javascript.options.showInConsole" = true

pref("javascript.options.strict", true); pref("nglayout.debug.disable_xul_cache", true); pref("nglayout.debug.disable_xul_fastload", true);