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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 | 542 |
543 "DownloadRestrictions": { | 543 "DownloadRestrictions": { |
544 "os": ["win", "mac", "linux", "chromeos"], | 544 "os": ["win", "mac", "linux", "chromeos"], |
545 "can_be_recommended": true, | 545 "can_be_recommended": true, |
546 "test_policy": { "DownloadRestrictions": 3 }, | 546 "test_policy": { "DownloadRestrictions": 3 }, |
547 "pref_mappings": [ | 547 "pref_mappings": [ |
548 { "pref": "download_restrictions" } | 548 { "pref": "download_restrictions" } |
549 ] | 549 ] |
550 }, | 550 }, |
551 | 551 |
| 552 "SafeBrowsingForTrustedSourcesEnabled": { |
| 553 "os": ["win"], |
| 554 "can_be_recommended": true, |
| 555 "test_policy": { "SafeBrowsingForTrustedSourcesEnabled": false }, |
| 556 "pref_mappings": [ |
| 557 { "pref": "safebrowsing_for_trusted_sources_enabled" } |
| 558 ] |
| 559 }, |
| 560 |
552 "DownloadDirectory.0": { | 561 "DownloadDirectory.0": { |
553 "os": ["win", "mac", "linux", "chromeos"], | 562 "os": ["win", "mac", "linux", "chromeos"], |
554 "can_be_recommended": true, | 563 "can_be_recommended": true, |
555 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, | 564 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, |
556 "pref_mappings": [ | 565 "pref_mappings": [ |
557 { "pref": "download.default_directory", | 566 { "pref": "download.default_directory", |
558 "indicator_tests": [ | 567 "indicator_tests": [ |
559 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } } | 568 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } } |
560 ] | 569 ] |
561 }, | 570 }, |
(...skipping 2571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3133 | 3142 |
3134 "AdditionalLaunchParameters": { | 3143 "AdditionalLaunchParameters": { |
3135 }, | 3144 }, |
3136 | 3145 |
3137 "SuppressChromeFrameTurndownPrompt": { | 3146 "SuppressChromeFrameTurndownPrompt": { |
3138 }, | 3147 }, |
3139 | 3148 |
3140 "SkipMetadataCheck": { | 3149 "SkipMetadataCheck": { |
3141 } | 3150 } |
3142 } | 3151 } |
OLD | NEW |