| 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 }, | 353 }, |
| 354 | 354 |
| 355 "SyncDisabled": { | 355 "SyncDisabled": { |
| 356 "os": ["win", "linux", "mac", "chromeos"], | 356 "os": ["win", "linux", "mac", "chromeos"], |
| 357 "test_policy": { "SyncDisabled": true }, | 357 "test_policy": { "SyncDisabled": true }, |
| 358 "pref_mappings": [ | 358 "pref_mappings": [ |
| 359 { "pref": "sync.managed" } | 359 { "pref": "sync.managed" } |
| 360 ] | 360 ] |
| 361 }, | 361 }, |
| 362 | 362 |
| 363 "SigninAllowed": { |
| 364 "os": ["win", "linux", "mac"], |
| 365 "test_policy": { "SigninAllowed": true }, |
| 366 "pref_mappings": [ |
| 367 { "pref": "signin.allowed" } |
| 368 ] |
| 369 }, |
| 370 |
| 363 "UserDataDir": { | 371 "UserDataDir": { |
| 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." | 372 "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." |
| 365 }, | 373 }, |
| 366 | 374 |
| 367 "DiskCacheDir": { | 375 "DiskCacheDir": { |
| 368 "os": ["win", "mac", "linux"], | 376 "os": ["win", "mac", "linux"], |
| 369 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, | 377 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, |
| 370 "pref_mappings": [ | 378 "pref_mappings": [ |
| 371 { "pref": "browser.disk_cache_dir" } | 379 { "pref": "browser.disk_cache_dir" } |
| 372 ] | 380 ] |
| (...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1812 | 1820 |
| 1813 "ChromeFrameContentTypes": { | 1821 "ChromeFrameContentTypes": { |
| 1814 }, | 1822 }, |
| 1815 | 1823 |
| 1816 "GCFUserDataDir": { | 1824 "GCFUserDataDir": { |
| 1817 }, | 1825 }, |
| 1818 | 1826 |
| 1819 "AdditionalLaunchParameters": { | 1827 "AdditionalLaunchParameters": { |
| 1820 } | 1828 } |
| 1821 } | 1829 } |
| OLD | NEW |