| 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ] | 352 ] |
| 353 }, | 353 }, |
| 354 | 354 |
| 355 "SigninAllowed": { |
| 356 "os": ["win", "linux", "mac"], |
| 357 "test_policy": { "SigninAllowed": true }, |
| 358 "pref_mappings": [ |
| 359 { "pref": "signin.allowed" } |
| 360 ] |
| 361 }, |
| 362 |
| 355 "UserDataDir": { | 363 "UserDataDir": { |
| 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." | 364 "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." |
| 357 }, | 365 }, |
| 358 | 366 |
| 359 "DiskCacheDir": { | 367 "DiskCacheDir": { |
| 360 "os": ["win", "mac", "linux"], | 368 "os": ["win", "mac", "linux"], |
| 361 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, | 369 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, |
| 362 "pref_mappings": [ | 370 "pref_mappings": [ |
| 363 { "pref": "browser.disk_cache_dir" } | 371 { "pref": "browser.disk_cache_dir" } |
| 364 ] | 372 ] |
| (...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1673 | 1681 |
| 1674 "ChromeFrameContentTypes": { | 1682 "ChromeFrameContentTypes": { |
| 1675 }, | 1683 }, |
| 1676 | 1684 |
| 1677 "GCFUserDataDir": { | 1685 "GCFUserDataDir": { |
| 1678 }, | 1686 }, |
| 1679 | 1687 |
| 1680 "AdditionalLaunchParameters": { | 1688 "AdditionalLaunchParameters": { |
| 1681 } | 1689 } |
| 1682 } | 1690 } |
| OLD | NEW |