3 "intro": "Top-level entries map a policy name to its test parameters, described below. The name of the top level entry should be of the form <policy name>[.suffix]. The optional suffix is used for defining multiple test cases for a single policy.",
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. Defaults to |false| if not specified.",
7 "can_be_recommended": "Whether a recommended value may be set for the policy. Defaults to |false| if not specified.",
8 "test_policy": "A policy dictionary that should make the preferences affected by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.",
9 "note": "If the policy affects any preferences, the following array should be specified with one entry per such preference.",
11 { "pref": "The affected preference's name.",
12 "local_state": "Whether |pref| is registered in local state's PrefService instead of the profile's PrefService. Defaults to |false| if not specified.",
13 "check_for_mandatory": "Should the preference be tested when a mandatory value is set for the policy? Defaults to |true| if not specified.",
14 "check_for_recommended": "Should the preference be tested when a recommended value is set for the policy? Defaults to |true| if not specified.",
15 "note": "When |can_be_recommended| is |false|, the policy is never set to a recommended value so |check_for_recommended| has no effect.",
16 "note": "The following entries should be specified if controlled setting indicators exist for |pref| in the settings UI.",
17 "indicator_test_setup_js": "Any JavaScript that should be executed before testing the indicators. This should be specified only if an explicit user action must be simulated (e.g. clicking a button).",
18 "indicator_selector": "A CSS selector that locates all controlled setting indicators for |pref|. This is appended to the selector 'span.controlled-setting-indicator' and if not specified, defaults to '[pref=(the value of |pref|)', e.g. '[pref=homepage]'.",
19 "note": "Any number of test cases may be specified in the following array.",
21 { "policy": "A policy dictionary that should affect |pref| when set as mandatory or recommended policy.",
22 "value": "The value that |pref| should take on. This must only be specified if |pref| has multiple controlled setting indicators, each corresponding to a specific value (e.g. indicators next to radio buttons).",
23 "readonly": "Whether setting the policy dictionary as recommended should cause |pref| to become read-only in the settings UI. This will be the case when the dictionary sets another policy that makes |pref| not applicable (e.g. setting 'homepage is NTP' makes the 'homepage URL' pref not applicable and read-only)."
28 "note": "The following entry should be specified if there is a controlled setting indicator that reacts to the policy directly, without a preference serving as an intermediary.",
29 "indicator_selector": "A CSS selector that locates the controlled setting indicator directly affected by the policy. This is appended to the selector 'span.controlled-setting-indicator'."
33 "os": ["win", "linux", "mac", "chromeos"],
34 "can_be_recommended": true,
35 "test_policy": { "HomepageLocation": "http://chromium.org" },
39 { "policy": { "HomepageIsNewTabPage": false, "HomepageLocation": "http://chromium.org" } },
40 { "policy": { "HomepageIsNewTabPage": true, "HomepageLocation": "http://chromium.org" },
48 "HomepageIsNewTabPage": {
49 "os": ["win", "linux", "mac", "chromeos"],
50 "can_be_recommended": true,
51 "test_policy": { "HomepageIsNewTabPage": true },
53 { "pref": "homepage_is_newtabpage",
55 { "policy": { "HomepageIsNewTabPage": false },
57 { "policy": { "HomepageIsNewTabPage": true },
64 "DefaultBrowserSettingEnabled": {
65 "os": ["win", "mac", "linux"],
66 "test_policy": { "DefaultBrowserSettingEnabled": true },
68 { "pref": "browser.default_browser_setting_enabled",
74 "ApplicationLocaleValue": {
76 "can_be_recommended": true,
77 "test_policy": { "ApplicationLocaleValue": "fr" },
79 { "pref": "intl.app_locale",
85 "AlternateErrorPagesEnabled": {
86 "os": ["win", "linux", "mac", "chromeos"],
87 "can_be_recommended": true,
88 "test_policy": { "AlternateErrorPagesEnabled": false },
90 { "pref": "alternate_error_pages.enabled",
92 { "policy": { "AlternateErrorPagesEnabled": false } }
98 "SearchSuggestEnabled": {
99 "os": ["win", "linux", "mac", "chromeos"],
100 "can_be_recommended": true,
101 "test_policy": { "SearchSuggestEnabled": false },
103 { "pref": "search.suggest_enabled",
105 { "policy": { "SearchSuggestEnabled": false } }
111 "DnsPrefetchingEnabled": {
112 "os": ["win", "linux", "mac", "chromeos"],
113 "can_be_recommended": true,
114 "test_policy": { "DnsPrefetchingEnabled": false },
116 { "pref": "dns_prefetching.enabled" },
117 { "pref": "net.network_prediction_options",
119 { "policy": { "DnsPrefetchingEnabled": false } }
125 "NetworkPredictionOptions": {
126 "os": ["win", "linux", "mac", "chromeos"],
127 "can_be_recommended": true,
128 "test_policy": { "NetworkPredictionOptions": 2 },
130 { "pref": "dns_prefetching.enabled" },
131 { "pref": "net.network_prediction_options",
133 { "policy": { "NetworkPredictionOptions": 2 } }
140 "os": ["win", "linux", "mac", "chromeos"],
141 "test_policy": { "DisableSpdy": true },
143 { "pref": "spdy.disabled" }
148 "os": ["win", "linux", "mac", "chromeos"],
149 "test_policy": { "QuicAllowed": true }
153 "os": ["win", "linux", "mac", "chromeos"],
154 "test_policy": { "DisabledSchemes": ["file"] },
156 { "pref": "policy.url_blacklist" }
160 "JavascriptEnabled": {
161 "os": ["win", "linux", "mac", "chromeos"],
162 "test_policy": { "JavascriptEnabled": false },
164 { "pref": "profile.managed_default_content_settings.javascript",
165 "indicator_selector": "[content-setting=javascript]",
167 { "policy": { "JavascriptEnabled": false },
174 "IncognitoEnabled": {
175 "os": ["win", "linux", "mac", "chromeos"],
176 "test_policy": { "IncognitoEnabled": false },
178 { "pref": "incognito.mode_availability" }
182 "IncognitoModeAvailability": {
183 "os": ["win", "linux", "mac", "chromeos"],
184 "test_policy": { "IncognitoModeAvailability": 1 },
186 { "pref": "incognito.mode_availability" }
190 "SavingBrowserHistoryDisabled": {
191 "os": ["win", "linux", "mac", "chromeos"],
192 "test_policy": { "SavingBrowserHistoryDisabled": true },
194 { "pref": "history.saving_disabled" }
198 "AllowDeletingBrowserHistory": {
200 "test_policy": { "AllowDeletingBrowserHistory": false },
202 { "pref": "history.deleting_enabled" }
206 "RemoteAccessClientFirewallTraversal": {
209 "RemoteAccessHostFirewallTraversal": {
212 "RemoteAccessHostRequireTwoFactor": {
215 "RemoteAccessHostDomain": {
218 "RemoteAccessHostTalkGadgetPrefix": {
221 "RemoteAccessHostRequireCurtain": {
224 "RemoteAccessHostAllowClientPairing": {
227 "RemoteAccessHostAllowGnubbyAuth": {
230 "RemoteAccessHostAllowRelayedConnection": {
233 "RemoteAccessHostUdpPortRange": {
236 "RemoteAccessHostMatchUsername": {
239 "RemoteAccessHostTokenUrl": {
242 "RemoteAccessHostTokenValidationUrl": {
245 "RemoteAccessHostTokenValidationCertificateIssuer": {
248 "RemoteAccessHostDebugOverridePolicies": {
252 "os": ["win", "linux", "mac", "chromeos"],
253 "test_policy": { "PrintingEnabled": false },
255 { "pref": "printing.enabled" }
259 "CloudPrintProxyEnabled": {
261 "test_policy": { "CloudPrintProxyEnabled": true },
263 { "pref": "cloud_print.enabled" }
267 "CloudPrintSubmitEnabled": {
268 "os": ["win", "mac", "linux"],
269 "test_policy": { "CloudPrintSubmitEnabled": false },
271 { "pref": "cloud_print.submit_enabled" }
275 "SafeBrowsingEnabled": {
276 "os": ["win", "linux", "mac", "chromeos"],
277 "can_be_recommended": true,
278 "test_policy": { "SafeBrowsingEnabled": false },
280 { "pref": "safebrowsing.enabled",
282 { "policy": { "SafeBrowsingEnabled": false } }
289 "pref": "settings.force_safesearch",
290 "test_policy": { "ForceSafeSearch": true },
291 "settings_pages": [],
292 "os": ["win", "linux", "mac", "chromeos"]
295 "ForceGoogleSafeSearch": {
296 "pref": "settings.force_google_safesearch",
297 "test_policy": { "ForceGoogleSafeSearch": true },
298 "settings_pages": [],
299 "os": ["win", "linux", "mac", "chromeos"]
302 "ForceYouTubeSafetyMode": {
303 "pref": "settings.force_youtube_safety_mode",
304 "test_policy": { "ForceYouTubeSafetyMode": true },
305 "settings_pages": [],
306 "os": ["win", "linux", "mac", "chromeos"]
309 "MetricsReportingEnabled": {
310 "os": ["win", "mac", "linux"],
311 "official_only": true,
312 "can_be_recommended": true,
313 "test_policy": { "MetricsReportingEnabled": false },
314 "indicator_selector": "#metrics-reporting-disabled-icon",
316 { "pref": "user_experience_metrics.reporting_enabled",
322 "PasswordManagerEnabled": {
323 "os": ["win", "linux", "mac", "chromeos"],
324 "can_be_recommended": true,
325 "test_policy": { "PasswordManagerEnabled": false },
327 { "pref": "profile.password_manager_enabled",
329 { "policy": { "PasswordManagerEnabled": false } }
335 "PasswordManagerAllowShowPasswords": {
336 "os": ["win", "linux", "mac", "chromeos"],
337 "test_policy": { "PasswordManagerAllowShowPasswords": false },
339 { "pref": "profile.password_manager_allow_show_passwords" }
343 "ContextualSearchEnabled": {
348 "os": ["win", "linux", "mac", "chromeos"],
349 "can_be_recommended": true,
350 "test_policy": { "AutoFillEnabled": false },
352 { "pref": "autofill.enabled",
354 { "policy": { "AutoFillEnabled": false } }
361 "os": ["win", "linux", "mac", "chromeos"],
362 "test_policy": { "DisabledPlugins": ["Flash"] },
364 { "pref": "plugins.plugins_disabled" }
369 "os": ["win", "linux", "mac", "chromeos"],
370 "test_policy": { "EnabledPlugins": ["Flash"] },
372 { "pref": "plugins.plugins_enabled" }
376 "DisabledPluginsExceptions": {
377 "os": ["win", "linux", "mac", "chromeos"],
378 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
380 { "pref": "plugins.plugins_disabled_exceptions" }
384 "DisablePluginFinder": {
385 "os": ["win", "linux", "mac", "chromeos"],
386 "test_policy": { "DisablePluginFinder": true },
388 { "pref": "plugins.disable_plugin_finder",
395 "os": ["win", "linux", "mac", "chromeos"],
396 "test_policy": { "SyncDisabled": true },
398 { "pref": "sync.managed" }
403 "os": ["win", "linux", "mac"],
404 "test_policy": { "SigninAllowed": true },
406 { "pref": "signin.allowed" }
410 "EnableDeprecatedWebBasedSignin": {
411 "os": ["win", "linux", "mac"],
412 "test_policy": { "EnableDeprecatedWebBasedSignin": false }
416 "note": "TODO(joaodasilva): To test that this policy works correctly, it would need to be set before the browser is launched. PolicyPrefsTest should be refactored to support this and a test for this policy added."
420 "os": ["win", "mac", "linux"],
421 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
423 { "pref": "browser.disk_cache_dir" }
428 "os": ["win", "mac", "linux"],
429 "test_policy": { "DiskCacheSize": 100 },
431 { "pref": "browser.disk_cache_size" }
436 "os": ["win", "mac", "linux"],
437 "test_policy": { "MediaCacheSize": 200 },
439 { "pref": "browser.media_cache_size" }
443 "DownloadDirectory.0": {
444 "os": ["win", "mac", "linux", "chromeos"],
445 "can_be_recommended": true,
446 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
448 { "pref": "download.default_directory",
450 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
453 { "pref": "download.prompt_for_download",
454 "check_for_recommended" : false,
456 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
462 "DownloadDirectory.1": {
464 "test_policy": { "DownloadDirectory": "${google_drive}/downloads" },
466 { "pref": "gdata.disabled",
468 { "policy": { "DownloadDirectory": "${google_drive}/downloads" } }
474 "ClearSiteDataOnExit": {
475 "note": "This policy is retired, see http://crbug.com/133291."
478 "CaptivePortalAuthenticationIgnoresProxy": {
480 "test_policy": { "CaptivePortalAuthenticationIgnoresProxy": true },
482 { "pref": "proxy.captive_portal_ignores_proxy" }
487 "os": ["win", "mac", "linux"],
488 "test_policy": { "ProxyMode": "direct" },
492 { "policy": { "ProxyMode": "direct" } }
499 "os": ["win", "mac", "linux"],
500 "test_policy": { "ProxyServerMode": 0 },
504 { "policy": { "ProxyServerMode": 0 } }
511 "os": ["win", "mac", "linux"],
512 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" },
516 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" } }
523 "os": ["win", "mac", "linux"],
524 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" },
528 { "policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" } }
535 "os": ["win", "mac", "linux"],
536 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" },
540 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" } }
547 "os": ["linux", "win"],
548 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } },
552 { "policy": { "ProxySettings": { "ProxyMode": "direct" } } }
558 "EnableOriginBoundCerts": {
559 "note": "This policy is retired, see http://crbug.com/354749."
562 "DisableSSLRecordSplitting": {
563 "os": ["win", "linux", "mac", "chromeos"],
564 "test_policy": { "DisableSSLRecordSplitting": true },
566 { "pref": "ssl.ssl_record_splitting.disabled",
572 "EnableOnlineRevocationChecks": {
573 "os": ["win", "linux", "mac", "chromeos"],
574 "test_policy": { "EnableOnlineRevocationChecks": true },
576 { "pref": "ssl.rev_checking.enabled",
582 "RequireOnlineRevocationChecksForLocalAnchors": {
583 "os": ["win", "linux", "chromeos"],
584 "test_policy": { "RequireOnlineRevocationChecksForLocalAnchors": true },
586 { "pref": "ssl.rev_checking.required_for_local_anchors",
593 "os": ["win", "linux", "mac", "chromeos"],
594 "test_policy": { "AuthSchemes": "AuthSchemes" },
596 { "pref": "auth.schemes",
602 "DisableAuthNegotiateCnameLookup": {
603 "os": ["win", "linux", "mac", "chromeos"],
604 "test_policy": { "DisableAuthNegotiateCnameLookup": true },
606 { "pref": "auth.disable_negotiate_cname_lookup",
612 "EnableAuthNegotiatePort": {
613 "os": ["win", "linux", "mac", "chromeos"],
614 "test_policy": { "EnableAuthNegotiatePort": true },
616 { "pref": "auth.enable_negotiate_port",
622 "AuthServerWhitelist": {
623 "os": ["win", "linux", "mac", "chromeos"],
624 "test_policy": { "AuthServerWhitelist": "localhost" },
626 { "pref": "auth.server_whitelist",
632 "AuthNegotiateDelegateWhitelist": {
633 "os": ["win", "linux", "mac", "chromeos"],
634 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" },
636 { "pref": "auth.negotiate_delegate_whitelist",
642 "GSSAPILibraryName": {
643 "os": ["mac", "linux"],
644 "test_policy": { "GSSAPILibraryName": "libwhatever.so" },
646 { "pref": "auth.gssapi_library_name",
652 "AllowCrossOriginAuthPrompt": {
653 "os": ["win", "mac", "linux"],
654 "test_policy": { "AllowCrossOriginAuthPrompt": true },
656 { "pref": "auth.allow_cross_origin_prompt",
662 "ExtensionInstallBlacklist": {
663 "os": ["win", "linux", "mac", "chromeos"],
664 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
666 { "pref": "extensions.install.denylist" }
670 "ExtensionInstallWhitelist": {
671 "os": ["win", "linux", "mac", "chromeos"],
672 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"] },
674 { "pref": "extensions.install.allowlist" }
678 "ExtensionInstallForcelist": {
679 "os": ["win", "linux", "mac", "chromeos"],
680 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
682 { "pref": "extensions.install.forcelist" }
686 "ExtensionInstallSources": {
687 "os": ["win", "linux", "mac", "chromeos"],
688 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
690 { "pref": "extensions.allowed_install_sites" }
694 "ExtensionAllowedTypes": {
695 "os": ["win", "linux", "mac", "chromeos"],
696 "test_policy": { "ExtensionAllowedTypes": ["hosted_app"] },
698 { "pref": "extensions.allowed_types" }
702 "ExtensionSettings": {
703 "os": ["win", "linux", "mac", "chromeos"],
705 "ExtensionSettings": {
706 "abcdefghijklmnopabcdefghijklmnop" : {
707 "installation_mode": "allowed",
708 "blocked_permissions": ["history"]
710 "bcdefghijklmnopabcdefghijklmnopa" : {
711 "installation_mode": "force_installed",
712 "update_url": "http://example.com/update_url",
713 "allowed_permissions": ["downloads"]
716 "installation_mode": "blocked",
717 "blocked_permissions": ["downloads", "bookmarks"],
718 "install_sources": ["http://company-intranet/chromeapps"],
719 "allowed_types": ["hosted_app"]
724 { "pref": "extensions.management" }
729 "os": ["win", "linux", "mac", "chromeos"],
730 "can_be_recommended": true,
731 "test_policy": { "ShowHomeButton": true },
733 { "pref": "browser.show_home_button",
735 { "policy": { "ShowHomeButton": true } }
741 "DeveloperToolsDisabled": {
742 "os": ["win", "linux", "mac", "chromeos"],
743 "test_policy": { "DeveloperToolsDisabled": true },
745 { "pref": "devtools.disabled" }
749 "RestoreOnStartup": {
750 "os": ["win", "linux", "mac", "chromeos"],
751 "can_be_recommended": true,
752 "test_policy": { "RestoreOnStartup": 4 },
754 { "pref": "session.restore_on_startup",
756 { "policy": { "RestoreOnStartup": 1 },
758 { "policy": { "RestoreOnStartup": 4 },
760 { "policy": { "RestoreOnStartup": 5 },
767 "RestoreOnStartupURLs": {
768 "os": ["win", "linux", "mac", "chromeos"],
769 "can_be_recommended": true,
770 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
772 { "pref": "session.startup_urls",
774 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } }
780 "BlockThirdPartyCookies": {
781 "os": ["win", "linux", "mac", "chromeos"],
782 "can_be_recommended": true,
783 "test_policy": { "BlockThirdPartyCookies": true },
785 { "pref": "profile.block_third_party_cookies",
787 { "policy": { "BlockThirdPartyCookies": true } }
793 "DefaultSearchProviderEnabled": {
794 "os": ["win", "linux", "mac", "chromeos"],
795 "test_policy": { "DefaultSearchProviderEnabled": false },
797 { "pref": "default_search_provider_data.template_url_data",
799 { "policy": { "DefaultSearchProviderEnabled": false } },
800 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" } }
806 "DefaultSearchProviderName": {
807 "os": ["win", "linux", "mac", "chromeos"],
808 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderName": "google.com" },
810 { "pref": "default_search_provider_data.template_url_data" }
814 "DefaultSearchProviderKeyword": {
815 "os": ["win", "linux", "mac", "chromeos"],
816 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
818 { "pref": "default_search_provider_data.template_url_data" }
822 "DefaultSearchProviderSearchURL": {
823 "os": ["win", "linux", "mac", "chromeos"],
824 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
826 { "pref": "default_search_provider_data.template_url_data",
827 "indicator_selector": "[setting=search-engine]",
829 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
835 "DefaultSearchProviderSuggestURL": {
836 "os": ["win", "linux", "mac", "chromeos"],
837 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURL": "http://www.google.com/suggest?q={searchTerms}" },
839 { "pref": "default_search_provider_data.template_url_data" }
843 "DefaultSearchProviderInstantURL": {
844 "os": ["win", "linux", "mac", "chromeos"],
845 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURL": "http://www.google.com/instant?q={searchTerms}" },
847 { "pref": "default_search_provider_data.template_url_data" }
851 "DefaultSearchProviderNewTabURL": {
852 "os": ["win", "linux", "mac", "chromeos"],
853 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderNewTabURL": "http://www.google.com/newtab" },
855 { "pref": "default_search_provider_data.template_url_data" }
859 "DefaultSearchProviderIconURL": {
860 "os": ["win", "linux", "mac", "chromeos"],
861 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.ico" },
863 { "pref": "default_search_provider_data.template_url_data" }
867 "DefaultSearchProviderEncodings": {
868 "os": ["win", "linux", "mac", "chromeos"],
869 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderEncodings": ["UTF-8"] },
871 { "pref": "default_search_provider_data.template_url_data" }
875 "DefaultSearchProviderAlternateURLs": {
876 "os": ["win", "linux", "mac", "chromeos"],
877 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/#q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] },
879 { "pref": "default_search_provider_data.template_url_data" }
883 "DefaultSearchProviderSearchTermsReplacementKey": {
884 "os": ["win", "linux", "mac", "chromeos"],
885 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchTermsReplacementKey": "espv" },
887 { "pref": "default_search_provider_data.template_url_data" }
891 "DefaultSearchProviderImageURL": {
892 "os": ["win", "linux", "mac", "chromeos"],
893 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURL": "http://www.google.com/searchbyimage/upload" },
895 { "pref": "default_search_provider_data.template_url_data" }
899 "DefaultSearchProviderSearchURLPostParams": {
900 "os": ["win", "linux", "mac", "chromeos"],
901 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchURLPostParams": "" },
903 { "pref": "default_search_provider_data.template_url_data" }
907 "DefaultSearchProviderSuggestURLPostParams": {
908 "os": ["win", "linux", "mac", "chromeos"],
909 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURLPostParams": "" },
911 { "pref": "default_search_provider_data.template_url_data" }
915 "DefaultSearchProviderInstantURLPostParams": {
916 "os": ["win", "linux", "mac", "chromeos"],
917 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURLPostParams": "" },
919 { "pref": "default_search_provider_data.template_url_data" }
923 "DefaultSearchProviderImageURLPostParams": {
924 "os": ["win", "linux", "mac", "chromeos"],
925 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURLPostParams": "image_content={imageThumbnail},image_url={imageURL},sbisrc={imageSearchSource}" },
927 { "pref": "default_search_provider_data.template_url_data" }
931 "DefaultCookiesSetting": {
932 "os": ["win", "linux", "mac", "chromeos"],
933 "test_policy": { "DefaultCookiesSetting": 2 },
935 { "pref": "profile.managed_default_content_settings.cookies",
936 "indicator_selector": "[content-setting=cookies]",
938 { "policy": { "DefaultCookiesSetting": 1 },
940 { "policy": { "DefaultCookiesSetting": 2 },
942 { "policy": { "DefaultCookiesSetting": 4 },
948 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
951 "DefaultImagesSetting": {
952 "os": ["win", "linux", "mac", "chromeos"],
953 "test_policy": { "DefaultImagesSetting": 2 },
955 { "pref": "profile.managed_default_content_settings.images",
956 "indicator_selector": "[content-setting=images]",
958 { "policy": { "DefaultImagesSetting": 1 },
960 { "policy": { "DefaultImagesSetting": 2 },
966 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
969 "DefaultJavaScriptSetting": {
970 "os": ["win", "linux", "mac", "chromeos"],
971 "test_policy": { "DefaultJavaScriptSetting": 2 },
973 { "pref": "profile.managed_default_content_settings.javascript",
974 "indicator_selector": "[content-setting=javascript]",
976 { "policy": { "DefaultJavaScriptSetting": 1 },
978 { "policy": { "DefaultJavaScriptSetting": 2 },
984 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
987 "DefaultPluginsSetting": {
988 "os": ["win", "linux", "mac", "chromeos"],
989 "test_policy": { "DefaultPluginsSetting": 2 },
991 { "pref": "profile.managed_default_content_settings.plugins",
992 "indicator_selector": "[content-setting=plugins]",
994 { "policy": { "DefaultPluginsSetting": 1 },
996 { "policy": { "DefaultPluginsSetting": 2 },
1002 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1005 "DefaultPopupsSetting": {
1006 "os": ["win", "linux", "mac", "chromeos"],
1007 "test_policy": { "DefaultPopupsSetting": 2 },
1009 { "pref": "profile.managed_default_content_settings.popups",
1010 "indicator_selector": "[content-setting=popups]",
1011 "indicator_tests": [
1012 { "policy": { "DefaultPopupsSetting": 1 },
1014 { "policy": { "DefaultPopupsSetting": 2 },
1020 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1023 "DefaultNotificationsSetting": {
1024 "os": ["win", "linux", "mac", "chromeos"],
1025 "test_policy": { "DefaultNotificationsSetting": 2 },
1027 { "pref": "profile.managed_default_content_settings.notifications",
1028 "indicator_selector": "[content-setting=notifications]",
1029 "indicator_tests": [
1030 { "policy": { "DefaultNotificationsSetting": 1 },
1032 { "policy": { "DefaultNotificationsSetting": 2 },
1034 { "policy": { "DefaultNotificationsSetting": 3 },
1040 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1043 "DefaultGeolocationSetting": {
1044 "os": ["win", "linux", "mac", "chromeos"],
1045 "test_policy": { "DefaultGeolocationSetting": 2 },
1047 { "pref": "profile.managed_default_content_settings.geolocation",
1048 "indicator_selector": "[content-setting=location]",
1049 "indicator_tests": [
1050 { "policy": { "DefaultGeolocationSetting": 1 },
1052 { "policy": { "DefaultGeolocationSetting": 2 },
1054 { "policy": { "DefaultGeolocationSetting": 3 },
1060 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1063 "DefaultMediaStreamSetting": {
1064 "os": ["win", "linux", "mac", "chromeos"],
1065 "test_policy": { "DefaultMediaStreamSetting": 2 },
1067 { "pref": "profile.managed_default_content_settings.media_stream",
1068 "indicator_selector": "[content-setting=media-stream]",
1069 "indicator_tests": [
1070 { "policy": { "DefaultMediaStreamSetting": 2 },
1073 { "policy": { "DefaultMediaStreamSetting": 3 },
1080 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1083 "AudioCaptureAllowed": {
1084 "os": ["win", "linux", "mac", "chromeos"],
1085 "test_policy": { "AudioCaptureAllowed": false },
1087 { "pref": "hardware.audio_capture_enabled",
1088 "indicator_selector": "#media-indicator",
1089 "indicator_tests": [
1090 { "policy": { "AudioCaptureAllowed": false } }
1096 "AudioCaptureAllowedUrls": {
1097 "os": ["win", "linux", "mac", "chromeos"],
1098 "test_policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
1101 "pref": "hardware.audio_capture_allowed_urls"
1106 "VideoCaptureAllowed": {
1107 "os": ["win", "linux", "mac", "chromeos"],
1108 "test_policy": { "VideoCaptureAllowed": false },
1110 { "pref": "hardware.video_capture_enabled",
1111 "indicator_selector": "#media-indicator",
1112 "indicator_tests": [
1113 { "policy": { "VideoCaptureAllowed": false } }
1119 "VideoCaptureAllowedUrls": {
1120 "os": ["win", "linux", "mac", "chromeos"],
1121 "test_policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
1124 "pref": "hardware.video_capture_allowed_urls"
1129 "AutoSelectCertificateForUrls": {
1130 "os": ["win", "linux", "mac", "chromeos"],
1131 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://example.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1133 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1136 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1139 "CookiesAllowedForUrls": {
1140 "os": ["win", "linux", "mac", "chromeos"],
1141 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
1143 { "pref": "profile.managed_cookies_allowed_for_urls",
1144 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1145 "indicator_selector": "[content-exception=cookies]",
1146 "indicator_tests": [
1147 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } }
1152 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1155 "CookiesBlockedForUrls": {
1156 "os": ["win", "linux", "mac", "chromeos"],
1157 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
1159 { "pref": "profile.managed_cookies_blocked_for_urls",
1160 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1161 "indicator_selector": "[content-exception=cookies]",
1162 "indicator_tests": [
1163 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } }
1168 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1171 "CookiesSessionOnlyForUrls": {
1172 "os": ["win", "linux", "mac", "chromeos"],
1173 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
1175 { "pref": "profile.managed_cookies_sessiononly_for_urls",
1176 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1177 "indicator_selector": "[content-exception=cookies]",
1178 "indicator_tests": [
1179 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } }
1184 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1187 "ImagesAllowedForUrls": {
1188 "os": ["win", "linux", "mac", "chromeos"],
1189 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
1191 { "pref": "profile.managed_images_allowed_for_urls",
1192 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1193 "indicator_selector": "[content-exception=images]",
1194 "indicator_tests": [
1195 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } }
1200 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1203 "ImagesBlockedForUrls": {
1204 "os": ["win", "linux", "mac", "chromeos"],
1205 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
1207 { "pref": "profile.managed_images_blocked_for_urls",
1208 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1209 "indicator_selector": "[content-exception=images]",
1210 "indicator_tests": [
1211 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } }
1216 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1219 "JavaScriptAllowedForUrls": {
1220 "os": ["win", "linux", "mac", "chromeos"],
1221 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
1223 { "pref": "profile.managed_javascript_allowed_for_urls",
1224 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1225 "indicator_selector": "[content-exception=javascript]",
1226 "indicator_tests": [
1227 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } }
1232 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1235 "JavaScriptBlockedForUrls": {
1236 "os": ["win", "linux", "mac", "chromeos"],
1237 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
1239 { "pref": "profile.managed_javascript_blocked_for_urls",
1240 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1241 "indicator_selector": "[content-exception=javascript]",
1242 "indicator_tests": [
1243 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1248 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1251 "PluginsAllowedForUrls": {
1252 "os": ["win", "linux", "mac", "chromeos"],
1253 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1255 { "pref": "profile.managed_plugins_allowed_for_urls",
1256 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1257 "indicator_selector": "[content-exception=plugins]",
1258 "indicator_tests": [
1259 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1264 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1267 "PluginsBlockedForUrls": {
1268 "os": ["win", "linux", "mac", "chromeos"],
1269 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
1271 { "pref": "profile.managed_plugins_blocked_for_urls",
1272 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1273 "indicator_selector": "[content-exception=plugins]",
1274 "indicator_tests": [
1275 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } }
1280 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1283 "PopupsAllowedForUrls": {
1284 "os": ["win", "linux", "mac", "chromeos"],
1285 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
1287 { "pref": "profile.managed_popups_allowed_for_urls",
1288 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1289 "indicator_selector": "[content-exception=popups]",
1290 "indicator_tests": [
1291 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } }
1296 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1299 "PopupsBlockedForUrls": {
1300 "os": ["win", "linux", "mac", "chromeos"],
1301 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
1303 { "pref": "profile.managed_popups_blocked_for_urls",
1304 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1305 "indicator_selector": "[content-exception=popups]",
1306 "indicator_tests": [
1307 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } }
1312 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1315 "NotificationsAllowedForUrls": {
1316 "os": ["win", "linux", "mac", "chromeos"],
1317 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
1319 { "pref": "profile.managed_notifications_allowed_for_urls",
1320 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1321 "indicator_selector": "[content-exception=notifications]",
1322 "indicator_tests": [
1323 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } }
1328 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1331 "NotificationsBlockedForUrls": {
1332 "os": ["win", "linux", "mac", "chromeos"],
1333 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
1335 { "pref": "profile.managed_notifications_blocked_for_urls",
1336 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1337 "indicator_selector": "[content-exception=notifications]",
1338 "indicator_tests": [
1339 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } }
1344 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1348 "os": ["win", "linux", "mac", "chromeos"],
1349 "test_policy": { "Disable3DAPIs": true },
1351 { "pref": "disable_3d_apis" }
1358 "TranslateEnabled": {
1359 "os": ["win", "linux", "mac", "chromeos"],
1360 "can_be_recommended": true,
1361 "test_policy": { "TranslateEnabled": false },
1363 { "pref": "translate.enabled",
1364 "indicator_tests": [
1365 { "policy": { "TranslateEnabled": true } }
1371 "AllowOutdatedPlugins": {
1372 "os": ["win", "linux", "mac", "chromeos"],
1373 "test_policy": { "AllowOutdatedPlugins": true },
1375 { "pref": "plugins.allow_outdated" }
1379 "AlwaysAuthorizePlugins": {
1380 "os": ["win", "linux", "mac", "chromeos"],
1381 "test_policy": { "AlwaysAuthorizePlugins": true },
1383 { "pref": "plugins.always_authorize" }
1387 "BookmarkBarEnabled": {
1388 "os": ["win", "linux", "mac", "chromeos"],
1389 "can_be_recommended": true,
1390 "test_policy": { "BookmarkBarEnabled": true },
1392 { "pref": "bookmark_bar.show_on_all_tabs",
1393 "indicator_tests": [
1394 { "policy": { "BookmarkBarEnabled": true } }
1400 "EditBookmarksEnabled": {
1401 "os": ["win", "linux", "mac", "chromeos"],
1402 "test_policy": { "EditBookmarksEnabled": false },
1404 { "pref": "bookmarks.editing_enabled" }
1408 "ShowAppsShortcutInBookmarkBar": {
1409 "os": ["win", "linux", "mac"],
1410 "test_policy": { "ShowAppsShortcutInBookmarkBar": false },
1412 { "pref": "bookmark_bar.show_apps_shortcut" }
1416 "AllowFileSelectionDialogs": {
1417 "os": ["win", "mac", "linux"],
1418 "test_policy": { "AllowFileSelectionDialogs": false },
1420 { "pref": "select_file_dialogs.allowed",
1423 { "pref": "download.prompt_for_download",
1424 "indicator_tests": [
1425 { "policy": { "AllowFileSelectionDialogs": false } }
1431 "ImportBookmarks": {
1432 "os": ["win", "mac", "linux"],
1433 "can_be_recommended": true,
1434 "test_policy": { "ImportBookmarks": false },
1436 { "pref": "import_bookmarks",
1437 "indicator_tests": [
1438 { "policy": { "ImportBookmarks": false } }
1445 "os": ["win", "mac", "linux"],
1446 "can_be_recommended": true,
1447 "test_policy": { "ImportHistory": false },
1449 { "pref": "import_history",
1450 "indicator_tests": [
1451 { "policy": { "ImportHistory": false } }
1458 "os": ["win", "mac", "linux"],
1459 "test_policy": { "ImportHomepage": false },
1461 { "pref": "import_home_page" }
1465 "ImportSearchEngine": {
1466 "os": ["win", "mac", "linux"],
1467 "can_be_recommended": true,
1468 "test_policy": { "ImportSearchEngine": false },
1470 { "pref": "import_search_engine",
1471 "indicator_tests": [
1472 { "policy": { "ImportSearchEngine": false } }
1478 "ImportSavedPasswords": {
1479 "os": ["win", "mac", "linux"],
1480 "can_be_recommended": true,
1481 "test_policy": { "ImportSavedPasswords": false },
1483 { "pref": "import_saved_passwords",
1484 "indicator_tests": [
1485 { "policy": { "ImportSavedPasswords": false } }
1491 "ImportAutofillFormData": {
1492 "os": ["win", "mac", "linux"],
1493 "can_be_recommended": true,
1494 "test_policy": { "ImportAutofillFormData": false },
1496 { "pref": "import_autofill_form_data",
1497 "indicator_tests": [
1498 { "policy": { "ImportAutofillFormData": false } }
1504 "MaxConnectionsPerProxy": {
1505 "os": ["win", "linux", "mac", "chromeos"],
1506 "test_policy": { "MaxConnectionsPerProxy": 16 },
1508 { "pref": "net.max_connections_per_proxy",
1514 "HideWebStorePromo": {
1518 "os": ["win", "linux", "mac", "chromeos"],
1519 "test_policy": { "URLBlacklist": ["google.com"] },
1521 { "pref": "policy.url_blacklist" }
1526 "os": ["win", "linux", "mac", "chromeos"],
1527 "test_policy": { "URLWhitelist": ["google.com"] },
1529 { "pref": "policy.url_whitelist" }
1533 "EnterpriseWebStoreURL": {
1534 "note": "This policy is retired, see http://crbug.com/178938."
1537 "EnterpriseWebStoreName": {
1538 "note": "This policy is retired, see http://crbug.com/178938."
1541 "EnableMemoryInfo": {
1542 "note": "This policy is retired, see http://crbug.com/350339."
1545 "DisablePrintPreview": {
1546 "os": ["win", "mac", "linux"],
1547 "test_policy": { "DisablePrintPreview": false },
1549 { "pref": "printing.print_preview_disabled" }
1553 "BackgroundModeEnabled": {
1554 "os": ["win", "linux"],
1555 "can_be_recommended": true,
1556 "test_policy": { "BackgroundModeEnabled": false },
1558 { "pref": "background_mode.enabled",
1559 "local_state": true,
1560 "indicator_tests": [
1561 { "policy": { "BackgroundModeEnabled": false } }
1567 "RestrictSigninToPattern": {
1568 "os": ["win", "mac", "linux"],
1569 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
1571 { "pref": "google.services.username_pattern",
1577 "DisableSafeBrowsingProceedAnyway": {
1578 "os": ["win", "linux", "mac", "chromeos"],
1579 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
1581 { "pref": "safebrowsing.proceed_anyway_disabled" }
1585 "SafeBrowsingExtendedReportingOptInAllowed": {
1586 "os": ["win", "linux", "mac", "chromeos"],
1587 "test_policy": { "SafeBrowsingExtendedReportingOptInAllowed": true },
1589 { "pref": "safebrowsing.extended_reporting_opt_in_allowed" }
1593 "SpellCheckServiceEnabled": {
1594 "os": ["win", "linux", "mac", "chromeos"],
1595 "official_only": true,
1596 "can_be_recommended": true,
1597 "test_policy": { "SpellCheckServiceEnabled": false },
1599 { "pref": "spellcheck.use_spelling_service",
1600 "indicator_tests": [
1601 { "policy": { "SpellCheckServiceEnabled": false } }
1607 "DisableScreenshots": {
1608 "os": ["win", "linux", "mac", "chromeos"],
1609 "test_policy": { "DisableScreenshots": true },
1611 { "pref": "disable_screenshots" }
1615 "BuiltInDnsClientEnabled": {
1616 "os": ["win", "linux", "mac"],
1617 "test_policy": { "BuiltInDnsClientEnabled": true },
1619 { "pref": "async_dns.enabled",
1625 "WPADQuickCheckEnabled": {
1626 "os": ["win", "linux", "mac", "chromeos"],
1627 "test_policy": { "WPADQuickCheckEnabled": true },
1629 { "pref": "proxy.quick_check_enabled",
1635 "RegisteredProtocolHandlers": {
1636 "os": ["win", "linux", "mac", "chromeos"],
1637 "can_be_recommended": true,
1638 "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": "http://example.com/%s", "default": "true"} },
1640 { "pref": "custom_handlers.policy.registered_protocol_handlers",
1641 "check_for_mandatory": false
1646 "HideWebStoreIcon": {
1647 "os": ["win", "linux", "mac", "chromeos"],
1648 "test_policy": { "HideWebStoreIcon": true },
1650 { "pref": "hide_web_store_icon" }
1654 "VariationsRestrictParameter": {
1655 "test_policy": { "VariationsRestrictParameter": "restricted" },
1657 { "pref": "variations_restrict_parameter",
1663 "DataCompressionProxyEnabled": {
1665 "test_policy": { "DataCompressionProxyEnabled": false },
1667 { "pref": "spdy_proxy.enabled" }
1671 "ForceEphemeralProfiles": {
1674 "UserAvatarImage": {
1677 "UserAvatarImage": {
1678 "url": "http://localhost/",
1679 "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
1682 "indicator_selector": "#account-picture-indicator"
1689 "url": "http://localhost/",
1690 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf"
1693 "indicator_selector": "#wallpaper-indicator"
1696 "BrowserGuestModeEnabled": {
1697 "os": ["win", "linux", "mac"],
1698 "test_policy": { "BrowserGuestModeEnabled": true },
1700 { "pref": "profile.browser_guest_enabled",
1706 "BrowserAddPersonEnabled": {
1707 "os": ["win", "linux", "mac"],
1708 "test_policy": { "BrowserAddPersonEnabled": true },
1710 { "pref": "profile.add_person_enabled",
1719 "SSLVersionFallbackMin": {
1720 "os": ["win", "linux", "mac", "chromeos"],
1721 "test_policy": { "SSLVersionFallbackMin": "tls1.2" },
1725 "WelcomePageOnOSUpgradeEnabled": {
1727 "test_policy": { "WelcomePageOnOSUpgradeEnabled": false },
1729 { "pref": "browser.welcome_page_on_os_upgrade_enabled",
1735 "----- Chrome OS policies ------------------------------------------------": {},
1737 "ChromeOsLockOnIdleSuspend": {
1739 "can_be_recommended": true,
1740 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1742 { "pref": "settings.enable_screen_lock",
1743 "indicator_tests": [
1744 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
1750 "PolicyRefreshRate": {
1752 "test_policy": { "PolicyRefreshRate": 300000 },
1754 { "pref": "policy.user_refresh_rate",
1760 "MaxInvalidationFetchDelay": {
1761 "os": ["win", "linux", "mac", "chromeos"],
1762 "test_policy": { "PolicyRefreshRate": 15000 },
1766 "OpenNetworkConfiguration": {
1769 "SAMLOfflineSigninTimeLimit": {
1771 "test_policy": { "SAMLOfflineSigninTimeLimit": 0 },
1773 { "pref": "saml.offline_signin_time_limit" }
1779 "test_policy": { "DriveDisabled": true },
1781 { "pref": "gdata.disabled",
1782 "indicator_tests": [
1783 { "policy": { "DriveDisabled": true } }
1789 "DriveDisabledOverCellular": {
1791 "test_policy": { "DriveDisabledOverCellular": true },
1793 { "pref": "gdata.cellular.disabled" }
1797 "PinnedLauncherApps": {
1799 "can_be_recommended": true,
1800 "test_policy": { "PinnedLauncherApps": [] },
1802 { "pref": "pinned_launcher_apps" }
1806 "ExternalStorageDisabled": {
1808 "test_policy": { "ExternalStorageDisabled": true },
1810 { "pref": "hardware.external_storage_disabled" }
1814 "AudioOutputAllowed": {
1816 "test_policy": { "AudioOutputAllowed": true },
1818 { "pref": "hardware.audio_output_enabled",
1819 "local_state": true }
1823 "ShowLogoutButtonInTray": {
1825 "test_policy": { "ShowLogoutButtonInTray": true },
1827 { "pref": "show_logout_button_in_tray" }
1831 "ShelfAutoHideBehavior": {
1833 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1835 { "pref": "auto_hide_behavior_local" }
1839 "UserDisplayName": {
1843 "SessionLengthLimit": {
1845 "test_policy": { "SessionLengthLimit": 3600000 },
1847 { "pref": "session.length_limit",
1848 "local_state": true }
1852 "ScreenDimDelayAC": {
1854 "test_policy": { "ScreenDimDelayAC": 420000 },
1856 { "pref": "power.ac_screen_dim_delay_ms" }
1860 "ScreenOffDelayAC": {
1862 "test_policy": { "ScreenOffDelayAC": 480000 },
1864 { "pref": "power.ac_screen_off_delay_ms" }
1868 "ScreenLockDelayAC": {
1870 "test_policy": { "ScreenLockDelayAC": 600000 },
1872 { "pref": "power.ac_screen_lock_delay_ms" }
1876 "IdleWarningDelayAC": {
1878 "test_policy": { "IdleWarningDelayAC": 1800000 },
1880 { "pref": "power.ac_idle_warning_delay_ms" }
1886 "test_policy": { "IdleDelayAC": 1800000 },
1888 { "pref": "power.ac_idle_delay_ms" }
1892 "ScreenDimDelayBattery": {
1894 "test_policy": { "ScreenDimDelayBattery": 300000 },
1896 { "pref": "power.battery_screen_dim_delay_ms" }
1900 "ScreenOffDelayBattery": {
1902 "test_policy": { "ScreenOffDelayBattery": 360000 },
1904 { "pref": "power.battery_screen_off_delay_ms" }
1908 "ScreenLockDelayBattery": {
1910 "test_policy": { "ScreenLockDelayBattery": 600000 },
1912 { "pref": "power.battery_screen_lock_delay_ms" }
1916 "IdleWarningDelayBattery": {
1918 "test_policy": { "IdleWarningDelayBattery": 600000 },
1920 { "pref": "power.battery_idle_warning_delay_ms" }
1924 "IdleDelayBattery": {
1926 "test_policy": { "IdleDelayBattery": 600000 },
1928 { "pref": "power.battery_idle_delay_ms" }
1934 "test_policy": { "IdleAction": 0 },
1936 { "pref": "power.ac_idle_action" },
1937 { "pref": "power.battery_idle_action" }
1943 "test_policy": { "IdleActionAC": 0 },
1945 { "pref": "power.ac_idle_action" }
1949 "IdleActionBattery": {
1951 "test_policy": { "IdleActionBattery": 0 },
1953 { "pref": "power.battery_idle_action" }
1959 "test_policy": { "LidCloseAction": 0 },
1961 { "pref": "power.lid_closed_action" }
1965 "PowerManagementUsesAudioActivity": {
1967 "test_policy": { "PowerManagementUsesAudioActivity": true },
1969 { "pref": "power.use_audio_activity" }
1973 "PowerManagementUsesVideoActivity": {
1975 "test_policy": { "PowerManagementUsesVideoActivity": true },
1977 { "pref": "power.use_video_activity" }
1981 "PresentationIdleDelayScale": {
1984 "PresentationScreenDimDelayScale": {
1986 "test_policy": { "PresentationScreenDimDelayScale": 200 },
1988 { "pref": "power.presentation_screen_dim_delay_factor" }
1992 "AllowScreenWakeLocks": {
1994 "test_policy": { "AllowScreenWakeLocks": false },
1996 { "pref": "power.allow_screen_wake_locks" }
2000 "UserActivityScreenDimDelayScale": {
2002 "test_policy": { "UserActivityScreenDimDelayScale": 200 },
2004 { "pref": "power.user_activity_screen_dim_delay_factor" }
2008 "WaitForInitialUserActivity": {
2010 "test_policy": { "WaitForInitialUserActivity": true },
2012 { "pref": "session.wait_for_initial_user_activity",
2013 "local_state": true },
2014 { "pref": "power.wait_for_initial_user_activity" }
2018 "PowerManagementIdleSettings": {
2020 "test_policy": { "PowerManagementIdleSettings" : { "AC": { "Delays": { "ScreenDim": 5000, "ScreenOff": 7000, "IdleWarning": 8000, "Idle": 9000 }, "IdleAction": "Logout" }, "Battery": { "Delays": { "ScreenDim": 1000, "ScreenOff": 3000, "IdleWarning": 4000, "Idle": 5000 }, "IdleAction": "Logout"} } },
2022 { "pref": "power.ac_screen_dim_delay_ms" },
2023 { "pref": "power.ac_screen_off_delay_ms" },
2024 { "pref": "power.ac_idle_warning_delay_ms" },
2025 { "pref": "power.ac_idle_delay_ms" },
2026 { "pref": "power.battery_screen_dim_delay_ms" },
2027 { "pref": "power.battery_screen_off_delay_ms" },
2028 { "pref": "power.battery_idle_warning_delay_ms" },
2029 { "pref": "power.battery_idle_delay_ms" }
2033 "ScreenLockDelays": {
2035 "test_policy": { "ScreenLockDelays": { "AC": 6000, "Battery": 2000 } },
2037 { "pref": "power.ac_screen_lock_delay_ms" },
2038 { "pref": "power.battery_screen_lock_delay_ms" }
2042 "TermsOfServiceURL": {
2044 "test_policy": { "TermsOfServiceURL": "http://www.example.com/terms_of_service.txt" },
2046 { "pref": "terms_of_service.url" }
2050 "ShowAccessibilityOptionsInSystemTrayMenu": {
2052 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
2054 { "pref": "settings.a11y.enable_menu",
2055 "indicator_tests": [
2056 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } }
2062 "LargeCursorEnabled": {
2064 "test_policy": { "LargeCursorEnabled": true },
2066 { "pref": "settings.a11y.large_cursor_enabled",
2067 "indicator_tests": [
2068 { "policy": { "LargeCursorEnabled": true } }
2074 "SpokenFeedbackEnabled": {
2076 "test_policy": { "SpokenFeedbackEnabled": true },
2078 { "pref": "settings.accessibility",
2079 "indicator_tests": [
2080 { "policy": { "SpokenFeedbackEnabled": true } }
2086 "HighContrastEnabled": {
2088 "test_policy": { "HighContrastEnabled": true },
2090 { "pref": "settings.a11y.high_contrast_enabled",
2091 "indicator_tests": [
2092 { "policy": { "HighContrastEnabled": true } }
2098 "ScreenMagnifierType": {
2100 "test_policy": { "ScreenMagnifierType": 1 },
2102 { "pref": "settings.a11y.screen_magnifier",
2103 "indicator_tests": [
2104 { "policy": { "ScreenMagnifierType": 1 } }
2107 { "pref": "settings.a11y.screen_magnifier_type2" }
2111 "VirtualKeyboardEnabled": {
2113 "test_policy": { "VirtualKeyboardEnabled": true },
2115 { "pref": "settings.a11y.virtual_keyboard",
2116 "indicator_tests": [
2117 { "policy": { "VirtualKeyboardEnabled": true } }
2123 "KeyboardDefaultToFunctionKeys": {
2125 "test_policy": { "KeyboardDefaultToFunctionKeys": true },
2127 { "pref": "settings.language.send_function_keys",
2128 "indicator_tests": [
2129 { "policy": { "KeyboardDefaultToFunctionKeys": true } }
2135 "AttestationEnabledForUser": {
2137 "test_policy": { "AttestationEnabledForUser": true },
2139 { "pref": "attestation.enabled" }
2143 "AttestationExtensionWhitelist": {
2145 "test_policy": { "AttestationExtensionWhitelist": ["test_ext_id1", "test_ext_id2"] },
2147 { "pref": "attestation.extension_whitelist" }
2151 "ContentPackDefaultFilteringBehavior": {
2154 "ContentPackManualBehaviorHosts": {
2157 "ContentPackManualBehaviorURLs": {
2160 "ManagedBookmarks": {
2163 "FullscreenAllowed": {
2164 "os": ["win", "linux", "chromeos"],
2165 "test_policy": { "FullscreenAllowed": false },
2167 { "pref": "fullscreen.allowed" },
2168 { "pref": "apps.fullscreen.allowed" }
2172 "ChromeOsMultiProfileUserBehavior": {
2174 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
2176 { "pref": "settings.multiprofile_user_behavior" }
2180 "NativeMessagingBlacklist": {
2181 "os": ["win", "linux", "mac"],
2182 "test_policy": { "NativeMessagingBlacklist": ["*"] },
2184 { "pref": "native_messaging.blacklist" }
2188 "NativeMessagingWhitelist": {
2189 "os": ["win", "linux", "mac"],
2190 "test_policy": { "NativeMessagingWhitelist": ["native.messaging.host.name"] },
2192 { "pref": "native_messaging.whitelist" }
2196 "NativeMessagingUserLevelHosts": {
2197 "os": ["win", "linux", "mac"],
2198 "test_policy": { "NativeMessagingUserLevelHosts": false },
2200 { "pref": "native_messaging.user_level_hosts" }
2204 "EnableDeprecatedWebPlatformFeatures": {
2205 "os": ["win", "linux", "mac", "chromeos"],
2207 "EnableDeprecatedWebPlatformFeatures": [
2208 "ShowModalDialog_EffectiveUntil20150430"
2212 { "pref": "enable_deprecated_web_platform_features" }
2216 "TouchVirtualKeyboardEnabled": {
2218 "test_policy": { "TouchVirtualKeyboardEnabled": false },
2220 { "pref": "ui.touch_virtual_keyboard_enabled" }
2224 "EasyUnlockAllowed": {
2226 "test_policy": { "EasyUnlockAllowed": false },
2228 { "pref": "easy_unlock.allowed" }
2234 "can_be_recommended": true
2237 "ForceMaximizeOnFirstRun": {
2239 "test_policy": { "ForceMaximizeOnFirstRun": true },
2241 { "pref": "ui.force_maximize_on_first_run" }
2245 "SSLErrorOverrideAllowed": {
2246 "os": ["win", "linux", "mac", "chromeos"],
2247 "test_policy": { "SSLErrorOverrideAllowed": true },
2249 { "pref": "ssl.error_override_allowed" }
2256 "HardwareAccelerationModeEnabled": {
2257 "os": ["win", "linux", "mac"],
2258 "test_policy": { "HardwareAccelerationModeEnabled": true },
2260 { "pref": "hardware_acceleration_mode.enabled",
2261 "local_state": true,
2262 "indicator_tests": [
2263 { "policy": { "HardwareAccelerationModeEnabled": true } },
2264 { "policy": { "HardwareAccelerationModeEnabled": false } }
2270 "----- Chrome OS device policies ---------------------------------------": {},
2272 "DevicePolicyRefreshRate": {
2274 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2276 { "pref": "policy.device_refresh_rate",
2277 "local_state": true }
2281 "ChromeOsReleaseChannel": {
2284 "ChromeOsReleaseChannelDelegated": {
2287 "DeviceOpenNetworkConfiguration": {
2290 "HeartbeatEnabled": {
2293 "HeartbeatFrequency": {
2296 "ReportDeviceVersionInfo": {
2299 "ReportDeviceActivityTimes": {
2302 "ReportDeviceBootMode": {
2305 "ReportDeviceNetworkInterfaces": {
2308 "ReportDeviceUsers": {
2311 "ReportDeviceHardwareStatus": {
2314 "ReportDeviceSessionStatus": {
2317 "ReportUploadFrequency": {
2320 "DeviceAllowNewUsers": {
2323 "DeviceUserWhitelist": {
2326 "DeviceGuestModeEnabled": {
2329 "DeviceShowUserNamesOnSignin": {
2332 "DeviceDataRoamingEnabled": {
2335 "DeviceMetricsReportingEnabled": {
2337 "official_only": true,
2338 "test_policy": { "DeviceMetricsReportingEnabled": true },
2340 { "pref": "cros.metrics.reportingEnabled",
2341 "indicator_test_setup_js": "var controllingPref = 'spellcheck.use_spelling_service'; var testedPref = 'cros.metrics.reportingEnabled'; Preferences.prefsChangedCallback([testedPref, Preferences.getInstance().registeredPreferences_[controllingPref].orig]); Preferences.getInstance().addEventListener(controllingPref, function(event) {Preferences.prefsChangedCallback([testedPref, {value: event.value.value, controlledBy: event.value.controlledBy, disabled: event.value.disabled}]);});",
2342 "indicator_tests": [
2343 { "policy": { "SpellCheckServiceEnabled": true } }
2348 "note": "TODO(bartfab): The |indicator_test_setup_js| above is a hack that makes |cros.metrics.reportingEnabled| track the status of the entirely unrelated |spellcheck.use_spelling_service| pref. This is because cros settings cannot currently be made policy-controlled in browser tests. Remove this hack once that restriction is lifted."
2351 "DeviceEphemeralUsersEnabled": {
2354 "DeviceRebootOnShutdown": {
2357 "DeviceIdleLogoutTimeout": {
2360 "DeviceIdleLogoutWarningDuration": {
2363 "DeviceLoginScreenSaverId": {
2366 "DeviceLoginScreenSaverTimeout": {
2369 "DeviceStartUpUrls": {
2375 "DeviceAutoUpdateDisabled": {
2378 "DeviceAutoUpdateP2PEnabled": {
2381 "DeviceTargetVersionPrefix": {
2384 "DeviceUpdateScatterFactor": {
2387 "DeviceUpdateAllowedConnectionTypes": {
2390 "DeviceUpdateHttpDownloadsEnabled": {
2393 "ReportDeviceLocation": {
2399 "SystemUse24HourClock": {
2402 "DeviceLocalAccounts": {
2405 "DeviceLocalAccountAutoLoginId": {
2408 "DeviceLocalAccountAutoLoginDelay": {
2411 "DeviceLocalAccountAutoLoginBailoutEnabled": {
2414 "DeviceLocalAccountPromptForNetworkWhenOffline": {
2417 "DeviceBlockDevmode": {
2420 "DeviceLoginScreenPowerManagement": {
2423 "DeviceAllowRedeemChromeOsRegistrationOffers": {
2426 "DeviceStartUpFlags": {
2429 "DeviceVariationsRestrictParameter" : {
2432 "DeviceLoginScreenDefaultLargeCursorEnabled" : {
2435 "DeviceLoginScreenDefaultSpokenFeedbackEnabled" : {
2438 "DeviceLoginScreenDefaultHighContrastEnabled" : {
2441 "DeviceLoginScreenDefaultScreenMagnifierType" : {
2444 "DeviceLoginScreenDefaultVirtualKeyboardEnabled" : {
2450 "RebootAfterUpdate": {
2453 "AttestationEnabledForDevice": {
2456 "AttestationForContentProtectionEnabled": {
2459 "SupervisedUsersEnabled": {
2462 "SupervisedUserCreationEnabled": {
2465 "AutoCleanUpStrategy": {
2468 "DeviceTransferSAMLCookies": {
2471 "ExtensionCacheSize": {
2474 "DeviceLoginScreenDomainAutoComplete": {
2477 "----- Chrome Frame policies -------------------------------------------": {},
2479 "ChromeFrameRendererSettings": {
2482 "RenderInChromeFrameList": {
2485 "RenderInHostList": {
2488 "ChromeFrameContentTypes": {
2494 "AdditionalLaunchParameters": {
2497 "SuppressChromeFrameTurndownPrompt": {
2500 "SkipMetadataCheck": {