Auto-tools/Projects/CrossWeave/Test Format/Prefs: Difference between revisions
< Auto-tools | Projects | CrossWeave | Test Format
Jump to navigation
Jump to search
(Created page with 'A prefs asset list is an array of objects with name and value keys, representing browser preferences. For example: "prefs1": [ { "name": "browser.startup.homepage", "valu…') |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
A prefs asset list is an array of objects with name and value keys, representing browser preferences. For example: | A prefs asset list is an array of objects with name and value keys, representing browser preferences. For example: | ||
prefs1: | |||
* name: browser.startup.homepage | |||
value: http://www.getfirefox.com | |||
* name: browser.urlbar.maxRichResults | |||
value: 20 | |||
* name: browser.tabs.autoHide | |||
value: true | |||
The only actions supported for preference asset lists are '''modify''' and ''verify'''. | The only actions supported for preference asset lists are '''modify''' and '''verify'''. | ||
Weave only sync certain preferences. To find the list of valid preferences, go to about:config on a browser that has Weave installed, and search for extensions.weave.prefs.sync. | Weave only sync certain preferences. To find the list of valid preferences, go to about:config on a browser that has Weave installed, and search for extensions.weave.prefs.sync. | ||
For a more detailed test example, see the [http://hg.mozilla.org/automation/crossweave/file/ | For a more detailed test example, see the [http://hg.mozilla.org/automation/crossweave/file/a888a8c679ac/unittests/prefs.test CrossWeave prefs unit test]. |
Latest revision as of 18:25, 25 June 2010
A prefs asset list is an array of objects with name and value keys, representing browser preferences. For example:
prefs1: * name: browser.startup.homepage value: http://www.getfirefox.com * name: browser.urlbar.maxRichResults value: 20 * name: browser.tabs.autoHide value: true
The only actions supported for preference asset lists are modify and verify.
Weave only sync certain preferences. To find the list of valid preferences, go to about:config on a browser that has Weave installed, and search for extensions.weave.prefs.sync.
For a more detailed test example, see the CrossWeave prefs unit test.