OLD | NEW |
1 { | 1 { |
2 "-- Template --": { | 2 "-- Template --": { |
3 "intro": "Top-level entries map a policy name to its test parameters, descri
bed below. The name of the top level entry should be of the form <policy name>[.
suffix]. The optional suffix is used for defining multiple test cases for a sing
le policy.", | 3 "intro": "Top-level entries map a policy name to its test parameters, descri
bed below. The name of the top level entry should be of the form <policy name>[.
suffix]. The optional suffix is used for defining multiple test cases for a sing
le policy.", |
4 | 4 |
5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie
d."], | 5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie
d."], |
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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 }, | 533 }, |
534 | 534 |
535 "MediaCacheSize": { | 535 "MediaCacheSize": { |
536 "os": ["win", "mac", "linux"], | 536 "os": ["win", "mac", "linux"], |
537 "test_policy": { "MediaCacheSize": 200 }, | 537 "test_policy": { "MediaCacheSize": 200 }, |
538 "pref_mappings": [ | 538 "pref_mappings": [ |
539 { "pref": "browser.media_cache_size" } | 539 { "pref": "browser.media_cache_size" } |
540 ] | 540 ] |
541 }, | 541 }, |
542 | 542 |
| 543 "DownloadRestrictions": { |
| 544 "os": ["win", "mac", "linux", "chromeos"], |
| 545 "can_be_recommended": true, |
| 546 "test_policy": { "DownloadRestrictions": 3 }, |
| 547 "pref_mappings": [ |
| 548 { "pref": "download_restrictions" } |
| 549 ] |
| 550 }, |
| 551 |
543 "DownloadDirectory.0": { | 552 "DownloadDirectory.0": { |
544 "os": ["win", "mac", "linux", "chromeos"], | 553 "os": ["win", "mac", "linux", "chromeos"], |
545 "can_be_recommended": true, | 554 "can_be_recommended": true, |
546 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, | 555 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, |
547 "pref_mappings": [ | 556 "pref_mappings": [ |
548 { "pref": "download.default_directory", | 557 { "pref": "download.default_directory", |
549 "indicator_tests": [ | 558 "indicator_tests": [ |
550 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } } | 559 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } } |
551 ] | 560 ] |
552 }, | 561 }, |
(...skipping 2554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3107 | 3116 |
3108 "AdditionalLaunchParameters": { | 3117 "AdditionalLaunchParameters": { |
3109 }, | 3118 }, |
3110 | 3119 |
3111 "SuppressChromeFrameTurndownPrompt": { | 3120 "SuppressChromeFrameTurndownPrompt": { |
3112 }, | 3121 }, |
3113 | 3122 |
3114 "SkipMetadataCheck": { | 3123 "SkipMetadataCheck": { |
3115 } | 3124 } |
3116 } | 3125 } |
OLD | NEW |