| OLD | NEW |
| 1 { | 1 { |
| 2 "-- Template --": { | 2 "-- Template --": { |
| 3 "intro": "Top-level entries map a policy name to its test parameters, descri
bed below.", | 3 "intro": "Top-level entries map a policy name to its test parameters, descri
bed below.", |
| 4 | 4 |
| 5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos", "Defaults to empty if not specified."], | 5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos", "Defaults to empty if not specified."], |
| 6 "official_only": "Whether this policy exists in official builds only. Defaul
ts to |false| if not specified.", | 6 "official_only": "Whether this policy exists in official builds only. Defaul
ts to |false| if not specified.", |
| 7 "can_be_recommended": "Whether a recommended value may be set for the policy
. Defaults to |false| if not specified.", | 7 "can_be_recommended": "Whether a recommended value may be set for the policy
. Defaults to |false| if not specified.", |
| 8 "test_policy": "A policy dictionary that should make the preferences affecte
d by this policy become policy-controlled. Usually just sets the current policy.
Defaults to an empty dictionary if not specified.", | 8 "test_policy": "A policy dictionary that should make the preferences affecte
d by this policy become policy-controlled. Usually just sets the current policy.
Defaults to an empty dictionary if not specified.", |
| 9 "note": "If the policy affects any preferences, the following array should b
e specified with one entry per such preference.", | 9 "note": "If the policy affects any preferences, the following array should b
e specified with one entry per such preference.", |
| 10 "pref_mappings": [ | 10 "pref_mappings": [ |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 { "pref": "plugins.disable_plugin_finder", | 341 { "pref": "plugins.disable_plugin_finder", |
| 342 "local_state": true | 342 "local_state": true |
| 343 } | 343 } |
| 344 ] | 344 ] |
| 345 }, | 345 }, |
| 346 | 346 |
| 347 "SyncDisabled": { | 347 "SyncDisabled": { |
| 348 "os": ["win", "linux", "mac", "chromeos"], | 348 "os": ["win", "linux", "mac", "chromeos"], |
| 349 "test_policy": { "SyncDisabled": true }, | 349 "test_policy": { "SyncDisabled": true }, |
| 350 "pref_mappings": [ | 350 "pref_mappings": [ |
| 351 { "pref": "sync.managed", | 351 { "pref": "sync.managed" } |
| 352 "indicator_tests": [ | |
| 353 { "policy": { "SyncDisabled": true } } | |
| 354 ] | |
| 355 } | |
| 356 ] | 352 ] |
| 357 }, | 353 }, |
| 358 | 354 |
| 359 "UserDataDir": { | 355 "UserDataDir": { |
| 360 "note": "TODO(joaodasilva): To test that this policy works correctly, it wou
ld need to be set before the browser is launched. PolicyPrefsTest should be refa
ctored to support this and a test for this policy added." | 356 "note": "TODO(joaodasilva): To test that this policy works correctly, it wou
ld need to be set before the browser is launched. PolicyPrefsTest should be refa
ctored to support this and a test for this policy added." |
| 361 }, | 357 }, |
| 362 | 358 |
| 363 "DiskCacheDir": { | 359 "DiskCacheDir": { |
| 364 "os": ["win", "mac", "linux"], | 360 "os": ["win", "mac", "linux"], |
| 365 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, | 361 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, |
| (...skipping 1311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1677 | 1673 |
| 1678 "ChromeFrameContentTypes": { | 1674 "ChromeFrameContentTypes": { |
| 1679 }, | 1675 }, |
| 1680 | 1676 |
| 1681 "GCFUserDataDir": { | 1677 "GCFUserDataDir": { |
| 1682 }, | 1678 }, |
| 1683 | 1679 |
| 1684 "AdditionalLaunchParameters": { | 1680 "AdditionalLaunchParameters": { |
| 1685 } | 1681 } |
| 1686 } | 1682 } |
| OLD | NEW |