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", "Defaults to empty if not specified."], | 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie d."], |
Marc Treib
2016/09/05 16:01:55
Ah, do the tests not support Android maybe? One of
| |
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": [ |
11 { "pref": "The affected preference's name.", | 11 { "pref": "The affected preference's name.", |
12 "local_state": "Whether |pref| is registered in local state's PrefServic e instead of the profile's PrefService. Defaults to |false| if not specified.", | 12 "local_state": "Whether |pref| is registered in local state's PrefServic e instead of the profile's PrefService. Defaults to |false| if not specified.", |
13 "check_for_mandatory": "Should the preference be tested when a mandatory value is set for the policy? Defaults to |true| if not specified.", | 13 "check_for_mandatory": "Should the preference be tested when a mandatory value is set for the policy? Defaults to |true| if not specified.", |
14 "check_for_recommended": "Should the preference be tested when a recomme nded value is set for the policy? Defaults to |true| if not specified.", | 14 "check_for_recommended": "Should the preference be tested when a recomme nded value is set for the policy? Defaults to |true| if not specified.", |
15 "note": "When |can_be_recommended| is |false|, the policy is never set t o a recommended value so |check_for_recommended| has no effect.", | 15 "note": "When |can_be_recommended| is |false|, the policy is never set t o a recommended value so |check_for_recommended| has no effect.", |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
289 { "policy": { "SafeBrowsingEnabled": false } } | 289 { "policy": { "SafeBrowsingEnabled": false } } |
290 ] | 290 ] |
291 } | 291 } |
292 ] | 292 ] |
293 }, | 293 }, |
294 | 294 |
295 "ForceSafeSearch": { | 295 "ForceSafeSearch": { |
296 "pref": "settings.force_safesearch", | 296 "pref": "settings.force_safesearch", |
297 "test_policy": { "ForceSafeSearch": true }, | 297 "test_policy": { "ForceSafeSearch": true }, |
298 "settings_pages": [], | 298 "settings_pages": [], |
299 "os": ["win", "linux", "mac", "chromeos"] | 299 "os": ["win", "linux", "mac", "chromeos", "android"] |
300 }, | 300 }, |
301 | 301 |
302 "ForceGoogleSafeSearch": { | 302 "ForceGoogleSafeSearch": { |
303 "pref": "settings.force_google_safesearch", | 303 "pref": "settings.force_google_safesearch", |
304 "test_policy": { "ForceGoogleSafeSearch": true }, | 304 "test_policy": { "ForceGoogleSafeSearch": true }, |
305 "settings_pages": [], | 305 "settings_pages": [], |
306 "os": ["win", "linux", "mac", "chromeos"] | 306 "os": ["win", "linux", "mac", "chromeos", "android"] |
307 }, | 307 }, |
308 | 308 |
309 "ForceYouTubeSafetyMode": { | 309 "ForceYouTubeSafetyMode": { |
310 "pref": "settings.force_youtube_safety_mode", | 310 "pref": "settings.force_youtube_safety_mode", |
311 "test_policy": { "ForceYouTubeSafetyMode": true }, | 311 "test_policy": { "ForceYouTubeSafetyMode": true }, |
312 "settings_pages": [], | 312 "settings_pages": [], |
313 "os": ["win", "linux", "mac", "chromeos"] | 313 "os": ["win", "linux", "mac", "chromeos", "android"] |
314 }, | |
315 | |
316 "ForceYouTubeRestrict": { | |
317 "pref": "settings.force_youtube_restrict", | |
318 "test_policy": { "ForceYouTubeRestrict": 1 }, | |
319 "settings_pages": [], | |
320 "os": ["win", "linux", "mac", "chromeos", "android"] | |
314 }, | 321 }, |
315 | 322 |
316 "MetricsReportingEnabled": { | 323 "MetricsReportingEnabled": { |
317 "os": ["win", "mac", "linux"], | 324 "os": ["win", "mac", "linux"], |
318 "official_only": true, | 325 "official_only": true, |
319 "can_be_recommended": true, | 326 "can_be_recommended": true, |
320 "test_policy": { "MetricsReportingEnabled": false }, | 327 "test_policy": { "MetricsReportingEnabled": false }, |
321 "indicator_selector": "#metrics-reporting-disabled-icon", | 328 "indicator_selector": "#metrics-reporting-disabled-icon", |
322 "pref_mappings": [ | 329 "pref_mappings": [ |
323 { "pref": "user_experience_metrics.reporting_enabled", | 330 { "pref": "user_experience_metrics.reporting_enabled", |
(...skipping 2561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2885 | 2892 |
2886 "AdditionalLaunchParameters": { | 2893 "AdditionalLaunchParameters": { |
2887 }, | 2894 }, |
2888 | 2895 |
2889 "SuppressChromeFrameTurndownPrompt": { | 2896 "SuppressChromeFrameTurndownPrompt": { |
2890 }, | 2897 }, |
2891 | 2898 |
2892 "SkipMetadataCheck": { | 2899 "SkipMetadataCheck": { |
2893 } | 2900 } |
2894 } | 2901 } |
OLD | NEW |