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