| 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 "pref": "The pref that this policy maps to, if any.", | 5 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos"], |
| 6 "official_only": "Whether this policy exists in official builds only. Defaul
ts to |false| if not specified.", |
| 6 "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.", |
| 7 "test_policy": "A policy dictionary that should trigger the managed banner i
n the settings UI. Usually just sets the current policy.", | 8 "test_policy": "A policy dictionary that should trigger the managed banner i
n the settings UI. Usually just sets the current policy.", |
| 8 "indicator_test_setup_js": "JavaScript code to execute before testing contro
lled setting indicators. This should be specified only if an explicit user actio
n must be simulated (e.g. clicking a button).", | |
| 9 "indicator_selector": "A CSS selector that locates all controlled setting in
dicators for |pref|. This is appended to the selector 'span.controlled-setting-i
ndicator' and if not specified, defaults to '[pref=(the value of |pref|)', e.g.
'[pref=homepage]'.", | |
| 10 "indicator_tests": [ | |
| 11 "A list of test cases verifying that the controlled setting indicators for
|pref| correctly indicate whether its value is recommended or enforced by a cor
responding policy. Each test case is a dictionary with the following format:", | |
| 12 { "policy": "A policy dictionary that should affect |pref| when set as man
datory or recommended policy.", | |
| 13 "value": "The value that |pref| should take on. This must only be specif
ied if |pref| has multiple controlled setting indicators, each corresponding to
a specific value (e.g. indicators next to radio buttons).", | |
| 14 "readonly": "Whether setting the policy dictionary as recommended should
cause |pref| to become read-only in the settings UI. This will be the case when
the dictionary sets another policy that makes |pref| not applicable (e.g. setti
ng 'homepage is NTP' makes the 'homepage URL' pref not applicable and read-only)
."}], | |
| 15 "settings_pages": ["A list of settings pages where the banner should be visi
ble when this policy is set."], | 9 "settings_pages": ["A list of settings pages where the banner should be visi
ble when this policy is set."], |
| 16 "os": ["List of operating systems that support this policy. Valid values:",
"win", "linux", "mac", "chromeos"], | 10 "note": "If the policy affects any preferences, the following array should b
e specified with one entry per such preference.", |
| 17 "local_state": "Optionally indicate that |pref| is registed in local state,
instead of in the profile PrefService.", | 11 "pref_mappings": [ |
| 18 "official_only": "Optionally set this to true if this policy only works on o
fficial builds." | 12 { "pref": "The affected preference's name.", |
| 13 "local_state": "Whether |pref| is registered in local state's PrefServic
e instead of the profile's PrefService. Defaults to |false| if not specified.", |
| 14 "note": "The following entries should be specified if controlled setting
indicators exist for |pref| in the settings UI", |
| 15 "indicator_test_setup_js": "Any JavaScript that should be executed befor
e testing the indicators. This should be specified only if an explicit user acti
on must be simulated (e.g. clicking a button).", |
| 16 "indicator_selector": "A CSS selector that locates all controlled settin
g indicators for |pref|. This is appended to the selector 'span.controlled-setti
ng-indicator' and if not specified, defaults to '[pref=(the value of |pref|)', e
.g. '[pref=homepage]'.", |
| 17 "note 2": "Any number of test cases may be specified in the following ar
ray.", |
| 18 "indicator_tests": [ |
| 19 { "policy": "A policy dictionary that should affect |pref| when set as
mandatory or recommended policy.", |
| 20 "value": "The value that |pref| should take on. This must only be sp
ecified if |pref| has multiple controlled setting indicators, each corresponding
to a specific value (e.g. indicators next to radio buttons).", |
| 21 "readonly": "Whether setting the policy dictionary as recommended sh
ould cause |pref| to become read-only in the settings UI. This will be the case
when the dictionary sets another policy that makes |pref| not applicable (e.g. s
etting 'homepage is NTP' makes the 'homepage URL' pref not applicable and read-o
nly)." |
| 22 } |
| 23 ] |
| 24 } |
| 25 ] |
| 19 }, | 26 }, |
| 20 | 27 |
| 21 "HomepageLocation": { | 28 "HomepageLocation": { |
| 22 "pref": "homepage", | 29 "os": ["win", "linux", "mac", "chromeos"], |
| 23 "can_be_recommended": true, | 30 "can_be_recommended": true, |
| 24 "test_policy": { "HomepageLocation": "http://chromium.org" }, | 31 "test_policy": { "HomepageLocation": "http://chromium.org" }, |
| 25 "indicator_tests": [ | |
| 26 { "policy": { "HomepageIsNewTabPage": false, "HomepageLocation": "http://c
hromium.org" }}, | |
| 27 { "policy": { "HomepageIsNewTabPage": true, "HomepageLocation": "http://ch
romium.org" }, "readonly": true}], | |
| 28 "settings_pages": ["chrome://settings-frame/homePageOverlay"], | 32 "settings_pages": ["chrome://settings-frame/homePageOverlay"], |
| 29 "os": ["win", "linux", "mac", "chromeos"] | 33 "pref_mappings": [ |
| 34 { "pref": "homepage", |
| 35 "indicator_tests": [ |
| 36 { "policy": { "HomepageIsNewTabPage": false, "HomepageLocation": "http
://chromium.org" } }, |
| 37 { "policy": { "HomepageIsNewTabPage": true, "HomepageLocation": "http:
//chromium.org" }, |
| 38 "readonly": true |
| 39 } |
| 40 ] |
| 41 } |
| 42 ] |
| 30 }, | 43 }, |
| 31 | 44 |
| 32 "HomepageIsNewTabPage": { | 45 "HomepageIsNewTabPage": { |
| 33 "pref": "homepage_is_newtabpage", | 46 "os": ["win", "linux", "mac", "chromeos"], |
| 34 "can_be_recommended": true, | 47 "can_be_recommended": true, |
| 35 "test_policy": { "HomepageIsNewTabPage": true }, | 48 "test_policy": { "HomepageIsNewTabPage": true }, |
| 36 "indicator_tests": [ | |
| 37 { "policy": { "HomepageIsNewTabPage": false }, "value": "false"}, | |
| 38 { "policy": { "HomepageIsNewTabPage": true }, "value": "true"}], | |
| 39 "settings_pages": ["chrome://settings-frame/homePageOverlay"], | 49 "settings_pages": ["chrome://settings-frame/homePageOverlay"], |
| 40 "os": ["win", "linux", "mac", "chromeos"] | 50 "pref_mappings": [ |
| 51 { "pref": "homepage_is_newtabpage", |
| 52 "indicator_tests": [ |
| 53 { "policy": { "HomepageIsNewTabPage": false }, |
| 54 "value": "false"}, |
| 55 { "policy": { "HomepageIsNewTabPage": true }, |
| 56 "value": "true"} |
| 57 ] |
| 58 } |
| 59 ] |
| 41 }, | 60 }, |
| 42 | 61 |
| 43 "DefaultBrowserSettingEnabled": { | 62 "DefaultBrowserSettingEnabled": { |
| 44 "pref": "browser.default_browser_setting_enabled", | 63 "os": ["win", "mac", "linux"], |
| 45 "test_policy": { "DefaultBrowserSettingEnabled": true }, | 64 "test_policy": { "DefaultBrowserSettingEnabled": true }, |
| 46 "settings_pages": [], | 65 "settings_pages": [], |
| 47 "local_state": true, | 66 "pref_mappings": [ |
| 48 "os": ["win", "mac", "linux"], | 67 { "pref": "browser.default_browser_setting_enabled", |
| 68 "local_state": true |
| 69 } |
| 70 ], |
| 49 | 71 |
| 50 "note": "TODO(joaodasilva): Couldn't verify on linux." | 72 "note": "TODO(joaodasilva): Couldn't verify on linux." |
| 51 }, | 73 }, |
| 52 | 74 |
| 53 "ApplicationLocaleValue": { | 75 "ApplicationLocaleValue": { |
| 54 "pref": "intl.app_locale", | 76 "os": ["win"], |
| 55 "can_be_recommended": true, | 77 "can_be_recommended": true, |
| 56 "test_policy": { "ApplicationLocaleValue": "fr" }, | 78 "test_policy": { "ApplicationLocaleValue": "fr" }, |
| 57 "settings_pages": [], | 79 "settings_pages": [], |
| 58 "local_state": true, | 80 "pref_mappings": [ |
| 59 "os": ["win"] | 81 { "pref": "intl.app_locale", |
| 82 "local_state": true |
| 83 } |
| 84 ] |
| 60 }, | 85 }, |
| 61 | 86 |
| 62 "AlternateErrorPagesEnabled": { | 87 "AlternateErrorPagesEnabled": { |
| 63 "pref": "alternate_error_pages.enabled", | 88 "os": ["win", "linux", "mac", "chromeos"], |
| 64 "can_be_recommended": true, | 89 "can_be_recommended": true, |
| 65 "test_policy": { "AlternateErrorPagesEnabled": false }, | 90 "test_policy": { "AlternateErrorPagesEnabled": false }, |
| 66 "indicator_tests": [ | |
| 67 { "policy": { "AlternateErrorPagesEnabled": false }}], | |
| 68 "settings_pages": ["chrome://settings-frame"], | 91 "settings_pages": ["chrome://settings-frame"], |
| 69 "os": ["win", "linux", "mac", "chromeos"] | 92 "pref_mappings": [ |
| 93 { "pref": "alternate_error_pages.enabled", |
| 94 "indicator_tests": [ |
| 95 { "policy": { "AlternateErrorPagesEnabled": false } } |
| 96 ] |
| 97 } |
| 98 ] |
| 70 }, | 99 }, |
| 71 | 100 |
| 72 "SearchSuggestEnabled": { | 101 "SearchSuggestEnabled": { |
| 73 "pref": "search.suggest_enabled", | 102 "os": ["win", "linux", "mac", "chromeos"], |
| 74 "can_be_recommended": true, | 103 "can_be_recommended": true, |
| 75 "test_policy": { "SearchSuggestEnabled": false }, | 104 "test_policy": { "SearchSuggestEnabled": false }, |
| 76 "indicator_tests": [ | |
| 77 { "policy": { "SearchSuggestEnabled": false }}], | |
| 78 "settings_pages": ["chrome://settings-frame"], | 105 "settings_pages": ["chrome://settings-frame"], |
| 79 "os": ["win", "linux", "mac", "chromeos"] | 106 "pref_mappings": [ |
| 107 { "pref": "search.suggest_enabled", |
| 108 "indicator_tests": [ |
| 109 { "policy": { "SearchSuggestEnabled": false } } |
| 110 ] |
| 111 } |
| 112 ] |
| 80 }, | 113 }, |
| 81 | 114 |
| 82 "DnsPrefetchingEnabled": { | 115 "DnsPrefetchingEnabled": { |
| 83 "pref": "dns_prefetching.enabled", | 116 "os": ["win", "linux", "mac", "chromeos"], |
| 84 "can_be_recommended": true, | 117 "can_be_recommended": true, |
| 85 "test_policy": { "DnsPrefetchingEnabled": false }, | 118 "test_policy": { "DnsPrefetchingEnabled": false }, |
| 86 "indicator_tests": [ | |
| 87 { "policy": { "DnsPrefetchingEnabled": false }}], | |
| 88 "settings_pages": ["chrome://settings-frame"], | 119 "settings_pages": ["chrome://settings-frame"], |
| 89 "os": ["win", "linux", "mac", "chromeos"] | 120 "pref_mappings": [ |
| 121 { "pref": "dns_prefetching.enabled", |
| 122 "indicator_tests": [ |
| 123 { "policy": { "DnsPrefetchingEnabled": false } } |
| 124 ] |
| 125 } |
| 126 ] |
| 90 }, | 127 }, |
| 91 | 128 |
| 92 "DisableSpdy": { | 129 "DisableSpdy": { |
| 93 "pref": "spdy.disabled", | 130 "os": ["win", "linux", "mac", "chromeos"], |
| 94 "test_policy": { "DisableSpdy": true }, | 131 "test_policy": { "DisableSpdy": true }, |
| 95 "settings_pages": [], | 132 "settings_pages": [], |
| 96 "os": ["win", "linux", "mac", "chromeos"] | 133 "pref_mappings": [ |
| 134 { "pref": "spdy.disabled" } |
| 135 ] |
| 97 }, | 136 }, |
| 98 | 137 |
| 99 "DisabledSchemes": { | 138 "DisabledSchemes": { |
| 100 "pref": "protocol.disabled_schemes", | 139 "os": ["win", "linux", "mac", "chromeos"], |
| 101 "test_policy": { "DisabledSchemes": ["file"] }, | 140 "test_policy": { "DisabledSchemes": ["file"] }, |
| 102 "settings_pages": [], | 141 "settings_pages": [], |
| 103 "local_state": true, | 142 "pref_mappings": [ |
| 104 "os": ["win", "linux", "mac", "chromeos"] | 143 { "pref": "protocol.disabled_schemes", |
| 144 "local_state": true |
| 145 } |
| 146 ] |
| 105 }, | 147 }, |
| 106 | 148 |
| 107 "JavascriptEnabled": { | 149 "JavascriptEnabled": { |
| 108 "pref": "profile.managed_default_content_settings.javascript", | 150 "os": ["win", "linux", "mac", "chromeos"], |
| 109 "test_policy": { "JavascriptEnabled": false }, | 151 "test_policy": { "JavascriptEnabled": false }, |
| 110 "indicator_selector": "[content-setting=javascript]", | |
| 111 "indicator_tests": [ | |
| 112 { "policy": { "JavascriptEnabled": false }, "value": "block"}, | |
| 113 { "policy": { "JavascriptEnabled": true }}], | |
| 114 "settings_pages": ["chrome://settings-frame/content"], | 152 "settings_pages": ["chrome://settings-frame/content"], |
| 115 "os": ["win", "linux", "mac", "chromeos"] | 153 "pref_mappings": [ |
| 154 { "pref": "profile.managed_default_content_settings.javascript", |
| 155 "indicator_selector": "[content-setting=javascript]", |
| 156 "indicator_tests": [ |
| 157 { "policy": { "JavascriptEnabled": false }, |
| 158 "value": "block"}, |
| 159 { "policy": { "JavascriptEnabled": true } } |
| 160 ] |
| 161 } |
| 162 ] |
| 116 }, | 163 }, |
| 117 | 164 |
| 118 "IncognitoEnabled": { | 165 "IncognitoEnabled": { |
| 119 "pref": "incognito.mode_availability", | 166 "os": ["win", "linux", "mac", "chromeos"], |
| 120 "test_policy": { "IncognitoEnabled": false }, | 167 "test_policy": { "IncognitoEnabled": false }, |
| 121 "settings_pages": [], | 168 "settings_pages": [], |
| 122 "os": ["win", "linux", "mac", "chromeos"] | 169 "pref_mappings": [ |
| 170 { "pref": "incognito.mode_availability" } |
| 171 ] |
| 123 }, | 172 }, |
| 124 | 173 |
| 125 "IncognitoModeAvailability": { | 174 "IncognitoModeAvailability": { |
| 126 "pref": "incognito.mode_availability", | 175 "os": ["win", "linux", "mac", "chromeos"], |
| 127 "test_policy": { "IncognitoModeAvailability": 1 }, | 176 "test_policy": { "IncognitoModeAvailability": 1 }, |
| 128 "settings_pages": [], | 177 "settings_pages": [], |
| 129 "os": ["win", "linux", "mac", "chromeos"] | 178 "pref_mappings": [ |
| 179 { "pref": "incognito.mode_availability" } |
| 180 ] |
| 130 }, | 181 }, |
| 131 | 182 |
| 132 "SavingBrowserHistoryDisabled": { | 183 "SavingBrowserHistoryDisabled": { |
| 133 "pref": "history.saving_disabled", | 184 "os": ["win", "linux", "mac", "chromeos"], |
| 134 "test_policy": { "SavingBrowserHistoryDisabled": true }, | 185 "test_policy": { "SavingBrowserHistoryDisabled": true }, |
| 135 "settings_pages": [], | 186 "settings_pages": [], |
| 136 "os": ["win", "linux", "mac", "chromeos"] | 187 "pref_mappings": [ |
| 188 { "pref": "history.saving_disabled" } |
| 189 ] |
| 137 }, | 190 }, |
| 138 | 191 |
| 139 "RemoteAccessClientFirewallTraversal": { | 192 "RemoteAccessClientFirewallTraversal": { |
| 140 "pref": null, | 193 "os": [], |
| 141 "test_policy": { "RemoteAccessClientFirewallTraversal": true }, | 194 "test_policy": { "RemoteAccessClientFirewallTraversal": true }, |
| 142 "settings_pages": [], | 195 "settings_pages": [] |
| 143 "os": [] | |
| 144 }, | 196 }, |
| 145 | 197 |
| 146 "RemoteAccessHostFirewallTraversal": { | 198 "RemoteAccessHostFirewallTraversal": { |
| 147 "pref": "remote_access.host_firewall_traversal", | 199 "os": [], |
| 148 "test_policy": { "RemoteAccessHostFirewallTraversal": true }, | 200 "test_policy": { "RemoteAccessHostFirewallTraversal": true }, |
| 149 "settings_pages": [], | 201 "settings_pages": [], |
| 202 "pref_mappings": [ |
| 203 { "pref": "remote_access.host_firewall_traversal" } |
| 204 ], |
| 205 |
| 206 "note": "TODO(frankf): Enable on all OS after crbug.com/121066 is fixed." |
| 207 }, |
| 208 |
| 209 "RemoteAccessHostRequireTwoFactor": { |
| 150 "os": [], | 210 "os": [], |
| 151 | |
| 152 "note": "TODO(frankf): Enable on all OS after crbug.com/121066 is fixed." | |
| 153 }, | |
| 154 | |
| 155 "RemoteAccessHostRequireTwoFactor": { | |
| 156 "pref": "remote_access.host_require_two_factor", | |
| 157 "test_policy": { "RemoteAccessHostRequireTwoFactor": false }, | 211 "test_policy": { "RemoteAccessHostRequireTwoFactor": false }, |
| 158 "settings_pages": [], | 212 "settings_pages": [], |
| 159 "os": [] | 213 "pref_mappings": [ |
| 214 { "pref": "remote_access.host_require_two_factor" } |
| 215 ] |
| 160 }, | 216 }, |
| 161 | 217 |
| 162 "RemoteAccessHostDomain": { | 218 "RemoteAccessHostDomain": { |
| 163 "pref": "remote_access.host_domain", | 219 "os": [], |
| 164 "test_policy": { "RemoteAccessHostDomain": "" }, | 220 "test_policy": { "RemoteAccessHostDomain": "" }, |
| 165 "settings_pages": [], | 221 "settings_pages": [], |
| 166 "os": [] | 222 "pref_mappings": [ |
| 223 { "pref": "remote_access.host_domain" } |
| 224 ] |
| 167 }, | 225 }, |
| 168 | 226 |
| 169 "RemoteAccessHostTalkGadgetPrefix": { | 227 "RemoteAccessHostTalkGadgetPrefix": { |
| 170 "pref": "remote_access.host_talkgadget_prefix", | 228 "os": [], |
| 171 "test_policy": { "RemoteAccessHostTalkGadgetPrefix": "chromoting-host" }, | 229 "test_policy": { "RemoteAccessHostTalkGadgetPrefix": "chromoting-host" }, |
| 172 "settings_pages": [], | 230 "settings_pages": [], |
| 173 "os": [] | 231 "pref_mappings": [ |
| 232 { "pref": "remote_access.host_talkgadget_prefix" } |
| 233 ] |
| 174 }, | 234 }, |
| 175 | 235 |
| 176 "RemoteAccessHostRequireCurtain": { | 236 "RemoteAccessHostRequireCurtain": { |
| 177 "pref": "remote_access.host_require_curtain", | 237 "os": [], |
| 178 "test_policy": { "RemoteAccessHostRequireCurtain": false }, | 238 "test_policy": { "RemoteAccessHostRequireCurtain": false }, |
| 179 "settings_pages": [], | 239 "settings_pages": [], |
| 180 "os": [] | 240 "pref_mappings": [ |
| 241 { "pref": "remote_access.host_require_curtain" } |
| 242 ] |
| 181 }, | 243 }, |
| 182 | 244 |
| 183 "PrintingEnabled": { | 245 "PrintingEnabled": { |
| 184 "pref": "printing.enabled", | 246 "os": ["win", "linux", "mac", "chromeos"], |
| 185 "test_policy": { "PrintingEnabled": false }, | 247 "test_policy": { "PrintingEnabled": false }, |
| 186 "settings_pages": [], | 248 "settings_pages": [], |
| 187 "os": ["win", "linux", "mac", "chromeos"] | 249 "pref_mappings": [ |
| 250 { "pref": "printing.enabled" } |
| 251 ] |
| 188 }, | 252 }, |
| 189 | 253 |
| 190 "CloudPrintProxyEnabled": { | 254 "CloudPrintProxyEnabled": { |
| 191 "pref": "cloud_print.enabled", | 255 "os": [], |
| 192 "test_policy": { "CloudPrintProxyEnabled": true }, | 256 "test_policy": { "CloudPrintProxyEnabled": true }, |
| 193 "settings_pages": [], | 257 "settings_pages": [], |
| 194 "os": [] | 258 "pref_mappings": [ |
| 259 { "pref": "cloud_print.enabled" } |
| 260 ] |
| 195 }, | 261 }, |
| 196 | 262 |
| 197 "CloudPrintSubmitEnabled": { | 263 "CloudPrintSubmitEnabled": { |
| 198 "pref": "cloud_print.submit_enabled", | 264 "os": ["win", "mac", "linux"], |
| 199 "test_policy": { "CloudPrintSubmitEnabled": false }, | 265 "test_policy": { "CloudPrintSubmitEnabled": false }, |
| 200 "settings_pages": [], | 266 "settings_pages": [], |
| 201 "os": ["win", "mac", "linux"] | 267 "pref_mappings": [ |
| 268 { "pref": "cloud_print.submit_enabled" } |
| 269 ] |
| 202 }, | 270 }, |
| 203 | 271 |
| 204 "SafeBrowsingEnabled": { | 272 "SafeBrowsingEnabled": { |
| 205 "pref": "safebrowsing.enabled", | 273 "os": ["win", "linux", "mac", "chromeos"], |
| 274 "can_be_recommended": true, |
| 206 "test_policy": { "SafeBrowsingEnabled": false }, | 275 "test_policy": { "SafeBrowsingEnabled": false }, |
| 207 "settings_pages": ["chrome://settings-frame"], | 276 "settings_pages": ["chrome://settings-frame"], |
| 208 "os": ["win", "linux", "mac", "chromeos"] | 277 "pref_mappings": [ |
| 278 { "pref": "safebrowsing.enabled", |
| 279 "indicator_tests": [ |
| 280 { "policy": { "SafeBrowsingEnabled": false } } |
| 281 ] |
| 282 } |
| 283 ] |
| 209 }, | 284 }, |
| 210 | 285 |
| 211 "MetricsReportingEnabled": { | 286 "MetricsReportingEnabled": { |
| 212 "pref": "user_experience_metrics.reporting_enabled", | 287 "os": ["win", "mac", "linux"], |
| 288 "official_only": true, |
| 289 "can_be_recommended": true, |
| 213 "test_policy": { "MetricsReportingEnabled": false }, | 290 "test_policy": { "MetricsReportingEnabled": false }, |
| 214 "settings_pages": ["chrome://settings-frame"], | 291 "settings_pages": ["chrome://settings-frame"], |
| 215 "os": ["win", "mac", "linux"], | 292 "pref_mappings": [ |
| 216 "local_state": true, | 293 { "pref": "user_experience_metrics.reporting_enabled", |
| 217 "official_only": true | 294 "local_state": true, |
| 295 "indicator_tests": [ |
| 296 { "policy": { "MetricsReportingEnabled": false } } |
| 297 ] |
| 298 } |
| 299 ] |
| 218 }, | 300 }, |
| 219 | 301 |
| 220 "PasswordManagerEnabled": { | 302 "PasswordManagerEnabled": { |
| 221 "pref": "profile.password_manager_enabled", | 303 "os": ["win", "linux", "mac", "chromeos"], |
| 304 "can_be_recommended": true, |
| 222 "test_policy": { "PasswordManagerEnabled": false }, | 305 "test_policy": { "PasswordManagerEnabled": false }, |
| 223 "settings_pages": ["chrome://settings-frame"], | 306 "settings_pages": ["chrome://settings-frame"], |
| 224 "os": ["win", "linux", "mac", "chromeos"] | 307 "pref_mappings": [ |
| 308 { "pref": "profile.password_manager_enabled", |
| 309 "indicator_tests": [ |
| 310 { "policy": { "PasswordManagerEnabled": false } } |
| 311 ] |
| 312 } |
| 313 ] |
| 225 }, | 314 }, |
| 226 | 315 |
| 227 "PasswordManagerAllowShowPasswords": { | 316 "PasswordManagerAllowShowPasswords": { |
| 228 "pref": "profile.password_manager_allow_show_passwords", | 317 "os": ["win", "linux", "mac", "chromeos"], |
| 229 "test_policy": { "PasswordManagerAllowShowPasswords": false }, | 318 "test_policy": { "PasswordManagerAllowShowPasswords": false }, |
| 230 "settings_pages": ["chrome://settings-frame"], | 319 "settings_pages": ["chrome://settings-frame"], |
| 231 "os": ["win", "linux", "mac", "chromeos"], | 320 "pref_mappings": [ |
| 321 { "pref": "profile.password_manager_allow_show_passwords" } |
| 322 ], |
| 232 | 323 |
| 233 "note": "TODO(joaodasilva): Should be chrome://settings-frame/passwords. htt
p://crbug.com/97749" | 324 "note": "TODO(joaodasilva): Should be chrome://settings-frame/passwords. htt
p://crbug.com/97749" |
| 234 }, | 325 }, |
| 235 | 326 |
| 236 "AutoFillEnabled": { | 327 "AutoFillEnabled": { |
| 237 "pref": "autofill.enabled", | 328 "os": ["win", "linux", "mac", "chromeos"], |
| 329 "can_be_recommended": true, |
| 238 "test_policy": { "AutoFillEnabled": false }, | 330 "test_policy": { "AutoFillEnabled": false }, |
| 239 "settings_pages": ["chrome://settings-frame"], | 331 "settings_pages": ["chrome://settings-frame"], |
| 240 "os": ["win", "linux", "mac", "chromeos"] | 332 "pref_mappings": [ |
| 333 { "pref": "autofill.enabled", |
| 334 "indicator_tests": [ |
| 335 { "policy": { "AutoFillEnabled": false } } |
| 336 ] |
| 337 } |
| 338 ] |
| 241 }, | 339 }, |
| 242 | 340 |
| 243 "DisabledPlugins": { | 341 "DisabledPlugins": { |
| 244 "pref": "plugins.plugins_disabled", | 342 "os": ["win", "linux", "mac", "chromeos"], |
| 245 "test_policy": { "DisabledPlugins": ["Flash"] }, | 343 "test_policy": { "DisabledPlugins": ["Flash"] }, |
| 246 "settings_pages": [], | 344 "settings_pages": [], |
| 247 "os": ["win", "linux", "mac", "chromeos"] | 345 "pref_mappings": [ |
| 346 { "pref": "plugins.plugins_disabled" } |
| 347 ] |
| 248 }, | 348 }, |
| 249 | 349 |
| 250 "EnabledPlugins": { | 350 "EnabledPlugins": { |
| 251 "pref": "plugins.plugins_enabled", | 351 "os": ["win", "linux", "mac", "chromeos"], |
| 252 "test_policy": { "EnabledPlugins": ["Flash"] }, | 352 "test_policy": { "EnabledPlugins": ["Flash"] }, |
| 253 "settings_pages": [], | 353 "settings_pages": [], |
| 254 "os": ["win", "linux", "mac", "chromeos"] | 354 "pref_mappings": [ |
| 355 { "pref": "plugins.plugins_enabled" } |
| 356 ] |
| 255 }, | 357 }, |
| 256 | 358 |
| 257 "DisabledPluginsExceptions": { | 359 "DisabledPluginsExceptions": { |
| 258 "pref": "plugins.plugins_disabled_exceptions", | 360 "os": ["win", "linux", "mac", "chromeos"], |
| 259 "test_policy": { "DisabledPluginsExceptions": ["Flash"] }, | 361 "test_policy": { "DisabledPluginsExceptions": ["Flash"] }, |
| 260 "settings_pages": [], | 362 "settings_pages": [], |
| 261 "os": ["win", "linux", "mac", "chromeos"] | 363 "pref_mappings": [ |
| 364 { "pref": "plugins.plugins_disabled_exceptions" } |
| 365 ] |
| 262 }, | 366 }, |
| 263 | 367 |
| 264 "DisablePluginFinder": { | 368 "DisablePluginFinder": { |
| 265 "pref": "plugins.disable_plugin_finder", | 369 "os": ["win", "linux", "mac", "chromeos"], |
| 266 "test_policy": { "DisablePluginFinder": true }, | 370 "test_policy": { "DisablePluginFinder": true }, |
| 267 "settings_pages": [], | 371 "settings_pages": [], |
| 268 "local_state": true, | 372 "pref_mappings": [ |
| 269 "os": ["win", "linux", "mac", "chromeos"] | 373 { "pref": "plugins.disable_plugin_finder", |
| 374 "local_state": true |
| 375 } |
| 376 ] |
| 270 }, | 377 }, |
| 271 | 378 |
| 272 "SyncDisabled": { | 379 "SyncDisabled": { |
| 273 "pref": "sync.managed", | 380 "os": ["win", "linux", "mac", "chromeos"], |
| 274 "test_policy": { "SyncDisabled": true }, | 381 "test_policy": { "SyncDisabled": true }, |
| 275 "settings_pages": [], | 382 "settings_pages": [], |
| 276 "os": ["win", "linux", "mac", "chromeos"], | 383 "pref_mappings": [ |
| 384 { "pref": "sync.managed" } |
| 385 ], |
| 277 | 386 |
| 278 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" | 387 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" |
| 279 }, | 388 }, |
| 280 | 389 |
| 281 "UserDataDir": { | 390 "UserDataDir": { |
| 282 "pref": null, | 391 "os": ["win", "mac"], |
| 283 "test_policy": { "UserDataDir": "${users}/${user_name}/chrome-test" }, | 392 "test_policy": { "UserDataDir": "${users}/${user_name}/chrome-test" }, |
| 284 "settings_pages": [], | 393 "settings_pages": [] |
| 285 "os": ["win", "mac"] | |
| 286 }, | 394 }, |
| 287 | 395 |
| 288 "DiskCacheDir": { | 396 "DiskCacheDir": { |
| 289 "pref": "browser.disk_cache_dir", | 397 "os": ["win", "mac", "linux"], |
| 290 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, | 398 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" }, |
| 291 "settings_pages": [], | 399 "settings_pages": [], |
| 292 "os": ["win", "mac", "linux"] | 400 "pref_mappings": [ |
| 401 { "pref": "browser.disk_cache_dir" } |
| 402 ] |
| 293 }, | 403 }, |
| 294 | 404 |
| 295 "DiskCacheSize": { | 405 "DiskCacheSize": { |
| 296 "pref": "browser.disk_cache_size", | 406 "os": ["win", "mac", "linux"], |
| 297 "test_policy": { "DiskCacheSize": 100 }, | 407 "test_policy": { "DiskCacheSize": 100 }, |
| 298 "settings_pages": [], | 408 "settings_pages": [], |
| 299 "os": ["win", "mac", "linux"] | 409 "pref_mappings": [ |
| 410 { "pref": "browser.disk_cache_size" } |
| 411 ] |
| 300 }, | 412 }, |
| 301 | 413 |
| 302 "MediaCacheSize": { | 414 "MediaCacheSize": { |
| 303 "pref": "browser.media_cache_size", | 415 "os": ["win", "mac", "linux"], |
| 304 "test_policy": { "MediaCacheSize": 200 }, | 416 "test_policy": { "MediaCacheSize": 200 }, |
| 305 "settings_pages": [], | 417 "settings_pages": [], |
| 306 "os": ["win", "mac", "linux"] | 418 "pref_mappings": [ |
| 419 { "pref": "browser.media_cache_size" } |
| 420 ] |
| 307 }, | 421 }, |
| 308 | 422 |
| 309 "DownloadDirectory": { | 423 "DownloadDirectory": { |
| 310 "pref": "download.default_directory", | 424 "os": ["win", "mac", "linux"], |
| 425 "can_be_recommended": true, |
| 311 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, | 426 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, |
| 312 "settings_pages": ["chrome://settings-frame"], | 427 "settings_pages": ["chrome://settings-frame"], |
| 313 "os": ["win", "mac", "linux"] | 428 "pref_mappings": [ |
| 429 { "pref": "download.default_directory", |
| 430 "indicator_tests": [ |
| 431 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } } |
| 432 ] |
| 433 }, |
| 434 { "pref": "download.prompt_for_download", |
| 435 "indicator_tests": [ |
| 436 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } } |
| 437 ] |
| 438 } |
| 439 ] |
| 314 }, | 440 }, |
| 315 | 441 |
| 316 "ClearSiteDataOnExit": { | 442 "ClearSiteDataOnExit": { |
| 317 "pref": "profile.managed_default_content_settings.cookies", | 443 "os": ["win", "linux", "mac", "chromeos"], |
| 318 "test_policy": { "ClearSiteDataOnExit": true }, | 444 "test_policy": { "ClearSiteDataOnExit": true }, |
| 319 "indicator_selector": "[content-setting=cookies]", | |
| 320 "indicator_tests": [ | |
| 321 { "policy": { "ClearSiteDataOnExit": false }}, | |
| 322 { "policy": { "ClearSiteDataOnExit": true }, "value": "session"}], | |
| 323 "settings_pages": ["chrome://settings-frame/content"], | 445 "settings_pages": ["chrome://settings-frame/content"], |
| 324 "os": ["win", "linux", "mac", "chromeos"], | 446 "pref_mappings": [ |
| 447 { "pref": "profile.managed_default_content_settings.cookies", |
| 448 "indicator_selector": "[content-setting=cookies]", |
| 449 "indicator_tests": [ |
| 450 { "policy": { "ClearSiteDataOnExit": false } }, |
| 451 { "policy": { "ClearSiteDataOnExit": true }, |
| 452 "value": "session"} |
| 453 ] |
| 454 } |
| 455 ], |
| 325 | 456 |
| 326 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 457 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 327 }, | 458 }, |
| 328 | 459 |
| 329 "ProxyMode": { | 460 "ProxyMode": { |
| 330 "pref": "proxy", | 461 "os": ["win", "mac", "linux"], |
| 331 "test_policy": { "ProxyMode": "direct" }, | 462 "test_policy": { "ProxyMode": "direct" }, |
| 332 "settings_pages": [], | 463 "settings_pages": [], |
| 333 "os": ["win", "mac", "linux"], | 464 "pref_mappings": [ |
| 465 { "pref": "proxy" } |
| 466 ], |
| 334 | 467 |
| 335 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" | 468 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" |
| 336 }, | 469 }, |
| 337 | 470 |
| 338 "ProxyServerMode": { | 471 "ProxyServerMode": { |
| 339 "pref": "proxy", | 472 "os": ["win", "mac", "linux"], |
| 340 "test_policy": { "ProxyServerMode": 0 }, | 473 "test_policy": { "ProxyServerMode": 0 }, |
| 341 "settings_pages": [], | 474 "settings_pages": [], |
| 342 "os": ["win", "mac", "linux"], | 475 "pref_mappings": [ |
| 476 { "pref": "proxy" } |
| 477 ], |
| 343 | 478 |
| 344 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" | 479 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" |
| 345 }, | 480 }, |
| 346 | 481 |
| 347 "ProxyServer": { | 482 "ProxyServer": { |
| 348 "pref": "proxy", | 483 "os": ["win", "mac", "linux"], |
| 349 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh
ost:8080" }, | 484 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh
ost:8080" }, |
| 350 "settings_pages": [], | 485 "settings_pages": [], |
| 351 "os": ["win", "mac", "linux"] | 486 "pref_mappings": [ |
| 487 { "pref": "proxy" } |
| 488 ] |
| 352 }, | 489 }, |
| 353 | 490 |
| 354 "ProxyPacUrl": { | 491 "ProxyPacUrl": { |
| 355 "pref": "proxy", | 492 "os": ["win", "mac", "linux"], |
| 356 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost
:8080/proxy.pac" }, | 493 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost
:8080/proxy.pac" }, |
| 357 "settings_pages": [], | 494 "settings_pages": [], |
| 358 "os": ["win", "mac", "linux"] | 495 "pref_mappings": [ |
| 496 { "pref": "proxy" } |
| 497 ] |
| 359 }, | 498 }, |
| 360 | 499 |
| 361 "ProxyBypassList": { | 500 "ProxyBypassList": { |
| 362 "pref": "proxy", | 501 "os": ["win", "mac", "linux"], |
| 363 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh
ost:8080", "ProxyBypassList": "localhost" }, | 502 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localh
ost:8080", "ProxyBypassList": "localhost" }, |
| 364 "settings_pages": [], | 503 "settings_pages": [], |
| 365 "os": ["win", "mac", "linux"] | 504 "pref_mappings": [ |
| 505 { "pref": "proxy" } |
| 506 ] |
| 366 }, | 507 }, |
| 367 | 508 |
| 368 "ProxySettings": { | 509 "ProxySettings": { |
| 369 "pref": "proxy", | 510 "os": ["linux", "win"], |
| 370 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } }, | 511 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } }, |
| 371 "settings_pages": [], | 512 "settings_pages": [], |
| 372 "os": ["linux", "win"] | 513 "pref_mappings": [ |
| 514 { "pref": "proxy" } |
| 515 ] |
| 373 }, | 516 }, |
| 374 | 517 |
| 375 "EnableOriginBoundCerts": { | 518 "EnableOriginBoundCerts": { |
| 376 "pref": "ssl.origin_bound_certs.enabled", | 519 "os": ["win", "mac", "linux"], |
| 377 "test_policy": { "EnableOriginBoundCerts": true }, | 520 "test_policy": { "EnableOriginBoundCerts": true }, |
| 378 "settings_pages": [], | 521 "settings_pages": [], |
| 379 "local_state": true, | 522 "pref_mappings": [ |
| 380 "os": ["win", "mac", "linux"] | 523 { "pref": "ssl.origin_bound_certs.enabled", |
| 524 "local_state": true |
| 525 } |
| 526 ] |
| 381 }, | 527 }, |
| 382 | 528 |
| 383 "DisableSSLRecordSplitting": { | 529 "DisableSSLRecordSplitting": { |
| 384 "pref": "ssl.ssl_record_splitting.disabled", | 530 "os": ["win", "linux", "mac", "chromeos"], |
| 385 "test_policy": { "DisableSSLRecordSplitting": true }, | 531 "test_policy": { "DisableSSLRecordSplitting": true }, |
| 386 "settings_pages": [], | 532 "settings_pages": [], |
| 387 "local_state": true, | 533 "pref_mappings": [ |
| 388 "os": ["win", "linux", "mac", "chromeos"] | 534 { "pref": "ssl.ssl_record_splitting.disabled", |
| 535 "local_state": true |
| 536 } |
| 537 ] |
| 389 }, | 538 }, |
| 390 | 539 |
| 391 "EnableOnlineRevocationChecks": { | 540 "EnableOnlineRevocationChecks": { |
| 392 "pref": "ssl.rev_checking.enabled", | 541 "os": ["win", "linux", "mac", "chromeos"], |
| 393 "test_policy": { "EnableOnlineRevocationChecks": true }, | 542 "test_policy": { "EnableOnlineRevocationChecks": true }, |
| 394 "settings_pages": [], | 543 "settings_pages": [], |
| 395 "local_state": true, | 544 "pref_mappings": [ |
| 396 "os": ["win", "linux", "mac", "chromeos"] | 545 { "pref": "ssl.rev_checking.enabled", |
| 546 "local_state": true |
| 547 } |
| 548 ] |
| 397 }, | 549 }, |
| 398 | 550 |
| 399 "AuthSchemes": { | 551 "AuthSchemes": { |
| 400 "pref": "auth.schemes", | 552 "os": ["win", "linux", "mac", "chromeos"], |
| 401 "test_policy": { "AuthSchemes": "AuthSchemes" }, | 553 "test_policy": { "AuthSchemes": "AuthSchemes" }, |
| 402 "settings_pages": [], | 554 "settings_pages": [], |
| 403 "local_state": true, | 555 "pref_mappings": [ |
| 404 "os": ["win", "linux", "mac", "chromeos"] | 556 { "pref": "auth.schemes", |
| 557 "local_state": true |
| 558 } |
| 559 ] |
| 405 }, | 560 }, |
| 406 | 561 |
| 407 "DisableAuthNegotiateCnameLookup": { | 562 "DisableAuthNegotiateCnameLookup": { |
| 408 "pref": "auth.disable_negotiate_cname_lookup", | 563 "os": ["win", "linux", "mac", "chromeos"], |
| 409 "test_policy": { "DisableAuthNegotiateCnameLookup": true }, | 564 "test_policy": { "DisableAuthNegotiateCnameLookup": true }, |
| 410 "settings_pages": [], | 565 "settings_pages": [], |
| 411 "local_state": true, | 566 "pref_mappings": [ |
| 412 "os": ["win", "linux", "mac", "chromeos"] | 567 { "pref": "auth.disable_negotiate_cname_lookup", |
| 568 "local_state": true |
| 569 } |
| 570 ] |
| 413 }, | 571 }, |
| 414 | 572 |
| 415 "EnableAuthNegotiatePort": { | 573 "EnableAuthNegotiatePort": { |
| 416 "pref": "auth.enable_negotiate_port", | 574 "os": ["win", "linux", "mac", "chromeos"], |
| 417 "test_policy": { "EnableAuthNegotiatePort": true }, | 575 "test_policy": { "EnableAuthNegotiatePort": true }, |
| 418 "settings_pages": [], | 576 "settings_pages": [], |
| 419 "local_state": true, | 577 "pref_mappings": [ |
| 420 "os": ["win", "linux", "mac", "chromeos"] | 578 { "pref": "auth.enable_negotiate_port", |
| 579 "local_state": true |
| 580 } |
| 581 ] |
| 421 }, | 582 }, |
| 422 | 583 |
| 423 "AuthServerWhitelist": { | 584 "AuthServerWhitelist": { |
| 424 "pref": "auth.server_whitelist", | 585 "os": ["win", "linux", "mac", "chromeos"], |
| 425 "test_policy": { "AuthServerWhitelist": "localhost" }, | 586 "test_policy": { "AuthServerWhitelist": "localhost" }, |
| 426 "settings_pages": [], | 587 "settings_pages": [], |
| 427 "local_state": true, | 588 "pref_mappings": [ |
| 428 "os": ["win", "linux", "mac", "chromeos"] | 589 { "pref": "auth.server_whitelist", |
| 590 "local_state": true |
| 591 } |
| 592 ] |
| 429 }, | 593 }, |
| 430 | 594 |
| 431 "AuthNegotiateDelegateWhitelist": { | 595 "AuthNegotiateDelegateWhitelist": { |
| 432 "pref": "auth.negotiate_delegate_whitelist", | 596 "os": ["win", "linux", "mac", "chromeos"], |
| 433 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" }, | 597 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" }, |
| 434 "settings_pages": [], | 598 "settings_pages": [], |
| 435 "local_state": true, | 599 "pref_mappings": [ |
| 436 "os": ["win", "linux", "mac", "chromeos"] | 600 { "pref": "auth.negotiate_delegate_whitelist", |
| 601 "local_state": true |
| 602 } |
| 603 ] |
| 437 }, | 604 }, |
| 438 | 605 |
| 439 "GSSAPILibraryName": { | 606 "GSSAPILibraryName": { |
| 440 "pref": "auth.gssapi_library_name", | 607 "os": ["mac", "linux"], |
| 441 "test_policy": { "GSSAPILibraryName": "libwhatever.so" }, | 608 "test_policy": { "GSSAPILibraryName": "libwhatever.so" }, |
| 442 "settings_pages": [], | 609 "settings_pages": [], |
| 443 "local_state": true, | 610 "pref_mappings": [ |
| 444 "os": ["mac", "linux"] | 611 { "pref": "auth.gssapi_library_name", |
| 612 "local_state": true |
| 613 } |
| 614 ] |
| 445 }, | 615 }, |
| 446 | 616 |
| 447 "AllowCrossOriginAuthPrompt": { | 617 "AllowCrossOriginAuthPrompt": { |
| 448 "pref": "auth.allow_cross_origin_prompt", | 618 "os": ["win", "mac", "linux"], |
| 449 "test_policy": { "AllowCrossOriginAuthPrompt": true }, | 619 "test_policy": { "AllowCrossOriginAuthPrompt": true }, |
| 450 "settings_pages": [], | 620 "settings_pages": [], |
| 451 "local_state": true, | 621 "pref_mappings": [ |
| 452 "os": ["win", "mac", "linux"] | 622 { "pref": "auth.allow_cross_origin_prompt", |
| 623 "local_state": true |
| 624 } |
| 625 ] |
| 453 }, | 626 }, |
| 454 | 627 |
| 455 "ExtensionInstallBlacklist": { | 628 "ExtensionInstallBlacklist": { |
| 456 "pref": "extensions.install.denylist", | 629 "os": ["win", "linux", "mac", "chromeos"], |
| 457 "test_policy": { "ExtensionInstallBlacklist": ["*"] }, | 630 "test_policy": { "ExtensionInstallBlacklist": ["*"] }, |
| 458 "settings_pages": [], | 631 "settings_pages": [], |
| 459 "os": ["win", "linux", "mac", "chromeos"] | 632 "pref_mappings": [ |
| 633 { "pref": "extensions.install.denylist" } |
| 634 ] |
| 460 }, | 635 }, |
| 461 | 636 |
| 462 "ExtensionInstallWhitelist": { | 637 "ExtensionInstallWhitelist": { |
| 463 "pref": "extensions.install.allowlist", | 638 "os": ["win", "linux", "mac", "chromeos"], |
| 464 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoeg
djlp"] }, | 639 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoeg
djlp"] }, |
| 465 "settings_pages": [], | 640 "settings_pages": [], |
| 466 "os": ["win", "linux", "mac", "chromeos"] | 641 "pref_mappings": [ |
| 642 { "pref": "extensions.install.allowlist" } |
| 643 ] |
| 467 }, | 644 }, |
| 468 | 645 |
| 469 "ExtensionInstallForcelist": { | 646 "ExtensionInstallForcelist": { |
| 470 "pref": "extensions.install.forcelist", | 647 "os": ["win", "linux", "mac", "chromeos"], |
| 471 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoeg
djlp;https://clients2.google.com/service/update2/crx"] }, | 648 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoeg
djlp;https://clients2.google.com/service/update2/crx"] }, |
| 472 "settings_pages": [], | 649 "settings_pages": [], |
| 473 "os": ["win", "linux", "mac", "chromeos"] | 650 "pref_mappings": [ |
| 651 { "pref": "extensions.install.forcelist" } |
| 652 ] |
| 474 }, | 653 }, |
| 475 | 654 |
| 476 "ExtensionInstallSources": { | 655 "ExtensionInstallSources": { |
| 477 "pref": "extensions.allowed_install_sites", | 656 "os": ["win", "linux", "mac", "chromeos"], |
| 478 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"
] }, | 657 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"
] }, |
| 479 "settings_pages": [], | 658 "settings_pages": [], |
| 480 "os": ["win", "linux", "mac", "chromeos"] | 659 "pref_mappings": [ |
| 660 { "pref": "extensions.allowed_install_sites" } |
| 661 ] |
| 481 }, | 662 }, |
| 482 | 663 |
| 483 "ShowHomeButton": { | 664 "ShowHomeButton": { |
| 484 "pref": "browser.show_home_button", | 665 "os": ["win", "linux", "mac", "chromeos"], |
| 485 "test_policy": { "ShowHomeButton": true }, | 666 "test_policy": { "ShowHomeButton": true }, |
| 486 "settings_pages": ["chrome://settings-frame"], | 667 "settings_pages": ["chrome://settings-frame"], |
| 487 "os": ["win", "linux", "mac", "chromeos"] | 668 "pref_mappings": [ |
| 669 { "pref": "browser.show_home_button" } |
| 670 ] |
| 488 }, | 671 }, |
| 489 | 672 |
| 490 "DeveloperToolsDisabled": { | 673 "DeveloperToolsDisabled": { |
| 491 "pref": "devtools.disabled", | 674 "os": ["win", "linux", "mac", "chromeos"], |
| 492 "test_policy": { "DeveloperToolsDisabled": true }, | 675 "test_policy": { "DeveloperToolsDisabled": true }, |
| 493 "settings_pages": [], | 676 "settings_pages": [], |
| 494 "os": ["win", "linux", "mac", "chromeos"] | 677 "pref_mappings": [ |
| 678 { "pref": "devtools.disabled" } |
| 679 ] |
| 495 }, | 680 }, |
| 496 | 681 |
| 497 "RestoreOnStartup": { | 682 "RestoreOnStartup": { |
| 498 "pref": "session.restore_on_startup", | 683 "os": ["win", "linux", "mac", "chromeos"], |
| 499 "test_policy": { "RestoreOnStartup": 4 }, | 684 "test_policy": { "RestoreOnStartup": 4 }, |
| 500 "settings_pages": ["chrome://settings-frame"], | 685 "settings_pages": ["chrome://settings-frame"], |
| 501 "os": ["win", "linux", "mac", "chromeos"] | 686 "pref_mappings": [ |
| 687 { "pref": "session.restore_on_startup" } |
| 688 ] |
| 502 }, | 689 }, |
| 503 | 690 |
| 504 "RestoreOnStartupURLs": { | 691 "RestoreOnStartupURLs": { |
| 505 "pref": "session.urls_to_restore_on_startup", | 692 "os": ["win", "linux", "mac", "chromeos"], |
| 506 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, | 693 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] }, |
| 507 "settings_pages": [], | 694 "settings_pages": [], |
| 508 "os": ["win", "linux", "mac", "chromeos"], | 695 "pref_mappings": [ |
| 696 { "pref": "session.urls_to_restore_on_startup" } |
| 697 ], |
| 509 | 698 |
| 510 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" | 699 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" |
| 511 }, | 700 }, |
| 512 | 701 |
| 513 "BlockThirdPartyCookies": { | 702 "BlockThirdPartyCookies": { |
| 514 "pref": "profile.block_third_party_cookies", | 703 "os": ["win", "linux", "mac", "chromeos"], |
| 515 "can_be_recommended": true, | 704 "can_be_recommended": true, |
| 516 "test_policy": { "BlockThirdPartyCookies": true }, | 705 "test_policy": { "BlockThirdPartyCookies": true }, |
| 517 "indicator_tests": [ | |
| 518 { "policy": { "BlockThirdPartyCookies": true }}], | |
| 519 "settings_pages": ["chrome://settings-frame/content"], | 706 "settings_pages": ["chrome://settings-frame/content"], |
| 520 "os": ["win", "linux", "mac", "chromeos"], | 707 "pref_mappings": [ |
| 708 { "pref": "profile.block_third_party_cookies", |
| 709 "indicator_tests": [ |
| 710 { "policy": { "BlockThirdPartyCookies": true } } |
| 711 ] |
| 712 } |
| 713 ], |
| 521 | 714 |
| 522 "note": "TODO(joaodasilva): The banner is out of place. http://crbug.com/777
91" | 715 "note": "TODO(joaodasilva): The banner is out of place. http://crbug.com/777
91" |
| 523 }, | 716 }, |
| 524 | 717 |
| 525 "DefaultSearchProviderEnabled": { | 718 "DefaultSearchProviderEnabled": { |
| 526 "pref": "default_search_provider.enabled", | 719 "os": ["win", "linux", "mac", "chromeos"], |
| 527 "test_policy": { "DefaultSearchProviderEnabled": false }, | 720 "test_policy": { "DefaultSearchProviderEnabled": false }, |
| 528 "settings_pages": [], | 721 "settings_pages": [], |
| 529 "os": ["win", "linux", "mac", "chromeos"], | 722 "pref_mappings": [ |
| 723 { "pref": "default_search_provider.enabled" } |
| 724 ], |
| 530 | 725 |
| 531 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" | 726 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" |
| 532 }, | 727 }, |
| 533 | 728 |
| 534 "DefaultSearchProviderName": { | 729 "DefaultSearchProviderName": { |
| 535 "pref": "default_search_provider.name", | 730 "os": ["win", "linux", "mac", "chromeos"], |
| 536 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderName": "google.com" }, | 731 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderName": "google.com" }, |
| 537 "settings_pages": [], | 732 "settings_pages": [], |
| 538 "os": ["win", "linux", "mac", "chromeos"] | 733 "pref_mappings": [ |
| 734 { "pref": "default_search_provider.name" } |
| 735 ] |
| 539 }, | 736 }, |
| 540 | 737 |
| 541 "DefaultSearchProviderKeyword": { | 738 "DefaultSearchProviderKeyword": { |
| 542 "pref": "default_search_provider.keyword", | 739 "os": ["win", "linux", "mac", "chromeos"], |
| 543 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderKeyword": "google" }, | 740 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderKeyword": "google" }, |
| 544 "settings_pages": [], | 741 "settings_pages": [], |
| 545 "os": ["win", "linux", "mac", "chromeos"] | 742 "pref_mappings": [ |
| 743 { "pref": "default_search_provider.keyword" } |
| 744 ] |
| 546 }, | 745 }, |
| 547 | 746 |
| 548 "DefaultSearchProviderSearchURL": { | 747 "DefaultSearchProviderSearchURL": { |
| 549 "pref": "default_search_provider.search_url", | 748 "os": ["win", "linux", "mac", "chromeos"], |
| 550 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}" }, | 749 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}" }, |
| 551 "settings_pages": [], | 750 "settings_pages": [], |
| 552 "os": ["win", "linux", "mac", "chromeos"], | 751 "pref_mappings": [ |
| 752 { "pref": "default_search_provider.search_url" } |
| 753 ], |
| 553 | 754 |
| 554 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" | 755 "note": "TODO(joaodasilva): Should be chrome://settings-frame. http://crbug.
com/97749" |
| 555 }, | 756 }, |
| 556 | 757 |
| 557 "DefaultSearchProviderSuggestURL": { | 758 "DefaultSearchProviderSuggestURL": { |
| 558 "pref": "default_search_provider.suggest_url", | 759 "os": ["win", "linux", "mac", "chromeos"], |
| 559 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderSuggestURL": "http://www.google.com/sugge
st?q={searchTerms}" }, | 760 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderSuggestURL": "http://www.google.com/sugge
st?q={searchTerms}" }, |
| 560 "settings_pages": [], | 761 "settings_pages": [], |
| 561 "os": ["win", "linux", "mac", "chromeos"] | 762 "pref_mappings": [ |
| 763 { "pref": "default_search_provider.suggest_url" } |
| 764 ] |
| 562 }, | 765 }, |
| 563 | 766 |
| 564 "DefaultSearchProviderInstantURL": { | 767 "DefaultSearchProviderInstantURL": { |
| 565 "pref": "default_search_provider.instant_url", | 768 "os": ["win", "linux", "mac", "chromeos"], |
| 566 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderInstantURL": "http://www.google.com/insta
nt?q={searchTerms}" }, | 769 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderInstantURL": "http://www.google.com/insta
nt?q={searchTerms}" }, |
| 567 "settings_pages": [], | 770 "settings_pages": [], |
| 568 "os": ["win", "linux", "mac", "chromeos"] | 771 "pref_mappings": [ |
| 772 { "pref": "default_search_provider.instant_url" } |
| 773 ] |
| 569 }, | 774 }, |
| 570 | 775 |
| 571 "DefaultSearchProviderIconURL": { | 776 "DefaultSearchProviderIconURL": { |
| 572 "pref": "default_search_provider.icon_url", | 777 "os": ["win", "linux", "mac", "chromeos"], |
| 573 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.
ico" }, | 778 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.
ico" }, |
| 574 "settings_pages": [], | 779 "settings_pages": [], |
| 575 "os": ["win", "linux", "mac", "chromeos"] | 780 "pref_mappings": [ |
| 781 { "pref": "default_search_provider.icon_url" } |
| 782 ] |
| 576 }, | 783 }, |
| 577 | 784 |
| 578 "DefaultSearchProviderEncodings": { | 785 "DefaultSearchProviderEncodings": { |
| 579 "pref": "default_search_provider.encodings", | 786 "os": ["win", "linux", "mac", "chromeos"], |
| 580 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] }, | 787 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] }, |
| 581 "settings_pages": [], | 788 "settings_pages": [], |
| 582 "os": ["win", "linux", "mac", "chromeos"] | 789 "pref_mappings": [ |
| 790 { "pref": "default_search_provider.encodings" } |
| 791 ] |
| 583 }, | 792 }, |
| 584 | 793 |
| 585 "DefaultSearchProviderAlternateURLs": { | 794 "DefaultSearchProviderAlternateURLs": { |
| 586 "pref": "default_search_provider.alternate_urls", | 795 "os": ["win", "linux", "mac", "chromeos"], |
| 587 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/#
q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] }, | 796 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q
={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/#
q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] }, |
| 588 "settings_pages": [], | 797 "settings_pages": [], |
| 589 "os": ["win", "linux", "mac", "chromeos"] | 798 "pref_mappings": [ |
| 799 { "pref": "default_search_provider.alternate_urls" } |
| 800 ] |
| 590 }, | 801 }, |
| 591 | 802 |
| 592 "DefaultCookiesSetting": { | 803 "DefaultCookiesSetting": { |
| 593 "pref": "profile.managed_default_content_settings.cookies", | 804 "os": ["win", "linux", "mac", "chromeos"], |
| 594 "test_policy": { "DefaultCookiesSetting": 2 }, | 805 "test_policy": { "DefaultCookiesSetting": 2 }, |
| 595 "indicator_selector": "[content-setting=cookies]", | |
| 596 "indicator_tests": [ | |
| 597 { "policy": { "DefaultCookiesSetting": 1 }, "value": "allow"}, | |
| 598 { "policy": { "DefaultCookiesSetting": 2 }, "value": "block"}, | |
| 599 { "policy": { "DefaultCookiesSetting": 4 }, "value": "session"}], | |
| 600 "settings_pages": ["chrome://settings-frame/content"], | 806 "settings_pages": ["chrome://settings-frame/content"], |
| 601 "os": ["win", "linux", "mac", "chromeos"], | 807 "pref_mappings": [ |
| 808 { "pref": "profile.managed_default_content_settings.cookies", |
| 809 "indicator_selector": "[content-setting=cookies]", |
| 810 "indicator_tests": [ |
| 811 { "policy": { "DefaultCookiesSetting": 1 }, |
| 812 "value": "allow"}, |
| 813 { "policy": { "DefaultCookiesSetting": 2 }, |
| 814 "value": "block"}, |
| 815 { "policy": { "DefaultCookiesSetting": 4 }, |
| 816 "value": "session"} |
| 817 ] |
| 818 } |
| 819 ], |
| 602 | 820 |
| 603 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 821 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 604 }, | 822 }, |
| 605 | 823 |
| 606 "DefaultImagesSetting": { | 824 "DefaultImagesSetting": { |
| 607 "pref": "profile.managed_default_content_settings.images", | 825 "os": ["win", "linux", "mac", "chromeos"], |
| 608 "test_policy": { "DefaultImagesSetting": 2 }, | 826 "test_policy": { "DefaultImagesSetting": 2 }, |
| 609 "indicator_selector": "[content-setting=images]", | |
| 610 "indicator_tests": [ | |
| 611 { "policy": { "DefaultImagesSetting": 1 }, "value": "allow"}, | |
| 612 { "policy": { "DefaultImagesSetting": 2 }, "value": "block"}], | |
| 613 "settings_pages": ["chrome://settings-frame/content"], | 827 "settings_pages": ["chrome://settings-frame/content"], |
| 614 "os": ["win", "linux", "mac", "chromeos"], | 828 "pref_mappings": [ |
| 829 { "pref": "profile.managed_default_content_settings.images", |
| 830 "indicator_selector": "[content-setting=images]", |
| 831 "indicator_tests": [ |
| 832 { "policy": { "DefaultImagesSetting": 1 }, |
| 833 "value": "allow"}, |
| 834 { "policy": { "DefaultImagesSetting": 2 }, |
| 835 "value": "block"} |
| 836 ] |
| 837 } |
| 838 ], |
| 615 | 839 |
| 616 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 840 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 617 }, | 841 }, |
| 618 | 842 |
| 619 "DefaultJavaScriptSetting": { | 843 "DefaultJavaScriptSetting": { |
| 620 "pref": "profile.managed_default_content_settings.javascript", | 844 "os": ["win", "linux", "mac", "chromeos"], |
| 621 "test_policy": { "DefaultJavaScriptSetting": 2 }, | 845 "test_policy": { "DefaultJavaScriptSetting": 2 }, |
| 622 "indicator_selector": "[content-setting=javascript]", | |
| 623 "indicator_tests": [ | |
| 624 { "policy": { "DefaultJavaScriptSetting": 1 }, "value": "allow"}, | |
| 625 { "policy": { "DefaultJavaScriptSetting": 2 }, "value": "block"}], | |
| 626 "settings_pages": ["chrome://settings-frame/content"], | 846 "settings_pages": ["chrome://settings-frame/content"], |
| 627 "os": ["win", "linux", "mac", "chromeos"], | 847 "pref_mappings": [ |
| 848 { "pref": "profile.managed_default_content_settings.javascript", |
| 849 "indicator_selector": "[content-setting=javascript]", |
| 850 "indicator_tests": [ |
| 851 { "policy": { "DefaultJavaScriptSetting": 1 }, |
| 852 "value": "allow"}, |
| 853 { "policy": { "DefaultJavaScriptSetting": 2 }, |
| 854 "value": "block"} |
| 855 ] |
| 856 } |
| 857 ], |
| 628 | 858 |
| 629 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 859 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 630 }, | 860 }, |
| 631 | 861 |
| 632 "DefaultPluginsSetting": { | 862 "DefaultPluginsSetting": { |
| 633 "pref": "profile.managed_default_content_settings.plugins", | 863 "os": ["win", "linux", "mac", "chromeos"], |
| 634 "test_policy": { "DefaultPluginsSetting": 2 }, | 864 "test_policy": { "DefaultPluginsSetting": 2 }, |
| 635 "indicator_selector": "[content-setting=plugins]", | |
| 636 "indicator_tests": [ | |
| 637 { "policy": { "DefaultPluginsSetting": 1 }, "value": "allow"}, | |
| 638 { "policy": { "DefaultPluginsSetting": 2 }, "value": "block"}, | |
| 639 { "policy": { "DefaultPluginsSetting": 3 }, "value": "ask"}], | |
| 640 "settings_pages": ["chrome://settings-frame/content"], | 865 "settings_pages": ["chrome://settings-frame/content"], |
| 641 "os": ["win", "linux", "mac", "chromeos"], | 866 "pref_mappings": [ |
| 867 { "pref": "profile.managed_default_content_settings.plugins", |
| 868 "indicator_selector": "[content-setting=plugins]", |
| 869 "indicator_tests": [ |
| 870 { "policy": { "DefaultPluginsSetting": 1 }, |
| 871 "value": "allow"}, |
| 872 { "policy": { "DefaultPluginsSetting": 2 }, |
| 873 "value": "block"}, |
| 874 { "policy": { "DefaultPluginsSetting": 3 }, |
| 875 "value": "ask"} |
| 876 ] |
| 877 } |
| 878 ], |
| 642 | 879 |
| 643 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 880 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 644 }, | 881 }, |
| 645 | 882 |
| 646 "DefaultPopupsSetting": { | 883 "DefaultPopupsSetting": { |
| 647 "pref": "profile.managed_default_content_settings.popups", | 884 "os": ["win", "linux", "mac", "chromeos"], |
| 648 "test_policy": { "DefaultPopupsSetting": 2 }, | 885 "test_policy": { "DefaultPopupsSetting": 2 }, |
| 649 "indicator_selector": "[content-setting=popups]", | |
| 650 "indicator_tests": [ | |
| 651 { "policy": { "DefaultPopupsSetting": 1 }, "value": "allow"}, | |
| 652 { "policy": { "DefaultPopupsSetting": 2 }, "value": "block"}], | |
| 653 "settings_pages": ["chrome://settings-frame/content"], | 886 "settings_pages": ["chrome://settings-frame/content"], |
| 654 "os": ["win", "linux", "mac", "chromeos"], | 887 "pref_mappings": [ |
| 888 { "pref": "profile.managed_default_content_settings.popups", |
| 889 "indicator_selector": "[content-setting=popups]", |
| 890 "indicator_tests": [ |
| 891 { "policy": { "DefaultPopupsSetting": 1 }, |
| 892 "value": "allow"}, |
| 893 { "policy": { "DefaultPopupsSetting": 2 }, |
| 894 "value": "block"} |
| 895 ] |
| 896 } |
| 897 ], |
| 655 | 898 |
| 656 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 899 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 657 }, | 900 }, |
| 658 | 901 |
| 659 "DefaultNotificationsSetting": { | 902 "DefaultNotificationsSetting": { |
| 660 "pref": "profile.managed_default_content_settings.notifications", | 903 "os": ["win", "linux", "mac", "chromeos"], |
| 661 "test_policy": { "DefaultNotificationsSetting": 2 }, | 904 "test_policy": { "DefaultNotificationsSetting": 2 }, |
| 662 "indicator_selector": "[content-setting=notifications]", | |
| 663 "indicator_tests": [ | |
| 664 { "policy": { "DefaultNotificationsSetting": 1 }, "value": "allow"}, | |
| 665 { "policy": { "DefaultNotificationsSetting": 2 }, "value": "block"}, | |
| 666 { "policy": { "DefaultNotificationsSetting": 3 }, "value": "ask"}], | |
| 667 "settings_pages": ["chrome://settings-frame/content"], | 905 "settings_pages": ["chrome://settings-frame/content"], |
| 668 "os": ["win", "linux", "mac", "chromeos"], | 906 "pref_mappings": [ |
| 907 { "pref": "profile.managed_default_content_settings.notifications", |
| 908 "indicator_selector": "[content-setting=notifications]", |
| 909 "indicator_tests": [ |
| 910 { "policy": { "DefaultNotificationsSetting": 1 }, |
| 911 "value": "allow"}, |
| 912 { "policy": { "DefaultNotificationsSetting": 2 }, |
| 913 "value": "block"}, |
| 914 { "policy": { "DefaultNotificationsSetting": 3 }, |
| 915 "value": "ask"} |
| 916 ] |
| 917 } |
| 918 ], |
| 669 | 919 |
| 670 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 920 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 671 }, | 921 }, |
| 672 | 922 |
| 673 "DefaultGeolocationSetting": { | 923 "DefaultGeolocationSetting": { |
| 674 "pref": "profile.managed_default_content_settings.geolocation", | 924 "os": ["win", "linux", "mac", "chromeos"], |
| 675 "test_policy": { "DefaultGeolocationSetting": 2 }, | 925 "test_policy": { "DefaultGeolocationSetting": 2 }, |
| 676 "indicator_selector": "[content-setting=location]", | |
| 677 "indicator_tests": [ | |
| 678 { "policy": { "DefaultGeolocationSetting": 1 }, "value": "allow"}, | |
| 679 { "policy": { "DefaultGeolocationSetting": 2 }, "value": "block"}, | |
| 680 { "policy": { "DefaultGeolocationSetting": 3 }, "value": "ask"}], | |
| 681 "settings_pages": ["chrome://settings-frame/content"], | 926 "settings_pages": ["chrome://settings-frame/content"], |
| 682 "os": ["win", "linux", "mac", "chromeos"], | 927 "pref_mappings": [ |
| 928 { "pref": "profile.managed_default_content_settings.geolocation", |
| 929 "indicator_selector": "[content-setting=location]", |
| 930 "indicator_tests": [ |
| 931 { "policy": { "DefaultGeolocationSetting": 1 }, |
| 932 "value": "allow"}, |
| 933 { "policy": { "DefaultGeolocationSetting": 2 }, |
| 934 "value": "block"}, |
| 935 { "policy": { "DefaultGeolocationSetting": 3 }, |
| 936 "value": "ask"} |
| 937 ] |
| 938 } |
| 939 ], |
| 683 | 940 |
| 684 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 941 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 685 }, | 942 }, |
| 686 | 943 |
| 687 "DefaultMediaStreamSetting": { | 944 "DefaultMediaStreamSetting": { |
| 688 "pref": "profile.managed_default_content_settings.media_stream", | 945 "os": ["win", "linux", "mac", "chromeos"], |
| 689 "test_policy": { "DefaultMediaStreamSetting": 2 }, | 946 "test_policy": { "DefaultMediaStreamSetting": 2 }, |
| 690 "indicator_selector": "[content-setting=media-stream]", | |
| 691 "indicator_tests": [ | |
| 692 { "policy": { "DefaultMediaStreamSetting": 2 }, "value": "block"}, | |
| 693 { "policy": { "DefaultMediaStreamSetting": 3 }, "value": "ask"}], | |
| 694 "settings_pages": ["chrome://settings-frame/content"], | 947 "settings_pages": ["chrome://settings-frame/content"], |
| 695 "os": ["win", "linux", "mac", "chromeos"], | 948 "pref_mappings": [ |
| 949 { "pref": "profile.managed_default_content_settings.media_stream", |
| 950 "indicator_selector": "[content-setting=media-stream]", |
| 951 "indicator_tests": [ |
| 952 { "policy": { "DefaultMediaStreamSetting": 2 }, |
| 953 "value": "block" |
| 954 }, |
| 955 { "policy": { "DefaultMediaStreamSetting": 3 }, |
| 956 "value": "ask" |
| 957 } |
| 958 ] |
| 959 } |
| 960 ], |
| 696 | 961 |
| 697 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 962 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 698 }, | 963 }, |
| 699 | 964 |
| 700 "AutoSelectCertificateForUrls": { | 965 "AutoSelectCertificateForUrls": { |
| 701 "pref": "profile.managed_auto_select_certificate_for_urls", | 966 "os": ["win", "linux", "mac", "chromeos"], |
| 702 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp
le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] }, | 967 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp
le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] }, |
| 703 "settings_pages": [], | 968 "settings_pages": [], |
| 704 "os": ["win", "linux", "mac", "chromeos"], | 969 "pref_mappings": [ |
| 970 { "pref": "profile.managed_auto_select_certificate_for_urls" } |
| 971 ], |
| 705 | 972 |
| 706 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 973 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 707 }, | 974 }, |
| 708 | 975 |
| 709 "CookiesAllowedForUrls": { | 976 "CookiesAllowedForUrls": { |
| 710 "pref": "profile.managed_cookies_allowed_for_urls", | 977 "os": ["win", "linux", "mac", "chromeos"], |
| 711 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] }, | 978 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] }, |
| 712 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=cookies]').click();", | 979 "settings_pages": [], |
| 713 "indicator_selector": "[content-exception=cookies]", | 980 "pref_mappings": [ |
| 714 "indicator_tests": [ | 981 { "pref": "profile.managed_cookies_allowed_for_urls", |
| 715 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] }}], | 982 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=cookies]').click();", |
| 716 "settings_pages": [], | 983 "indicator_selector": "[content-exception=cookies]", |
| 717 "os": ["win", "linux", "mac", "chromeos"], | 984 "indicator_tests": [ |
| 985 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } } |
| 986 ] |
| 987 } |
| 988 ], |
| 718 | 989 |
| 719 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 990 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 720 }, | 991 }, |
| 721 | 992 |
| 722 "CookiesBlockedForUrls": { | 993 "CookiesBlockedForUrls": { |
| 723 "pref": "profile.managed_cookies_blocked_for_urls", | 994 "os": ["win", "linux", "mac", "chromeos"], |
| 724 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] }, | 995 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] }, |
| 725 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=cookies]').click();", | 996 "settings_pages": [], |
| 726 "indicator_selector": "[content-exception=cookies]", | 997 "pref_mappings": [ |
| 727 "indicator_tests": [ | 998 { "pref": "profile.managed_cookies_blocked_for_urls", |
| 728 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] }}], | 999 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=cookies]').click();", |
| 729 "settings_pages": [], | 1000 "indicator_selector": "[content-exception=cookies]", |
| 730 "os": ["win", "linux", "mac", "chromeos"], | 1001 "indicator_tests": [ |
| 1002 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } } |
| 1003 ] |
| 1004 } |
| 1005 ], |
| 731 | 1006 |
| 732 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1007 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 733 }, | 1008 }, |
| 734 | 1009 |
| 735 "CookiesSessionOnlyForUrls": { | 1010 "CookiesSessionOnlyForUrls": { |
| 736 "pref": "profile.managed_cookies_sessiononly_for_urls", | 1011 "os": ["win", "linux", "mac", "chromeos"], |
| 737 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] }, | 1012 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] }, |
| 738 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=cookies]').click();", | 1013 "settings_pages": [], |
| 739 "indicator_selector": "[content-exception=cookies]", | 1014 "pref_mappings": [ |
| 740 "indicator_tests": [ | 1015 { "pref": "profile.managed_cookies_sessiononly_for_urls", |
| 741 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] }}], | 1016 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=cookies]').click();", |
| 742 "settings_pages": [], | 1017 "indicator_selector": "[content-exception=cookies]", |
| 743 "os": ["win", "linux", "mac", "chromeos"], | 1018 "indicator_tests": [ |
| 1019 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } } |
| 1020 ] |
| 1021 } |
| 1022 ], |
| 744 | 1023 |
| 745 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1024 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 746 }, | 1025 }, |
| 747 | 1026 |
| 748 "ImagesAllowedForUrls": { | 1027 "ImagesAllowedForUrls": { |
| 749 "pref": "profile.managed_images_allowed_for_urls", | 1028 "os": ["win", "linux", "mac", "chromeos"], |
| 750 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] }, | 1029 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] }, |
| 751 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=images]').click();", | 1030 "settings_pages": [], |
| 752 "indicator_selector": "[content-exception=images]", | 1031 "pref_mappings": [ |
| 753 "indicator_tests": [ | 1032 { "pref": "profile.managed_images_allowed_for_urls", |
| 754 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] }}], | 1033 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=images]').click();", |
| 755 "settings_pages": [], | 1034 "indicator_selector": "[content-exception=images]", |
| 756 "os": ["win", "linux", "mac", "chromeos"], | 1035 "indicator_tests": [ |
| 1036 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } } |
| 1037 ] |
| 1038 } |
| 1039 ], |
| 757 | 1040 |
| 758 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1041 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 759 }, | 1042 }, |
| 760 | 1043 |
| 761 "ImagesBlockedForUrls": { | 1044 "ImagesBlockedForUrls": { |
| 762 "pref": "profile.managed_images_blocked_for_urls", | 1045 "os": ["win", "linux", "mac", "chromeos"], |
| 763 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] }, | 1046 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] }, |
| 764 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=images]').click();", | 1047 "settings_pages": [], |
| 765 "indicator_selector": "[content-exception=images]", | 1048 "pref_mappings": [ |
| 766 "indicator_tests": [ | 1049 { "pref": "profile.managed_images_blocked_for_urls", |
| 767 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] }}], | 1050 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=images]').click();", |
| 768 "settings_pages": [], | 1051 "indicator_selector": "[content-exception=images]", |
| 769 "os": ["win", "linux", "mac", "chromeos"], | 1052 "indicator_tests": [ |
| 1053 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } } |
| 1054 ] |
| 1055 } |
| 1056 ], |
| 770 | 1057 |
| 771 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1058 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 772 }, | 1059 }, |
| 773 | 1060 |
| 774 "JavaScriptAllowedForUrls": { | 1061 "JavaScriptAllowedForUrls": { |
| 775 "pref": "profile.managed_javascript_allowed_for_urls", | 1062 "os": ["win", "linux", "mac", "chromeos"], |
| 776 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] }, | 1063 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] }, |
| 777 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=javascript]').click();", | 1064 "settings_pages": [], |
| 778 "indicator_selector": "[content-exception=javascript]", | 1065 "pref_mappings": [ |
| 779 "indicator_tests": [ | 1066 { "pref": "profile.managed_javascript_allowed_for_urls", |
| 780 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] }}], | 1067 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=javascript]').click();", |
| 781 "settings_pages": [], | 1068 "indicator_selector": "[content-exception=javascript]", |
| 782 "os": ["win", "linux", "mac", "chromeos"], | 1069 "indicator_tests": [ |
| 1070 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } } |
| 1071 ] |
| 1072 } |
| 1073 ], |
| 783 | 1074 |
| 784 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1075 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 785 }, | 1076 }, |
| 786 | 1077 |
| 787 "JavaScriptBlockedForUrls": { | 1078 "JavaScriptBlockedForUrls": { |
| 788 "pref": "profile.managed_javascript_blocked_for_urls", | 1079 "os": ["win", "linux", "mac", "chromeos"], |
| 789 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] }, | 1080 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] }, |
| 790 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=javascript]').click();", | 1081 "settings_pages": [], |
| 791 "indicator_selector": "[content-exception=javascript]", | 1082 "pref_mappings": [ |
| 792 "indicator_tests": [ | 1083 { "pref": "profile.managed_javascript_blocked_for_urls", |
| 793 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] }}], | 1084 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=javascript]').click();", |
| 794 "settings_pages": [], | 1085 "indicator_selector": "[content-exception=javascript]", |
| 795 "os": ["win", "linux", "mac", "chromeos"], | 1086 "indicator_tests": [ |
| 1087 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } } |
| 1088 ] |
| 1089 } |
| 1090 ], |
| 796 | 1091 |
| 797 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1092 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 798 }, | 1093 }, |
| 799 | 1094 |
| 800 "PluginsAllowedForUrls": { | 1095 "PluginsAllowedForUrls": { |
| 801 "pref": "profile.managed_plugins_allowed_for_urls", | 1096 "os": ["win", "linux", "mac", "chromeos"], |
| 802 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, | 1097 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }, |
| 803 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=plugins]').click();", | 1098 "settings_pages": [], |
| 804 "indicator_selector": "[content-exception=plugins]", | 1099 "pref_mappings": [ |
| 805 "indicator_tests": [ | 1100 { "pref": "profile.managed_plugins_allowed_for_urls", |
| 806 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] }}], | 1101 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=plugins]').click();", |
| 807 "settings_pages": [], | 1102 "indicator_selector": "[content-exception=plugins]", |
| 808 "os": ["win", "linux", "mac", "chromeos"], | 1103 "indicator_tests": [ |
| 1104 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } } |
| 1105 ] |
| 1106 } |
| 1107 ], |
| 809 | 1108 |
| 810 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1109 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 811 }, | 1110 }, |
| 812 | 1111 |
| 813 "PluginsBlockedForUrls": { | 1112 "PluginsBlockedForUrls": { |
| 814 "pref": "profile.managed_plugins_blocked_for_urls", | 1113 "os": ["win", "linux", "mac", "chromeos"], |
| 815 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] }, | 1114 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] }, |
| 816 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=plugins]').click();", | 1115 "settings_pages": [], |
| 817 "indicator_selector": "[content-exception=plugins]", | 1116 "pref_mappings": [ |
| 818 "indicator_tests": [ | 1117 { "pref": "profile.managed_plugins_blocked_for_urls", |
| 819 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] }}], | 1118 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=plugins]').click();", |
| 820 "settings_pages": [], | 1119 "indicator_selector": "[content-exception=plugins]", |
| 821 "os": ["win", "linux", "mac", "chromeos"], | 1120 "indicator_tests": [ |
| 1121 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } } |
| 1122 ] |
| 1123 } |
| 1124 ], |
| 822 | 1125 |
| 823 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1126 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 824 }, | 1127 }, |
| 825 | 1128 |
| 826 "PopupsAllowedForUrls": { | 1129 "PopupsAllowedForUrls": { |
| 827 "pref": "profile.managed_popups_allowed_for_urls", | 1130 "os": ["win", "linux", "mac", "chromeos"], |
| 828 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] }, | 1131 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] }, |
| 829 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=popups]').click();", | 1132 "settings_pages": [], |
| 830 "indicator_selector": "[content-exception=popups]", | 1133 "pref_mappings": [ |
| 831 "indicator_tests": [ | 1134 { "pref": "profile.managed_popups_allowed_for_urls", |
| 832 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] }}], | 1135 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=popups]').click();", |
| 833 "settings_pages": [], | 1136 "indicator_selector": "[content-exception=popups]", |
| 834 "os": ["win", "linux", "mac", "chromeos"], | 1137 "indicator_tests": [ |
| 1138 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } } |
| 1139 ] |
| 1140 } |
| 1141 ], |
| 835 | 1142 |
| 836 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1143 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 837 }, | 1144 }, |
| 838 | 1145 |
| 839 "PopupsBlockedForUrls": { | 1146 "PopupsBlockedForUrls": { |
| 840 "pref": "profile.managed_popups_blocked_for_urls", | 1147 "os": ["win", "linux", "mac", "chromeos"], |
| 841 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] }, | 1148 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] }, |
| 842 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=popups]').click();", | 1149 "settings_pages": [], |
| 843 "indicator_selector": "[content-exception=popups]", | 1150 "pref_mappings": [ |
| 844 "indicator_tests": [ | 1151 { "pref": "profile.managed_popups_blocked_for_urls", |
| 845 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] }}], | 1152 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=popups]').click();", |
| 846 "settings_pages": [], | 1153 "indicator_selector": "[content-exception=popups]", |
| 847 "os": ["win", "linux", "mac", "chromeos"], | 1154 "indicator_tests": [ |
| 1155 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } } |
| 1156 ] |
| 1157 } |
| 1158 ], |
| 848 | 1159 |
| 849 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1160 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 850 }, | 1161 }, |
| 851 | 1162 |
| 852 "NotificationsAllowedForUrls": { | 1163 "NotificationsAllowedForUrls": { |
| 853 "pref": "profile.managed_notifications_allowed_for_urls", | 1164 "os": ["win", "linux", "mac", "chromeos"], |
| 854 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] }, | 1165 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] }, |
| 855 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=notifications]').click();", | 1166 "settings_pages": [], |
| 856 "indicator_selector": "[content-exception=notifications]", | 1167 "pref_mappings": [ |
| 857 "indicator_tests": [ | 1168 { "pref": "profile.managed_notifications_allowed_for_urls", |
| 858 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] }}], | 1169 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=notifications]').click();", |
| 859 "settings_pages": [], | 1170 "indicator_selector": "[content-exception=notifications]", |
| 860 "os": ["win", "linux", "mac", "chromeos"], | 1171 "indicator_tests": [ |
| 1172 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } } |
| 1173 ] |
| 1174 } |
| 1175 ], |
| 861 | 1176 |
| 862 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1177 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 863 }, | 1178 }, |
| 864 | 1179 |
| 865 "NotificationsBlockedForUrls": { | 1180 "NotificationsBlockedForUrls": { |
| 866 "pref": "profile.managed_notifications_blocked_for_urls", | 1181 "os": ["win", "linux", "mac", "chromeos"], |
| 867 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] }, | 1182 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] }, |
| 868 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-b
utton[contentType=notifications]').click();", | 1183 "settings_pages": [], |
| 869 "indicator_selector": "[content-exception=notifications]", | 1184 "pref_mappings": [ |
| 870 "indicator_tests": [ | 1185 { "pref": "profile.managed_notifications_blocked_for_urls", |
| 871 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] }}], | 1186 "indicator_test_setup_js": "document.querySelector('button.exceptions-li
st-button[contentType=notifications]').click();", |
| 872 "settings_pages": [], | 1187 "indicator_selector": "[content-exception=notifications]", |
| 873 "os": ["win", "linux", "mac", "chromeos"], | 1188 "indicator_tests": [ |
| 1189 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } } |
| 1190 ] |
| 1191 } |
| 1192 ], |
| 874 | 1193 |
| 875 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." | 1194 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.
com/106682 is fixed." |
| 876 }, | 1195 }, |
| 877 | 1196 |
| 878 "Disable3DAPIs": { | 1197 "Disable3DAPIs": { |
| 879 "pref": "disable_3d_apis", | 1198 "os": ["win", "linux", "mac", "chromeos"], |
| 880 "test_policy": { "Disable3DAPIs": true }, | 1199 "test_policy": { "Disable3DAPIs": true }, |
| 881 "settings_pages": [], | 1200 "settings_pages": [], |
| 882 "os": ["win", "linux", "mac", "chromeos"] | 1201 "pref_mappings": [ |
| 1202 { "pref": "disable_3d_apis" } |
| 1203 ] |
| 883 }, | 1204 }, |
| 884 | 1205 |
| 885 "InstantEnabled": { | 1206 "InstantEnabled": { |
| 886 "pref": "instant.enabled", | 1207 "os": ["win", "linux", "mac", "chromeos"], |
| 887 "test_policy": { "InstantEnabled": true }, | 1208 "test_policy": { "InstantEnabled": true }, |
| 888 "settings_pages": ["chrome://settings-frame"], | 1209 "settings_pages": ["chrome://settings-frame"], |
| 889 "os": ["win", "linux", "mac", "chromeos"] | 1210 "pref_mappings": [ |
| 1211 { "pref": "instant.enabled" } |
| 1212 ] |
| 890 }, | 1213 }, |
| 891 | 1214 |
| 892 "TranslateEnabled": { | 1215 "TranslateEnabled": { |
| 893 "pref": "translate.enabled", | 1216 "os": ["win", "linux", "mac", "chromeos"], |
| 894 "test_policy": { "TranslateEnabled": false }, | 1217 "test_policy": { "TranslateEnabled": false }, |
| 895 "settings_pages": ["chrome://settings-frame"], | 1218 "settings_pages": ["chrome://settings-frame"], |
| 896 "os": ["win", "linux", "mac", "chromeos"] | 1219 "pref_mappings": [ |
| 1220 { "pref": "translate.enabled" } |
| 1221 ] |
| 897 }, | 1222 }, |
| 898 | 1223 |
| 899 "AllowOutdatedPlugins": { | 1224 "AllowOutdatedPlugins": { |
| 900 "pref": "plugins.allow_outdated", | 1225 "os": ["win", "linux", "mac", "chromeos"], |
| 901 "test_policy": { "AllowOutdatedPlugins": true }, | 1226 "test_policy": { "AllowOutdatedPlugins": true }, |
| 902 "settings_pages": [], | 1227 "settings_pages": [], |
| 903 "os": ["win", "linux", "mac", "chromeos"] | 1228 "pref_mappings": [ |
| 1229 { "pref": "plugins.allow_outdated" } |
| 1230 ] |
| 904 }, | 1231 }, |
| 905 | 1232 |
| 906 "AlwaysAuthorizePlugins": { | 1233 "AlwaysAuthorizePlugins": { |
| 907 "pref": "plugins.always_authorize", | 1234 "os": ["win", "linux", "mac", "chromeos"], |
| 908 "test_policy": { "AlwaysAuthorizePlugins": true }, | 1235 "test_policy": { "AlwaysAuthorizePlugins": true }, |
| 909 "settings_pages": [], | 1236 "settings_pages": [], |
| 910 "os": ["win", "linux", "mac", "chromeos"] | 1237 "pref_mappings": [ |
| 1238 { "pref": "plugins.always_authorize" } |
| 1239 ] |
| 911 }, | 1240 }, |
| 912 | 1241 |
| 913 "BookmarkBarEnabled": { | 1242 "BookmarkBarEnabled": { |
| 914 "pref": "bookmark_bar.show_on_all_tabs", | 1243 "os": ["win", "linux", "mac", "chromeos"], |
| 915 "test_policy": { "BookmarkBarEnabled": true }, | 1244 "test_policy": { "BookmarkBarEnabled": true }, |
| 916 "settings_pages": ["chrome://settings-frame"], | 1245 "settings_pages": ["chrome://settings-frame"], |
| 917 "os": ["win", "linux", "mac", "chromeos"] | 1246 "pref_mappings": [ |
| 1247 { "pref": "bookmark_bar.show_on_all_tabs" } |
| 1248 ] |
| 918 }, | 1249 }, |
| 919 | 1250 |
| 920 "EditBookmarksEnabled": { | 1251 "EditBookmarksEnabled": { |
| 921 "pref": "bookmarks.editing_enabled", | 1252 "os": ["win", "linux", "mac", "chromeos"], |
| 922 "test_policy": { "EditBookmarksEnabled": false }, | 1253 "test_policy": { "EditBookmarksEnabled": false }, |
| 923 "settings_pages": [], | 1254 "settings_pages": [], |
| 924 "os": ["win", "linux", "mac", "chromeos"] | 1255 "pref_mappings": [ |
| 1256 { "pref": "bookmarks.editing_enabled" } |
| 1257 ] |
| 925 }, | 1258 }, |
| 926 | 1259 |
| 927 "AllowFileSelectionDialogs": { | 1260 "AllowFileSelectionDialogs": { |
| 928 "pref": "select_file_dialogs.allowed", | 1261 "os": ["win", "mac", "linux"], |
| 929 "test_policy": { "AllowFileSelectionDialogs": false }, | 1262 "test_policy": { "AllowFileSelectionDialogs": false }, |
| 930 "settings_pages": ["chrome://settings-frame"], | 1263 "settings_pages": ["chrome://settings-frame"], |
| 931 "local_state": true, | 1264 "pref_mappings": [ |
| 932 "os": ["win", "mac", "linux"] | 1265 { "pref": "select_file_dialogs.allowed", |
| 1266 "local_state": true |
| 1267 } |
| 1268 ] |
| 933 }, | 1269 }, |
| 934 | 1270 |
| 935 "ImportBookmarks": { | 1271 "ImportBookmarks": { |
| 936 "pref": "import_bookmarks", | 1272 "os": ["win", "mac", "linux"], |
| 937 "test_policy": { "ImportBookmarks": false }, | 1273 "test_policy": { "ImportBookmarks": false }, |
| 938 "settings_pages": [], | 1274 "settings_pages": [], |
| 939 "os": ["win", "mac", "linux"] | 1275 "pref_mappings": [ |
| 1276 { "pref": "import_bookmarks" } |
| 1277 ] |
| 940 }, | 1278 }, |
| 941 | 1279 |
| 942 "ImportHistory": { | 1280 "ImportHistory": { |
| 943 "pref": "import_history", | 1281 "os": ["win", "mac", "linux"], |
| 944 "test_policy": { "ImportHistory": false }, | 1282 "test_policy": { "ImportHistory": false }, |
| 945 "settings_pages": [], | 1283 "settings_pages": [], |
| 946 "os": ["win", "mac", "linux"] | 1284 "pref_mappings": [ |
| 1285 { "pref": "import_history" } |
| 1286 ] |
| 947 }, | 1287 }, |
| 948 | 1288 |
| 949 "ImportHomepage": { | 1289 "ImportHomepage": { |
| 950 "pref": "import_home_page", | 1290 "os": ["win", "mac", "linux"], |
| 951 "test_policy": { "ImportHomepage": false }, | 1291 "test_policy": { "ImportHomepage": false }, |
| 952 "settings_pages": [], | 1292 "settings_pages": [], |
| 953 "os": ["win", "mac", "linux"] | 1293 "pref_mappings": [ |
| 1294 { "pref": "import_home_page" } |
| 1295 ] |
| 954 }, | 1296 }, |
| 955 | 1297 |
| 956 "ImportSearchEngine": { | 1298 "ImportSearchEngine": { |
| 957 "pref": "import_search_engine", | 1299 "os": ["win", "mac", "linux"], |
| 958 "test_policy": { "ImportSearchEngine": false }, | 1300 "test_policy": { "ImportSearchEngine": false }, |
| 959 "settings_pages": [], | 1301 "settings_pages": [], |
| 960 "os": ["win", "mac", "linux"] | 1302 "pref_mappings": [ |
| 1303 { "pref": "import_search_engine" } |
| 1304 ] |
| 961 }, | 1305 }, |
| 962 | 1306 |
| 963 "ImportSavedPasswords": { | 1307 "ImportSavedPasswords": { |
| 964 "pref": "import_saved_passwords", | 1308 "os": ["win", "mac", "linux"], |
| 965 "test_policy": { "ImportSavedPasswords": false }, | 1309 "test_policy": { "ImportSavedPasswords": false }, |
| 966 "settings_pages": [], | 1310 "settings_pages": [], |
| 967 "os": ["win", "mac", "linux"] | 1311 "pref_mappings": [ |
| 1312 { "pref": "import_saved_passwords" } |
| 1313 ] |
| 968 }, | 1314 }, |
| 969 | 1315 |
| 970 "MaxConnectionsPerProxy": { | 1316 "MaxConnectionsPerProxy": { |
| 971 "pref": "net.max_connections_per_proxy", | 1317 "os": ["win", "linux", "mac", "chromeos"], |
| 972 "test_policy": { "MaxConnectionsPerProxy": 16 }, | 1318 "test_policy": { "MaxConnectionsPerProxy": 16 }, |
| 973 "settings_pages": [], | 1319 "settings_pages": [], |
| 974 "local_state": true, | 1320 "pref_mappings": [ |
| 975 "os": ["win", "linux", "mac", "chromeos"] | 1321 { "pref": "net.max_connections_per_proxy", |
| 1322 "local_state": true |
| 1323 } |
| 1324 ] |
| 976 }, | 1325 }, |
| 977 | 1326 |
| 978 "HideWebStorePromo": { | 1327 "HideWebStorePromo": { |
| 979 "pref": null, | 1328 "os": [], |
| 980 "test_policy": { "HideWebStorePromo": null }, | 1329 "test_policy": { "HideWebStorePromo": null }, |
| 981 "settings_pages": [], | 1330 "settings_pages": [] |
| 982 "os": [] | |
| 983 }, | 1331 }, |
| 984 | 1332 |
| 985 "URLBlacklist": { | 1333 "URLBlacklist": { |
| 986 "pref": "policy.url_blacklist", | 1334 "os": ["win", "linux", "mac", "chromeos"], |
| 987 "test_policy": { "URLBlacklist": ["google.com"] }, | 1335 "test_policy": { "URLBlacklist": ["google.com"] }, |
| 988 "settings_pages": [], | 1336 "settings_pages": [], |
| 989 "os": ["win", "linux", "mac", "chromeos"] | 1337 "pref_mappings": [ |
| 1338 { "pref": "policy.url_blacklist" } |
| 1339 ] |
| 990 }, | 1340 }, |
| 991 | 1341 |
| 992 "URLWhitelist": { | 1342 "URLWhitelist": { |
| 993 "pref": "policy.url_whitelist", | 1343 "os": ["win", "linux", "mac", "chromeos"], |
| 994 "test_policy": { "URLWhitelist": ["google.com"] }, | 1344 "test_policy": { "URLWhitelist": ["google.com"] }, |
| 995 "settings_pages": [], | 1345 "settings_pages": [], |
| 996 "os": ["win", "linux", "mac", "chromeos"] | 1346 "pref_mappings": [ |
| 1347 { "pref": "policy.url_whitelist" } |
| 1348 ] |
| 997 }, | 1349 }, |
| 998 | 1350 |
| 999 "EnterpriseWebStoreURL": { | 1351 "EnterpriseWebStoreURL": { |
| 1000 "pref": "webstore.enterprise_store_url", | 1352 "os": ["win", "linux", "mac", "chromeos"], |
| 1001 "test_policy": { "EnterpriseWebStoreURL": "http://example.com/webstore" }, | 1353 "test_policy": { "EnterpriseWebStoreURL": "http://example.com/webstore" }, |
| 1002 "settings_pages": [], | 1354 "settings_pages": [], |
| 1003 "os": ["win", "linux", "mac", "chromeos"] | 1355 "pref_mappings": [ |
| 1356 { "pref": "webstore.enterprise_store_url" } |
| 1357 ] |
| 1004 }, | 1358 }, |
| 1005 | 1359 |
| 1006 "EnterpriseWebStoreName": { | 1360 "EnterpriseWebStoreName": { |
| 1007 "pref": "webstore.enterprise_store_name", | 1361 "os": ["win", "linux", "mac", "chromeos"], |
| 1008 "test_policy": { "EnterpriseWebStoreName": "Example Webstore" }, | 1362 "test_policy": { "EnterpriseWebStoreName": "Example Webstore" }, |
| 1009 "settings_pages": [], | 1363 "settings_pages": [], |
| 1010 "os": ["win", "linux", "mac", "chromeos"] | 1364 "pref_mappings": [ |
| 1365 { "pref": "webstore.enterprise_store_name" } |
| 1366 ] |
| 1011 }, | 1367 }, |
| 1012 | 1368 |
| 1013 "EnableMemoryInfo": { | 1369 "EnableMemoryInfo": { |
| 1014 "pref": "enable_memory_info", | 1370 "os": ["win", "linux", "mac", "chromeos"], |
| 1015 "test_policy": { "EnableMemoryInfo": true }, | 1371 "test_policy": { "EnableMemoryInfo": true }, |
| 1016 "settings_pages": [], | 1372 "settings_pages": [], |
| 1017 "os": ["win", "linux", "mac", "chromeos"] | 1373 "pref_mappings": [ |
| 1374 { "pref": "enable_memory_info" } |
| 1375 ] |
| 1018 }, | 1376 }, |
| 1019 | 1377 |
| 1020 "DisablePrintPreview": { | 1378 "DisablePrintPreview": { |
| 1021 "pref": "printing.print_preview_disabled", | 1379 "os": ["win", "mac", "linux"], |
| 1022 "test_policy": { "DisablePrintPreview": false }, | 1380 "test_policy": { "DisablePrintPreview": false }, |
| 1023 "settings_pages": [], | 1381 "settings_pages": [], |
| 1024 "os": ["win", "mac", "linux"] | 1382 "pref_mappings": [ |
| 1383 { "pref": "printing.print_preview_disabled" } |
| 1384 ] |
| 1025 }, | 1385 }, |
| 1026 | 1386 |
| 1027 "BackgroundModeEnabled": { | 1387 "BackgroundModeEnabled": { |
| 1028 "pref": "background_mode.enabled", | 1388 "os": ["win", "linux"], |
| 1029 "test_policy": { "BackgroundModeEnabled": false }, | 1389 "test_policy": { "BackgroundModeEnabled": false }, |
| 1030 "settings_pages": ["chrome://settings-frame"], | 1390 "settings_pages": ["chrome://settings-frame"], |
| 1031 "local_state": true, | 1391 "pref_mappings": [ |
| 1032 "os": ["win", "linux"] | 1392 { "pref": "background_mode.enabled", |
| 1393 "local_state": true |
| 1394 } |
| 1395 ] |
| 1033 }, | 1396 }, |
| 1034 | 1397 |
| 1035 "RestrictSigninToPattern": { | 1398 "RestrictSigninToPattern": { |
| 1036 "pref": "google.services.username_pattern", | 1399 "os": ["win", "mac", "linux"], |
| 1037 "test_policy": { "RestrictSigninToPattern": ".*@google.com" }, | 1400 "test_policy": { "RestrictSigninToPattern": ".*@google.com" }, |
| 1038 "settings_pages": [], | 1401 "settings_pages": [], |
| 1039 "local_state": true, | 1402 "pref_mappings": [ |
| 1040 "os": ["win", "mac", "linux"] | 1403 { "pref": "google.services.username_pattern", |
| 1404 "local_state": true |
| 1405 } |
| 1406 ] |
| 1041 }, | 1407 }, |
| 1042 | 1408 |
| 1043 "DisableSafeBrowsingProceedAnyway": { | 1409 "DisableSafeBrowsingProceedAnyway": { |
| 1044 "pref": "safebrowsing.proceed_anyway_disabled", | 1410 "os": ["win", "linux", "mac", "chromeos"], |
| 1045 "test_policy": { "DisableSafeBrowsingProceedAnyway": true }, | 1411 "test_policy": { "DisableSafeBrowsingProceedAnyway": true }, |
| 1046 "settings_pages": [], | 1412 "settings_pages": [], |
| 1047 "os": ["win", "linux", "mac", "chromeos"] | 1413 "pref_mappings": [ |
| 1414 { "pref": "safebrowsing.proceed_anyway_disabled" } |
| 1415 ] |
| 1048 }, | 1416 }, |
| 1049 | 1417 |
| 1050 "SpellCheckServiceEnabled": { | 1418 "SpellCheckServiceEnabled": { |
| 1051 "pref": "spellcheck.use_spelling_service", | 1419 "os": ["win", "linux", "mac", "chromeos"], |
| 1420 "official_only": true, |
| 1052 "test_policy": { "SpellCheckServiceEnabled": false }, | 1421 "test_policy": { "SpellCheckServiceEnabled": false }, |
| 1053 "settings_pages": ["chrome://settings-frame"], | 1422 "settings_pages": ["chrome://settings-frame"], |
| 1054 "os": ["win", "linux", "mac", "chromeos"], | 1423 "pref_mappings": [ |
| 1055 "official_only": true | 1424 { "pref": "spellcheck.use_spelling_service" } |
| 1425 ] |
| 1056 }, | 1426 }, |
| 1057 | 1427 |
| 1058 "DisableScreenshots": { | 1428 "DisableScreenshots": { |
| 1059 "pref": "disable_screenshots", | 1429 "os": ["win", "linux", "mac", "chromeos"], |
| 1060 "test_policy": { "DisableScreenshots": true }, | 1430 "test_policy": { "DisableScreenshots": true }, |
| 1061 "settings_pages": [], | 1431 "settings_pages": [], |
| 1062 "os": ["win", "linux", "mac", "chromeos"] | 1432 "pref_mappings": [ |
| 1433 { "pref": "disable_screenshots" } |
| 1434 ] |
| 1063 }, | 1435 }, |
| 1064 | 1436 |
| 1065 "----- Chrome OS policies ------------------------------------------------": { | 1437 "----- Chrome OS policies ------------------------------------------------": { |
| 1066 "note": "TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed.
", | 1438 "note": "TODO(frankf): Add prefs for these after crosbug.com/28756 is fixed.
", |
| 1067 "note 2:": "TODO(joaodasilva): that bug is now obsolete and these tests can
be expanded to chromeos." | 1439 "note 2": "TODO(joaodasilva): that bug is now obsolete and these tests can b
e expanded to chromeos." |
| 1068 }, | 1440 }, |
| 1069 | 1441 |
| 1070 "ChromeOsLockOnIdleSuspend": { | 1442 "ChromeOsLockOnIdleSuspend": { |
| 1071 "pref": null, | 1443 "os": ["chromeos"], |
| 1072 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, | 1444 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, |
| 1073 "settings_pages": ["chrome://settings-frame"], | 1445 "settings_pages": ["chrome://settings-frame"] |
| 1074 "os": ["chromeos"] | |
| 1075 }, | 1446 }, |
| 1076 | 1447 |
| 1077 "PolicyRefreshRate": { | 1448 "PolicyRefreshRate": { |
| 1078 "pref": null, | 1449 "os": ["chromeos"], |
| 1079 "test_policy": { "PolicyRefreshRate": 300000 }, | 1450 "test_policy": { "PolicyRefreshRate": 300000 }, |
| 1080 "settings_pages": [], | 1451 "settings_pages": [] |
| 1081 "os": ["chromeos"] | |
| 1082 }, | 1452 }, |
| 1083 | 1453 |
| 1084 "OpenNetworkConfiguration": { | 1454 "OpenNetworkConfiguration": { |
| 1085 "pref": null, | 1455 "os": ["chromeos"], |
| 1086 "test_policy": { "OpenNetworkConfiguration": "" }, | 1456 "test_policy": { "OpenNetworkConfiguration": "" }, |
| 1087 "settings_pages": [], | 1457 "settings_pages": [] |
| 1088 "os": ["chromeos"] | |
| 1089 }, | 1458 }, |
| 1090 | 1459 |
| 1091 "GDataDisabled": { | 1460 "GDataDisabled": { |
| 1092 "pref": null, | 1461 "os": ["chromeos"], |
| 1093 "test_policy": { "GDataDisabled": true }, | 1462 "test_policy": { "GDataDisabled": true }, |
| 1094 "settings_pages": [], | 1463 "settings_pages": [] |
| 1095 "os": ["chromeos"] | |
| 1096 }, | 1464 }, |
| 1097 | 1465 |
| 1098 "GDataDisabledOverCellular": { | 1466 "GDataDisabledOverCellular": { |
| 1099 "pref": null, | 1467 "os": ["chromeos"], |
| 1100 "test_policy": { "GDataDisabledOverCellular": true }, | 1468 "test_policy": { "GDataDisabledOverCellular": true }, |
| 1101 "settings_pages": [], | 1469 "settings_pages": [] |
| 1102 "os": ["chromeos"] | |
| 1103 }, | 1470 }, |
| 1104 | 1471 |
| 1105 "PinnedLauncherApps": { | 1472 "PinnedLauncherApps": { |
| 1106 "pref": null, | 1473 "os": ["chromeos"], |
| 1107 "test_policy": { "PinnedLauncherApps": [] }, | 1474 "test_policy": { "PinnedLauncherApps": [] }, |
| 1108 "settings_pages": [], | 1475 "settings_pages": [] |
| 1109 "os": ["chromeos"] | |
| 1110 }, | 1476 }, |
| 1111 | 1477 |
| 1112 "ExternalStorageDisabled": { | 1478 "ExternalStorageDisabled": { |
| 1113 "pref": null, | 1479 "os": ["chromeos"], |
| 1114 "test_policy": { "ExternalStorageDisabled": true }, | 1480 "test_policy": { "ExternalStorageDisabled": true }, |
| 1115 "settings_pages": [], | 1481 "settings_pages": [] |
| 1116 "os": ["chromeos"] | |
| 1117 }, | 1482 }, |
| 1118 | 1483 |
| 1119 "AudioOutputAllowed": { | 1484 "AudioOutputAllowed": { |
| 1120 "pref": null, | 1485 "os": ["chromeos"], |
| 1121 "test_policy": { "AudioOutputAllowed": true }, | 1486 "test_policy": { "AudioOutputAllowed": true }, |
| 1122 "settings_pages": [], | 1487 "settings_pages": [] |
| 1123 "os": ["chromeos"] | |
| 1124 }, | 1488 }, |
| 1125 | 1489 |
| 1126 "AudioCaptureAllowed": { | 1490 "AudioCaptureAllowed": { |
| 1127 "pref": null, | 1491 "os": ["chromeos"], |
| 1128 "test_policy": { "AudioCaptureAllowed": true }, | 1492 "test_policy": { "AudioCaptureAllowed": true }, |
| 1129 "settings_pages": [], | 1493 "settings_pages": [] |
| 1130 "os": ["chromeos"] | |
| 1131 }, | 1494 }, |
| 1132 | 1495 |
| 1133 "----- Chrome OS device policies ---------------------------------------": {}, | 1496 "----- Chrome OS device policies ---------------------------------------": {}, |
| 1134 | 1497 |
| 1135 "DevicePolicyRefreshRate": { | 1498 "DevicePolicyRefreshRate": { |
| 1136 "pref": null, | 1499 "os": ["chromeos"], |
| 1137 "test_policy": { "DevicePolicyRefreshRate": 300000 }, | 1500 "test_policy": { "DevicePolicyRefreshRate": 300000 }, |
| 1138 "settings_pages": [], | 1501 "settings_pages": [] |
| 1139 "os": ["chromeos"] | |
| 1140 }, | 1502 }, |
| 1141 | 1503 |
| 1142 "ChromeOsReleaseChannel": { | 1504 "ChromeOsReleaseChannel": { |
| 1143 "pref": null, | 1505 "os": ["chromeos"], |
| 1144 "test_policy": { "ChromeOsReleaseChannel": "stable-channel" }, | 1506 "test_policy": { "ChromeOsReleaseChannel": "stable-channel" }, |
| 1145 "settings_pages": [], | 1507 "settings_pages": [] |
| 1146 "os": ["chromeos"] | |
| 1147 }, | 1508 }, |
| 1148 | 1509 |
| 1149 "ChromeOsReleaseChannelDelegated": { | 1510 "ChromeOsReleaseChannelDelegated": { |
| 1150 "pref": null, | 1511 "os": ["chromeos"], |
| 1151 "test_policy": { "ChromeOsReleaseChannelDelegated": false }, | 1512 "test_policy": { "ChromeOsReleaseChannelDelegated": false }, |
| 1152 "settings_pages": [], | 1513 "settings_pages": [] |
| 1153 "os": ["chromeos"] | |
| 1154 }, | 1514 }, |
| 1155 | 1515 |
| 1156 "DeviceOpenNetworkConfiguration": { | 1516 "DeviceOpenNetworkConfiguration": { |
| 1157 "pref": null, | 1517 "os": ["chromeos"], |
| 1158 "test_policy": { "DeviceOpenNetworkConfiguration": "" }, | 1518 "test_policy": { "DeviceOpenNetworkConfiguration": "" }, |
| 1159 "settings_pages": [], | 1519 "settings_pages": [] |
| 1160 "os": ["chromeos"] | |
| 1161 }, | 1520 }, |
| 1162 | 1521 |
| 1163 "ReportDeviceVersionInfo": { | 1522 "ReportDeviceVersionInfo": { |
| 1164 "pref": null, | 1523 "os": ["chromeos"], |
| 1165 "test_policy": { "ReportDeviceVersionInfo": true }, | 1524 "test_policy": { "ReportDeviceVersionInfo": true }, |
| 1166 "settings_pages": [], | 1525 "settings_pages": [] |
| 1167 "os": ["chromeos"] | |
| 1168 }, | 1526 }, |
| 1169 | 1527 |
| 1170 "ReportDeviceActivityTimes": { | 1528 "ReportDeviceActivityTimes": { |
| 1171 "pref": null, | 1529 "os": ["chromeos"], |
| 1172 "test_policy": { "ReportDeviceActivityTimes": true }, | 1530 "test_policy": { "ReportDeviceActivityTimes": true }, |
| 1173 "settings_pages": [], | 1531 "settings_pages": [] |
| 1174 "os": ["chromeos"] | |
| 1175 }, | 1532 }, |
| 1176 | 1533 |
| 1177 "ReportDeviceBootMode": { | 1534 "ReportDeviceBootMode": { |
| 1178 "pref": null, | 1535 "os": ["chromeos"], |
| 1179 "test_policy": { "ReportDeviceBootMode": true }, | 1536 "test_policy": { "ReportDeviceBootMode": true }, |
| 1180 "settings_pages": [], | 1537 "settings_pages": [] |
| 1181 "os": ["chromeos"] | |
| 1182 }, | 1538 }, |
| 1183 | 1539 |
| 1184 "DeviceAllowNewUsers": { | 1540 "DeviceAllowNewUsers": { |
| 1185 "pref": null, | 1541 "os": ["chromeos"], |
| 1186 "test_policy": { "DeviceAllowNewUsers": true }, | 1542 "test_policy": { "DeviceAllowNewUsers": true }, |
| 1187 "settings_pages": [], | 1543 "settings_pages": [] |
| 1188 "os": ["chromeos"] | |
| 1189 }, | 1544 }, |
| 1190 | 1545 |
| 1191 "DeviceUserWhitelist": { | 1546 "DeviceUserWhitelist": { |
| 1192 "pref": null, | 1547 "os": ["chromeos"], |
| 1193 "test_policy": { "DeviceUserWhitelist": [] }, | 1548 "test_policy": { "DeviceUserWhitelist": [] }, |
| 1194 "settings_pages": [], | 1549 "settings_pages": [] |
| 1195 "os": ["chromeos"] | |
| 1196 }, | 1550 }, |
| 1197 | 1551 |
| 1198 "DeviceGuestModeEnabled": { | 1552 "DeviceGuestModeEnabled": { |
| 1199 "pref": null, | 1553 "os": ["chromeos"], |
| 1200 "test_policy": { "DeviceGuestModeEnabled": true }, | 1554 "test_policy": { "DeviceGuestModeEnabled": true }, |
| 1201 "settings_pages": [], | 1555 "settings_pages": [] |
| 1202 "os": ["chromeos"] | |
| 1203 }, | 1556 }, |
| 1204 | 1557 |
| 1205 "DeviceShowUserNamesOnSignin": { | 1558 "DeviceShowUserNamesOnSignin": { |
| 1206 "pref": null, | 1559 "os": ["chromeos"], |
| 1207 "test_policy": { "DeviceShowUserNamesOnSignin": true }, | 1560 "test_policy": { "DeviceShowUserNamesOnSignin": true }, |
| 1208 "settings_pages": [], | 1561 "settings_pages": [] |
| 1209 "os": ["chromeos"] | |
| 1210 }, | 1562 }, |
| 1211 | 1563 |
| 1212 "DeviceDataRoamingEnabled": { | 1564 "DeviceDataRoamingEnabled": { |
| 1213 "pref": null, | 1565 "os": ["chromeos"], |
| 1214 "test_policy": { "DeviceDataRoamingEnabled": true }, | 1566 "test_policy": { "DeviceDataRoamingEnabled": true }, |
| 1215 "settings_pages": [], | 1567 "settings_pages": [] |
| 1216 "os": ["chromeos"] | |
| 1217 }, | 1568 }, |
| 1218 | 1569 |
| 1219 "DeviceMetricsReportingEnabled": { | 1570 "DeviceMetricsReportingEnabled": { |
| 1220 "pref": null, | 1571 "os": ["chromeos"], |
| 1221 "test_policy": { "DeviceMetricsReportingEnabled": true }, | 1572 "test_policy": { "DeviceMetricsReportingEnabled": true }, |
| 1222 "settings_pages": [], | 1573 "settings_pages": [] |
| 1223 "os": ["chromeos"] | |
| 1224 }, | 1574 }, |
| 1225 | 1575 |
| 1226 "DeviceEphemeralUsersEnabled": { | 1576 "DeviceEphemeralUsersEnabled": { |
| 1227 "pref": null, | 1577 "os": ["chromeos"], |
| 1228 "test_policy": { "DeviceEphemeralUsersEnabled": true }, | 1578 "test_policy": { "DeviceEphemeralUsersEnabled": true }, |
| 1229 "settings_pages": [], | 1579 "settings_pages": [] |
| 1230 "os": ["chromeos"] | |
| 1231 }, | 1580 }, |
| 1232 | 1581 |
| 1233 "DeviceIdleLogoutTimeout": { | 1582 "DeviceIdleLogoutTimeout": { |
| 1234 "pref": null, | 1583 "os": ["chromeos"], |
| 1235 "test_policy": { "DeviceIdleLogoutTimeout": 60000 }, | 1584 "test_policy": { "DeviceIdleLogoutTimeout": 60000 }, |
| 1236 "settings_pages": [], | 1585 "settings_pages": [] |
| 1237 "os": ["chromeos"] | |
| 1238 }, | 1586 }, |
| 1239 | 1587 |
| 1240 "DeviceIdleLogoutWarningDuration": { | 1588 "DeviceIdleLogoutWarningDuration": { |
| 1241 "pref": null, | 1589 "os": ["chromeos"], |
| 1242 "test_policy": { "DeviceIdleLogoutWarningDuration": 15000 }, | 1590 "test_policy": { "DeviceIdleLogoutWarningDuration": 15000 }, |
| 1243 "settings_pages": [], | 1591 "settings_pages": [] |
| 1244 "os": ["chromeos"] | |
| 1245 }, | 1592 }, |
| 1246 | 1593 |
| 1247 "DeviceLoginScreenSaverId": { | 1594 "DeviceLoginScreenSaverId": { |
| 1248 "pref": null, | 1595 "os": ["chromeos"], |
| 1249 "test_policy": { "DeviceLoginScreenSaverId": "lcncmkcnkcdbbanbjakcencbaoegdj
lp" }, | 1596 "test_policy": { "DeviceLoginScreenSaverId": "lcncmkcnkcdbbanbjakcencbaoegdj
lp" }, |
| 1250 "settings_pages": [], | 1597 "settings_pages": [] |
| 1251 "os": ["chromeos"] | |
| 1252 }, | 1598 }, |
| 1253 | 1599 |
| 1254 "DeviceLoginScreenSaverTimeout": { | 1600 "DeviceLoginScreenSaverTimeout": { |
| 1255 "pref": null, | 1601 "os": ["chromeos"], |
| 1256 "test_policy": { "DeviceLoginScreenSaverTimeout": 30000 }, | 1602 "test_policy": { "DeviceLoginScreenSaverTimeout": 30000 }, |
| 1257 "settings_pages": [], | 1603 "settings_pages": [] |
| 1258 "os": ["chromeos"] | |
| 1259 }, | 1604 }, |
| 1260 | 1605 |
| 1261 "DeviceStartUpUrls": { | 1606 "DeviceStartUpUrls": { |
| 1262 "pref": null, | 1607 "os": ["chromeos"], |
| 1263 "test_policy": { "DeviceStartUpUrls": ["http://google.com"] }, | 1608 "test_policy": { "DeviceStartUpUrls": ["http://google.com"] }, |
| 1264 "settings_pages": [], | 1609 "settings_pages": [] |
| 1265 "os": ["chromeos"] | |
| 1266 }, | 1610 }, |
| 1267 | 1611 |
| 1268 "DeviceAppPack": { | 1612 "DeviceAppPack": { |
| 1269 "pref": null, | 1613 "os": ["chromeos"], |
| 1270 "test_policy": { "DeviceAppPack": [] }, | 1614 "test_policy": { "DeviceAppPack": [] }, |
| 1271 "settings_pages": [], | 1615 "settings_pages": [] |
| 1272 "os": ["chromeos"] | |
| 1273 }, | 1616 }, |
| 1274 | 1617 |
| 1275 "DeviceAutoUpdateDisabled": { | 1618 "DeviceAutoUpdateDisabled": { |
| 1276 "pref": null, | 1619 "os": ["chromeos"], |
| 1277 "test_policy": { "DeviceAutoUpdateDisabled": true }, | 1620 "test_policy": { "DeviceAutoUpdateDisabled": true }, |
| 1278 "settings_pages": [], | 1621 "settings_pages": [] |
| 1279 "os": ["chromeos"] | |
| 1280 }, | 1622 }, |
| 1281 | 1623 |
| 1282 "DeviceTargetVersionPrefix": { | 1624 "DeviceTargetVersionPrefix": { |
| 1283 "pref": null, | 1625 "os": ["chromeos"], |
| 1284 "test_policy": { "DeviceTargetVersionPrefix": "1412." }, | 1626 "test_policy": { "DeviceTargetVersionPrefix": "1412." }, |
| 1285 "settings_pages": [], | 1627 "settings_pages": [] |
| 1286 "os": ["chromeos"] | |
| 1287 }, | 1628 }, |
| 1288 | 1629 |
| 1289 "DeviceUpdateScatterFactor": { | 1630 "DeviceUpdateScatterFactor": { |
| 1290 "pref": null, | 1631 "os": ["chromeos"], |
| 1291 "test_policy": { "DeviceUpdateScatterFactor": "7200" }, | 1632 "test_policy": { "DeviceUpdateScatterFactor": "7200" }, |
| 1292 "settings_pages": [], | 1633 "settings_pages": [] |
| 1293 "os": ["chromeos"] | |
| 1294 }, | 1634 }, |
| 1295 | 1635 |
| 1296 "DeviceUpdateAllowedConnectionTypes": { | 1636 "DeviceUpdateAllowedConnectionTypes": { |
| 1297 "pref": null, | 1637 "os": ["chromeos"], |
| 1298 "test_policy": { "DeviceUpdateAllowedConnectionTypes": [] }, | 1638 "test_policy": { "DeviceUpdateAllowedConnectionTypes": [] }, |
| 1299 "settings_pages": [], | 1639 "settings_pages": [] |
| 1300 "os": ["chromeos"] | |
| 1301 }, | 1640 }, |
| 1302 | 1641 |
| 1303 "ReportDeviceLocation": { | 1642 "ReportDeviceLocation": { |
| 1304 "pref": null, | 1643 "os": ["chromeos"], |
| 1305 "test_policy": { "ReportDeviceLocation": false }, | 1644 "test_policy": { "ReportDeviceLocation": false }, |
| 1306 "settings_pages": [], | 1645 "settings_pages": [] |
| 1307 "os": ["chromeos"] | |
| 1308 }, | 1646 }, |
| 1309 | 1647 |
| 1310 "SystemTimezone": { | 1648 "SystemTimezone": { |
| 1311 "pref": null, | 1649 "os": ["chromeos"], |
| 1312 "test_policy": { "SystemTimezone": "Europe/Brussels" }, | 1650 "test_policy": { "SystemTimezone": "Europe/Brussels" }, |
| 1313 "settings_pages": [], | 1651 "settings_pages": [] |
| 1314 "os": ["chromeos"] | |
| 1315 }, | 1652 }, |
| 1316 | 1653 |
| 1317 "----- Chrome Frame policies -------------------------------------------": {}, | 1654 "----- Chrome Frame policies -------------------------------------------": {}, |
| 1318 | 1655 |
| 1319 "ChromeFrameRendererSettings": { | 1656 "ChromeFrameRendererSettings": { |
| 1320 "pref": null, | 1657 "os": [], |
| 1321 "test_policy": { "ChromeFrameRendererSettings": 0 }, | 1658 "test_policy": { "ChromeFrameRendererSettings": 0 }, |
| 1322 "settings_pages": [], | 1659 "settings_pages": [] |
| 1323 "os": [] | |
| 1324 }, | 1660 }, |
| 1325 | 1661 |
| 1326 "RenderInChromeFrameList": { | 1662 "RenderInChromeFrameList": { |
| 1327 "pref": null, | 1663 "os": [], |
| 1328 "test_policy": { "RenderInChromeFrameList": ["google.com"] }, | 1664 "test_policy": { "RenderInChromeFrameList": ["google.com"] }, |
| 1329 "settings_pages": [], | 1665 "settings_pages": [] |
| 1330 "os": [] | |
| 1331 }, | 1666 }, |
| 1332 | 1667 |
| 1333 "RenderInHostList": { | 1668 "RenderInHostList": { |
| 1334 "pref": null, | 1669 "os": [], |
| 1335 "test_policy": { "RenderInHostList": ["google.com"] }, | 1670 "test_policy": { "RenderInHostList": ["google.com"] }, |
| 1336 "settings_pages": [], | 1671 "settings_pages": [] |
| 1337 "os": [] | |
| 1338 }, | 1672 }, |
| 1339 | 1673 |
| 1340 "ChromeFrameContentTypes": { | 1674 "ChromeFrameContentTypes": { |
| 1341 "pref": null, | 1675 "os": [], |
| 1342 "test_policy": { "ChromeFrameContentTypes": ["text/xml"] }, | 1676 "test_policy": { "ChromeFrameContentTypes": ["text/xml"] }, |
| 1343 "settings_pages": [], | 1677 "settings_pages": [] |
| 1344 "os": [] | |
| 1345 }, | 1678 }, |
| 1346 | 1679 |
| 1347 "GCFUserDataDir": { | 1680 "GCFUserDataDir": { |
| 1348 "pref": null, | 1681 "os": [], |
| 1349 "test_policy": { "GCFUserDataDir": "${user_name}/test-frame" }, | 1682 "test_policy": { "GCFUserDataDir": "${user_name}/test-frame" }, |
| 1350 "settings_pages": [], | 1683 "settings_pages": [] |
| 1351 "os": [] | |
| 1352 }, | 1684 }, |
| 1353 | 1685 |
| 1354 "AdditionalLaunchParameters": { | 1686 "AdditionalLaunchParameters": { |
| 1355 "pref": null, | 1687 "os": [], |
| 1356 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, | 1688 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, |
| 1357 "settings_pages": [], | 1689 "settings_pages": [] |
| 1358 "os": [] | |
| 1359 } | 1690 } |
| 1360 } | 1691 } |
| OLD | NEW |