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": "net.network_prediction_options",
118 { "policy": { "DnsPrefetchingEnabled": false } }
124 "NetworkPredictionOptions": {
125 "os": ["win", "linux", "mac", "chromeos"],
126 "can_be_recommended": true,
127 "test_policy": { "NetworkPredictionOptions": 2 },
129 { "pref": "net.network_prediction_options",
131 { "policy": { "NetworkPredictionOptions": 2 } }
138 "os": ["win", "linux", "mac", "chromeos"],
139 "test_policy": { "DisableSpdy": true },
141 { "pref": "spdy.disabled" }
146 "os": ["win", "linux", "mac", "chromeos"],
147 "test_policy": { "QuicAllowed": true }
151 "os": ["win", "linux", "mac", "chromeos"],
152 "test_policy": { "DisabledSchemes": ["file"] },
154 { "pref": "policy.url_blacklist" }
158 "JavascriptEnabled": {
159 "os": ["win", "linux", "mac", "chromeos"],
160 "test_policy": { "JavascriptEnabled": false },
162 { "pref": "profile.managed_default_content_settings.javascript",
163 "indicator_selector": "[content-setting=javascript]",
165 { "policy": { "JavascriptEnabled": false },
172 "IncognitoEnabled": {
173 "os": ["win", "linux", "mac", "chromeos"],
174 "test_policy": { "IncognitoEnabled": false },
176 { "pref": "incognito.mode_availability" }
180 "IncognitoModeAvailability": {
181 "os": ["win", "linux", "mac", "chromeos"],
182 "test_policy": { "IncognitoModeAvailability": 1 },
184 { "pref": "incognito.mode_availability" }
188 "SavingBrowserHistoryDisabled": {
189 "os": ["win", "linux", "mac", "chromeos"],
190 "test_policy": { "SavingBrowserHistoryDisabled": true },
192 { "pref": "history.saving_disabled" }
196 "AllowDeletingBrowserHistory": {
198 "test_policy": { "AllowDeletingBrowserHistory": false },
200 { "pref": "history.deleting_enabled" }
204 "RemoteAccessClientFirewallTraversal": {
207 "RemoteAccessHostFirewallTraversal": {
210 "RemoteAccessHostRequireTwoFactor": {
213 "RemoteAccessHostDomain": {
216 "RemoteAccessHostTalkGadgetPrefix": {
219 "RemoteAccessHostRequireCurtain": {
222 "RemoteAccessHostAllowClientPairing": {
225 "RemoteAccessHostAllowGnubbyAuth": {
228 "RemoteAccessHostAllowRelayedConnection": {
231 "RemoteAccessHostUdpPortRange": {
234 "RemoteAccessHostMatchUsername": {
237 "RemoteAccessHostTokenUrl": {
240 "RemoteAccessHostTokenValidationUrl": {
243 "RemoteAccessHostTokenValidationCertificateIssuer": {
246 "RemoteAccessHostDebugOverridePolicies": {
250 "os": ["win", "linux", "mac", "chromeos"],
251 "test_policy": { "PrintingEnabled": false },
253 { "pref": "printing.enabled" }
257 "CloudPrintProxyEnabled": {
259 "test_policy": { "CloudPrintProxyEnabled": true },
261 { "pref": "cloud_print.enabled" }
265 "CloudPrintSubmitEnabled": {
266 "os": ["win", "mac", "linux"],
267 "test_policy": { "CloudPrintSubmitEnabled": false },
269 { "pref": "cloud_print.submit_enabled" }
273 "SafeBrowsingEnabled": {
274 "os": ["win", "linux", "mac", "chromeos"],
275 "can_be_recommended": true,
276 "test_policy": { "SafeBrowsingEnabled": false },
278 { "pref": "safebrowsing.enabled",
280 { "policy": { "SafeBrowsingEnabled": false } }
287 "pref": "settings.force_safesearch",
288 "test_policy": { "ForceSafeSearch": true },
289 "settings_pages": [],
290 "os": ["win", "linux", "mac", "chromeos"]
293 "ForceGoogleSafeSearch": {
294 "pref": "settings.force_google_safesearch",
295 "test_policy": { "ForceGoogleSafeSearch": true },
296 "settings_pages": [],
297 "os": ["win", "linux", "mac", "chromeos"]
300 "ForceYouTubeSafetyMode": {
301 "pref": "settings.force_youtube_safety_mode",
302 "test_policy": { "ForceYouTubeSafetyMode": true },
303 "settings_pages": [],
304 "os": ["win", "linux", "mac", "chromeos"]
307 "MetricsReportingEnabled": {
308 "os": ["win", "mac", "linux"],
309 "official_only": true,
310 "can_be_recommended": true,
311 "test_policy": { "MetricsReportingEnabled": false },
312 "indicator_selector": "#metrics-reporting-disabled-icon",
314 { "pref": "user_experience_metrics.reporting_enabled",
320 "PasswordManagerEnabled": {
321 "os": ["win", "linux", "mac", "chromeos"],
322 "can_be_recommended": true,
323 "test_policy": { "PasswordManagerEnabled": false },
325 { "pref": "profile.password_manager_enabled",
327 { "policy": { "PasswordManagerEnabled": false } }
333 "PasswordManagerAllowShowPasswords": {
334 "os": ["win", "linux", "mac", "chromeos"],
335 "test_policy": { "PasswordManagerAllowShowPasswords": false },
337 { "pref": "profile.password_manager_allow_show_passwords" }
341 "ContextualSearchEnabled": {
346 "os": ["win", "linux", "mac", "chromeos"],
347 "can_be_recommended": true,
348 "test_policy": { "AutoFillEnabled": false },
350 { "pref": "autofill.enabled",
352 { "policy": { "AutoFillEnabled": false } }
359 "os": ["win", "linux", "mac", "chromeos"],
360 "test_policy": { "DisabledPlugins": ["Flash"] },
362 { "pref": "plugins.plugins_disabled" }
367 "os": ["win", "linux", "mac", "chromeos"],
368 "test_policy": { "EnabledPlugins": ["Flash"] },
370 { "pref": "plugins.plugins_enabled" }
374 "DisabledPluginsExceptions": {
375 "os": ["win", "linux", "mac", "chromeos"],
376 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
378 { "pref": "plugins.plugins_disabled_exceptions" }
382 "DisablePluginFinder": {
383 "os": ["win", "linux", "mac", "chromeos"],
384 "test_policy": { "DisablePluginFinder": true },
386 { "pref": "plugins.disable_plugin_finder",
393 "os": ["win", "linux", "mac", "chromeos"],
394 "test_policy": { "SyncDisabled": true },
396 { "pref": "sync.managed" }
401 "os": ["win", "linux", "mac"],
402 "test_policy": { "SigninAllowed": true },
404 { "pref": "signin.allowed" }
408 "EnableDeprecatedWebBasedSignin": {
409 "os": ["win", "linux", "mac"],
410 "test_policy": { "EnableDeprecatedWebBasedSignin": false }
414 "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."
418 "os": ["win", "mac", "linux"],
419 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
421 { "pref": "browser.disk_cache_dir" }
426 "os": ["win", "mac", "linux"],
427 "test_policy": { "DiskCacheSize": 100 },
429 { "pref": "browser.disk_cache_size" }
434 "os": ["win", "mac", "linux"],
435 "test_policy": { "MediaCacheSize": 200 },
437 { "pref": "browser.media_cache_size" }
441 "DownloadDirectory.0": {
442 "os": ["win", "mac", "linux", "chromeos"],
443 "can_be_recommended": true,
444 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
446 { "pref": "download.default_directory",
448 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
451 { "pref": "download.prompt_for_download",
452 "check_for_recommended" : false,
454 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
460 "DownloadDirectory.1": {
462 "test_policy": { "DownloadDirectory": "${google_drive}/downloads" },
464 { "pref": "gdata.disabled",
466 { "policy": { "DownloadDirectory": "${google_drive}/downloads" } }
472 "ClearSiteDataOnExit": {
473 "note": "This policy is retired, see http://crbug.com/133291."
476 "CaptivePortalAuthenticationIgnoresProxy": {
478 "test_policy": { "CaptivePortalAuthenticationIgnoresProxy": true },
480 { "pref": "proxy.captive_portal_ignores_proxy" }
485 "os": ["win", "mac", "linux"],
486 "test_policy": { "ProxyMode": "direct" },
490 { "policy": { "ProxyMode": "direct" } }
497 "os": ["win", "mac", "linux"],
498 "test_policy": { "ProxyServerMode": 0 },
502 { "policy": { "ProxyServerMode": 0 } }
509 "os": ["win", "mac", "linux"],
510 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" },
514 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" } }
521 "os": ["win", "mac", "linux"],
522 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" },
526 { "policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" } }
533 "os": ["win", "mac", "linux"],
534 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" },
538 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" } }
545 "os": ["linux", "win"],
546 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } },
550 { "policy": { "ProxySettings": { "ProxyMode": "direct" } } }
556 "EnableOriginBoundCerts": {
557 "note": "This policy is retired, see http://crbug.com/354749."
560 "DisableSSLRecordSplitting": {
561 "os": ["win", "linux", "mac", "chromeos"],
562 "test_policy": { "DisableSSLRecordSplitting": true },
564 { "pref": "ssl.ssl_record_splitting.disabled",
570 "EnableOnlineRevocationChecks": {
571 "os": ["win", "linux", "mac", "chromeos"],
572 "test_policy": { "EnableOnlineRevocationChecks": true },
574 { "pref": "ssl.rev_checking.enabled",
580 "RequireOnlineRevocationChecksForLocalAnchors": {
581 "os": ["win", "linux", "chromeos"],
582 "test_policy": { "RequireOnlineRevocationChecksForLocalAnchors": true },
584 { "pref": "ssl.rev_checking.required_for_local_anchors",
591 "os": ["win", "linux", "mac", "chromeos", "android"],
592 "test_policy": { "AuthSchemes": "AuthSchemes" },
594 { "pref": "auth.schemes",
600 "DisableAuthNegotiateCnameLookup": {
601 "os": ["win", "linux", "mac", "chromeos", "android"],
602 "test_policy": { "DisableAuthNegotiateCnameLookup": true },
604 { "pref": "auth.disable_negotiate_cname_lookup",
610 "EnableAuthNegotiatePort": {
611 "os": ["win", "linux", "mac", "chromeos"],
612 "test_policy": { "EnableAuthNegotiatePort": true },
614 { "pref": "auth.enable_negotiate_port",
620 "AuthServerWhitelist": {
621 "os": ["win", "linux", "mac", "chromeos", "android"],
622 "test_policy": { "AuthServerWhitelist": "localhost" },
624 { "pref": "auth.server_whitelist",
630 "AuthNegotiateDelegateWhitelist": {
631 "os": ["win", "linux", "mac", "chromeos", "android"],
632 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" },
634 { "pref": "auth.negotiate_delegate_whitelist",
640 "GSSAPILibraryName": {
641 "os": ["mac", "linux"],
642 "test_policy": { "GSSAPILibraryName": "libwhatever.so" },
644 { "pref": "auth.gssapi_library_name",
650 "AuthAndroidNegotiateAccountType": {
652 "test_policy": { "AuthAndroidNegotiateAccountType": "com.example.spnego" },
654 { "pref": "auth.android_negotiate_account_type",
660 "AllowCrossOriginAuthPrompt": {
661 "os": ["win", "mac", "linux"],
662 "test_policy": { "AllowCrossOriginAuthPrompt": true },
664 { "pref": "auth.allow_cross_origin_prompt",
670 "ExtensionInstallBlacklist": {
671 "os": ["win", "linux", "mac", "chromeos"],
672 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
674 { "pref": "extensions.install.denylist" }
678 "ExtensionInstallWhitelist": {
679 "os": ["win", "linux", "mac", "chromeos"],
680 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"] },
682 { "pref": "extensions.install.allowlist" }
686 "ExtensionInstallForcelist": {
687 "os": ["win", "linux", "mac", "chromeos"],
688 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
690 { "pref": "extensions.install.forcelist" }
694 "ExtensionInstallSources": {
695 "os": ["win", "linux", "mac", "chromeos"],
696 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
698 { "pref": "extensions.allowed_install_sites" }
702 "ExtensionAllowedTypes": {
703 "os": ["win", "linux", "mac", "chromeos"],
704 "test_policy": { "ExtensionAllowedTypes": ["hosted_app"] },
706 { "pref": "extensions.allowed_types" }
710 "ExtensionSettings": {
711 "os": ["win", "linux", "mac", "chromeos"],
713 "ExtensionSettings": {
714 "abcdefghijklmnopabcdefghijklmnop" : {
715 "installation_mode": "allowed",
716 "blocked_permissions": ["history"]
718 "bcdefghijklmnopabcdefghijklmnopa" : {
719 "installation_mode": "force_installed",
720 "update_url": "http://example.com/update_url",
721 "allowed_permissions": ["downloads"]
724 "installation_mode": "blocked",
725 "blocked_permissions": ["downloads", "bookmarks"],
726 "install_sources": ["http://company-intranet/chromeapps"],
727 "allowed_types": ["hosted_app"]
732 { "pref": "extensions.management" }
737 "os": ["win", "linux", "mac", "chromeos"],
738 "can_be_recommended": true,
739 "test_policy": { "ShowHomeButton": true },
741 { "pref": "browser.show_home_button",
743 { "policy": { "ShowHomeButton": true } }
749 "DeveloperToolsDisabled": {
750 "os": ["win", "linux", "mac", "chromeos"],
751 "test_policy": { "DeveloperToolsDisabled": true },
753 { "pref": "devtools.disabled" }
757 "RestoreOnStartup": {
758 "os": ["win", "linux", "mac", "chromeos"],
759 "can_be_recommended": true,
760 "test_policy": { "RestoreOnStartup": 4 },
762 { "pref": "session.restore_on_startup",
764 { "policy": { "RestoreOnStartup": 1 },
766 { "policy": { "RestoreOnStartup": 4 },
768 { "policy": { "RestoreOnStartup": 5 },
775 "RestoreOnStartupURLs": {
776 "os": ["win", "linux", "mac", "chromeos"],
777 "can_be_recommended": true,
778 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
780 { "pref": "session.startup_urls",
782 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } }
788 "BlockThirdPartyCookies": {
789 "os": ["win", "linux", "mac", "chromeos"],
790 "can_be_recommended": true,
791 "test_policy": { "BlockThirdPartyCookies": true },
793 { "pref": "profile.block_third_party_cookies",
795 { "policy": { "BlockThirdPartyCookies": true } }
801 "DefaultSearchProviderEnabled": {
802 "os": ["win", "linux", "mac", "chromeos"],
803 "test_policy": { "DefaultSearchProviderEnabled": false },
805 { "pref": "default_search_provider_data.template_url_data",
807 { "policy": { "DefaultSearchProviderEnabled": false } },
808 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" } }
814 "DefaultSearchProviderName": {
815 "os": ["win", "linux", "mac", "chromeos"],
816 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderName": "google.com" },
818 { "pref": "default_search_provider_data.template_url_data" }
822 "DefaultSearchProviderKeyword": {
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" }
830 "DefaultSearchProviderSearchURL": {
831 "os": ["win", "linux", "mac", "chromeos"],
832 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
834 { "pref": "default_search_provider_data.template_url_data",
835 "indicator_selector": "[setting=search-engine]",
837 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
843 "DefaultSearchProviderSuggestURL": {
844 "os": ["win", "linux", "mac", "chromeos"],
845 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURL": "http://www.google.com/suggest?q={searchTerms}" },
847 { "pref": "default_search_provider_data.template_url_data" }
851 "DefaultSearchProviderInstantURL": {
852 "os": ["win", "linux", "mac", "chromeos"],
853 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURL": "http://www.google.com/instant?q={searchTerms}" },
855 { "pref": "default_search_provider_data.template_url_data" }
859 "DefaultSearchProviderNewTabURL": {
860 "os": ["win", "linux", "mac", "chromeos"],
861 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderNewTabURL": "http://www.google.com/newtab" },
863 { "pref": "default_search_provider_data.template_url_data" }
867 "DefaultSearchProviderIconURL": {
868 "os": ["win", "linux", "mac", "chromeos"],
869 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.ico" },
871 { "pref": "default_search_provider_data.template_url_data" }
875 "DefaultSearchProviderEncodings": {
876 "os": ["win", "linux", "mac", "chromeos"],
877 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderEncodings": ["UTF-8"] },
879 { "pref": "default_search_provider_data.template_url_data" }
883 "DefaultSearchProviderAlternateURLs": {
884 "os": ["win", "linux", "mac", "chromeos"],
885 "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}"] },
887 { "pref": "default_search_provider_data.template_url_data" }
891 "DefaultSearchProviderSearchTermsReplacementKey": {
892 "os": ["win", "linux", "mac", "chromeos"],
893 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchTermsReplacementKey": "espv" },
895 { "pref": "default_search_provider_data.template_url_data" }
899 "DefaultSearchProviderImageURL": {
900 "os": ["win", "linux", "mac", "chromeos"],
901 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURL": "http://www.google.com/searchbyimage/upload" },
903 { "pref": "default_search_provider_data.template_url_data" }
907 "DefaultSearchProviderSearchURLPostParams": {
908 "os": ["win", "linux", "mac", "chromeos"],
909 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchURLPostParams": "" },
911 { "pref": "default_search_provider_data.template_url_data" }
915 "DefaultSearchProviderSuggestURLPostParams": {
916 "os": ["win", "linux", "mac", "chromeos"],
917 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURLPostParams": "" },
919 { "pref": "default_search_provider_data.template_url_data" }
923 "DefaultSearchProviderInstantURLPostParams": {
924 "os": ["win", "linux", "mac", "chromeos"],
925 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURLPostParams": "" },
927 { "pref": "default_search_provider_data.template_url_data" }
931 "DefaultSearchProviderImageURLPostParams": {
932 "os": ["win", "linux", "mac", "chromeos"],
933 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURLPostParams": "image_content={imageThumbnail},image_url={imageURL},sbisrc={imageSearchSource}" },
935 { "pref": "default_search_provider_data.template_url_data" }
939 "DefaultCookiesSetting": {
940 "os": ["win", "linux", "mac", "chromeos"],
941 "test_policy": { "DefaultCookiesSetting": 2 },
943 { "pref": "profile.managed_default_content_settings.cookies",
944 "indicator_selector": "[content-setting=cookies]",
946 { "policy": { "DefaultCookiesSetting": 1 },
948 { "policy": { "DefaultCookiesSetting": 2 },
950 { "policy": { "DefaultCookiesSetting": 4 },
956 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
959 "DefaultImagesSetting": {
960 "os": ["win", "linux", "mac", "chromeos"],
961 "test_policy": { "DefaultImagesSetting": 2 },
963 { "pref": "profile.managed_default_content_settings.images",
964 "indicator_selector": "[content-setting=images]",
966 { "policy": { "DefaultImagesSetting": 1 },
968 { "policy": { "DefaultImagesSetting": 2 },
974 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
977 "DefaultJavaScriptSetting": {
978 "os": ["win", "linux", "mac", "chromeos"],
979 "test_policy": { "DefaultJavaScriptSetting": 2 },
981 { "pref": "profile.managed_default_content_settings.javascript",
982 "indicator_selector": "[content-setting=javascript]",
984 { "policy": { "DefaultJavaScriptSetting": 1 },
986 { "policy": { "DefaultJavaScriptSetting": 2 },
992 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
995 "DefaultPluginsSetting": {
996 "os": ["win", "linux", "mac", "chromeos"],
997 "test_policy": { "DefaultPluginsSetting": 2 },
999 { "pref": "profile.managed_default_content_settings.plugins",
1000 "indicator_selector": "[content-setting=plugins]",
1001 "indicator_tests": [
1002 { "policy": { "DefaultPluginsSetting": 1 },
1004 { "policy": { "DefaultPluginsSetting": 2 },
1010 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1013 "DefaultPopupsSetting": {
1014 "os": ["win", "linux", "mac", "chromeos"],
1015 "test_policy": { "DefaultPopupsSetting": 2 },
1017 { "pref": "profile.managed_default_content_settings.popups",
1018 "indicator_selector": "[content-setting=popups]",
1019 "indicator_tests": [
1020 { "policy": { "DefaultPopupsSetting": 1 },
1022 { "policy": { "DefaultPopupsSetting": 2 },
1028 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1031 "DefaultNotificationsSetting": {
1032 "os": ["win", "linux", "mac", "chromeos"],
1033 "test_policy": { "DefaultNotificationsSetting": 2 },
1035 { "pref": "profile.managed_default_content_settings.notifications",
1036 "indicator_selector": "[content-setting=notifications]",
1037 "indicator_tests": [
1038 { "policy": { "DefaultNotificationsSetting": 1 },
1040 { "policy": { "DefaultNotificationsSetting": 2 },
1042 { "policy": { "DefaultNotificationsSetting": 3 },
1048 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1051 "DefaultGeolocationSetting": {
1052 "os": ["win", "linux", "mac", "chromeos"],
1053 "test_policy": { "DefaultGeolocationSetting": 2 },
1055 { "pref": "profile.managed_default_content_settings.geolocation",
1056 "indicator_selector": "[content-setting=location]",
1057 "indicator_tests": [
1058 { "policy": { "DefaultGeolocationSetting": 1 },
1060 { "policy": { "DefaultGeolocationSetting": 2 },
1062 { "policy": { "DefaultGeolocationSetting": 3 },
1068 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1071 "DefaultMediaStreamSetting": {
1072 "os": ["win", "linux", "mac", "chromeos"],
1073 "test_policy": { "DefaultMediaStreamSetting": 2 },
1075 { "pref": "profile.managed_default_content_settings.media_stream",
1076 "indicator_selector": "[content-setting=media-stream-mic],[content-setting=media-stream-camera]",
1077 "indicator_tests": [
1078 { "policy": { "DefaultMediaStreamSetting": 2 },
1081 { "policy": { "DefaultMediaStreamSetting": 3 },
1088 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1091 "DefaultMediaStreamSetting.OverriddenByAudioCaptureAllowed": {
1092 "os": ["win", "linux", "mac", "chromeos"],
1093 "test_policy": { "DefaultMediaStreamSetting": 3,
1094 "AudioCaptureAllowed": false },
1096 { "pref": "profile.managed_default_content_settings.media_stream",
1097 "indicator_selector": "[content-setting=media-stream-mic]",
1098 "indicator_tests": [
1099 { "policy": { "AudioCaptureAllowed": false },
1102 { "policy": { "AudioCaptureAllowed": true,
1103 "DefaultMediaStreamSetting": 2 },
1106 { "policy": { "AudioCaptureAllowed": true,
1107 "DefaultMediaStreamSetting": 3 },
1115 "DefaultMediaStreamSetting.OverriddenByVideoCaptureAllowed": {
1116 "os": ["win", "linux", "mac", "chromeos"],
1117 "test_policy": { "DefaultMediaStreamSetting": 3,
1118 "VideoCaptureAllowed": false },
1120 { "pref": "profile.managed_default_content_settings.media_stream",
1121 "indicator_selector": "[content-setting=media-stream-camera]",
1122 "indicator_tests": [
1123 { "policy": { "VideoCaptureAllowed": false },
1126 { "policy": { "VideoCaptureAllowed": true,
1127 "DefaultMediaStreamSetting": 2 },
1130 { "policy": { "VideoCaptureAllowed": true,
1131 "DefaultMediaStreamSetting": 3 },
1139 "AudioCaptureAllowed": {
1140 "os": ["win", "linux", "mac", "chromeos"],
1141 "test_policy": { "AudioCaptureAllowed": false },
1143 { "pref": "hardware.audio_capture_enabled",
1144 "indicator_selector": "[content-setting=media-stream-mic][value=block]",
1145 "indicator_tests": [
1146 { "policy": { "AudioCaptureAllowed": false },
1154 "AudioCaptureAllowedUrls": {
1155 "os": ["win", "linux", "mac", "chromeos"],
1156 "test_policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
1159 "pref": "hardware.audio_capture_allowed_urls",
1160 "indicator_selector": "[content-exception=media-stream-mic]",
1161 "indicator_tests": [
1162 { "policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] } }
1168 "VideoCaptureAllowed": {
1169 "os": ["win", "linux", "mac", "chromeos"],
1170 "test_policy": { "VideoCaptureAllowed": false },
1172 { "pref": "hardware.video_capture_enabled",
1173 "indicator_selector": "[content-setting=media-stream-camera][value=block]",
1174 "indicator_tests": [
1175 { "policy": { "VideoCaptureAllowed": false },
1183 "VideoCaptureAllowedUrls": {
1184 "os": ["win", "linux", "mac", "chromeos"],
1185 "test_policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
1188 "pref": "hardware.video_capture_allowed_urls",
1189 "indicator_selector": "[content-exception=media-stream-camera]",
1190 "indicator_tests": [
1191 { "policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] } }
1197 "AutoSelectCertificateForUrls": {
1198 "os": ["win", "linux", "mac", "chromeos"],
1199 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://example.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1201 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1204 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1207 "CookiesAllowedForUrls": {
1208 "os": ["win", "linux", "mac", "chromeos"],
1209 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
1211 { "pref": "profile.managed_cookies_allowed_for_urls",
1212 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1213 "indicator_selector": "[content-exception=cookies]",
1214 "indicator_tests": [
1215 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } }
1220 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1223 "CookiesBlockedForUrls": {
1224 "os": ["win", "linux", "mac", "chromeos"],
1225 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
1227 { "pref": "profile.managed_cookies_blocked_for_urls",
1228 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1229 "indicator_selector": "[content-exception=cookies]",
1230 "indicator_tests": [
1231 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } }
1236 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1239 "CookiesSessionOnlyForUrls": {
1240 "os": ["win", "linux", "mac", "chromeos"],
1241 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
1243 { "pref": "profile.managed_cookies_sessiononly_for_urls",
1244 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1245 "indicator_selector": "[content-exception=cookies]",
1246 "indicator_tests": [
1247 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } }
1252 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1255 "ImagesAllowedForUrls": {
1256 "os": ["win", "linux", "mac", "chromeos"],
1257 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
1259 { "pref": "profile.managed_images_allowed_for_urls",
1260 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1261 "indicator_selector": "[content-exception=images]",
1262 "indicator_tests": [
1263 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } }
1268 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1271 "ImagesBlockedForUrls": {
1272 "os": ["win", "linux", "mac", "chromeos"],
1273 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
1275 { "pref": "profile.managed_images_blocked_for_urls",
1276 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1277 "indicator_selector": "[content-exception=images]",
1278 "indicator_tests": [
1279 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } }
1284 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1287 "JavaScriptAllowedForUrls": {
1288 "os": ["win", "linux", "mac", "chromeos"],
1289 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
1291 { "pref": "profile.managed_javascript_allowed_for_urls",
1292 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1293 "indicator_selector": "[content-exception=javascript]",
1294 "indicator_tests": [
1295 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } }
1300 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1303 "JavaScriptBlockedForUrls": {
1304 "os": ["win", "linux", "mac", "chromeos"],
1305 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
1307 { "pref": "profile.managed_javascript_blocked_for_urls",
1308 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1309 "indicator_selector": "[content-exception=javascript]",
1310 "indicator_tests": [
1311 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1316 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1319 "PluginsAllowedForUrls": {
1320 "os": ["win", "linux", "mac", "chromeos"],
1321 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1323 { "pref": "profile.managed_plugins_allowed_for_urls",
1324 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1325 "indicator_selector": "[content-exception=plugins]",
1326 "indicator_tests": [
1327 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1332 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1335 "PluginsBlockedForUrls": {
1336 "os": ["win", "linux", "mac", "chromeos"],
1337 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
1339 { "pref": "profile.managed_plugins_blocked_for_urls",
1340 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1341 "indicator_selector": "[content-exception=plugins]",
1342 "indicator_tests": [
1343 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } }
1348 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1351 "PopupsAllowedForUrls": {
1352 "os": ["win", "linux", "mac", "chromeos"],
1353 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
1355 { "pref": "profile.managed_popups_allowed_for_urls",
1356 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1357 "indicator_selector": "[content-exception=popups]",
1358 "indicator_tests": [
1359 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } }
1364 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1367 "PopupsBlockedForUrls": {
1368 "os": ["win", "linux", "mac", "chromeos"],
1369 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
1371 { "pref": "profile.managed_popups_blocked_for_urls",
1372 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1373 "indicator_selector": "[content-exception=popups]",
1374 "indicator_tests": [
1375 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } }
1380 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1383 "NotificationsAllowedForUrls": {
1384 "os": ["win", "linux", "mac", "chromeos"],
1385 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
1387 { "pref": "profile.managed_notifications_allowed_for_urls",
1388 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1389 "indicator_selector": "[content-exception=notifications]",
1390 "indicator_tests": [
1391 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } }
1396 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1399 "NotificationsBlockedForUrls": {
1400 "os": ["win", "linux", "mac", "chromeos"],
1401 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
1403 { "pref": "profile.managed_notifications_blocked_for_urls",
1404 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1405 "indicator_selector": "[content-exception=notifications]",
1406 "indicator_tests": [
1407 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } }
1412 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1416 "os": ["win", "linux", "mac", "chromeos"],
1417 "test_policy": { "Disable3DAPIs": true },
1419 { "pref": "disable_3d_apis" }
1426 "TranslateEnabled": {
1427 "os": ["win", "linux", "mac", "chromeos"],
1428 "can_be_recommended": true,
1429 "test_policy": { "TranslateEnabled": false },
1431 { "pref": "translate.enabled",
1432 "indicator_tests": [
1433 { "policy": { "TranslateEnabled": true } }
1439 "AllowOutdatedPlugins": {
1440 "os": ["win", "linux", "mac", "chromeos"],
1441 "test_policy": { "AllowOutdatedPlugins": true },
1443 { "pref": "plugins.allow_outdated" }
1447 "AlwaysAuthorizePlugins": {
1448 "os": ["win", "linux", "mac", "chromeos"],
1449 "test_policy": { "AlwaysAuthorizePlugins": true },
1451 { "pref": "plugins.always_authorize" }
1455 "BookmarkBarEnabled": {
1456 "os": ["win", "linux", "mac", "chromeos"],
1457 "can_be_recommended": true,
1458 "test_policy": { "BookmarkBarEnabled": true },
1460 { "pref": "bookmark_bar.show_on_all_tabs",
1461 "indicator_tests": [
1462 { "policy": { "BookmarkBarEnabled": true } }
1468 "EditBookmarksEnabled": {
1469 "os": ["win", "linux", "mac", "chromeos"],
1470 "test_policy": { "EditBookmarksEnabled": false },
1472 { "pref": "bookmarks.editing_enabled" }
1476 "ShowAppsShortcutInBookmarkBar": {
1477 "os": ["win", "linux", "mac"],
1478 "test_policy": { "ShowAppsShortcutInBookmarkBar": false },
1480 { "pref": "bookmark_bar.show_apps_shortcut" }
1484 "AllowFileSelectionDialogs": {
1485 "os": ["win", "mac", "linux"],
1486 "test_policy": { "AllowFileSelectionDialogs": false },
1488 { "pref": "select_file_dialogs.allowed",
1491 { "pref": "download.prompt_for_download",
1492 "indicator_tests": [
1493 { "policy": { "AllowFileSelectionDialogs": false } }
1499 "ImportBookmarks": {
1500 "os": ["win", "mac", "linux"],
1501 "can_be_recommended": true,
1502 "test_policy": { "ImportBookmarks": false },
1504 { "pref": "import_bookmarks",
1505 "indicator_tests": [
1506 { "policy": { "ImportBookmarks": false } }
1513 "os": ["win", "mac", "linux"],
1514 "can_be_recommended": true,
1515 "test_policy": { "ImportHistory": false },
1517 { "pref": "import_history",
1518 "indicator_tests": [
1519 { "policy": { "ImportHistory": false } }
1526 "os": ["win", "mac", "linux"],
1527 "test_policy": { "ImportHomepage": false },
1529 { "pref": "import_home_page" }
1533 "ImportSearchEngine": {
1534 "os": ["win", "mac", "linux"],
1535 "can_be_recommended": true,
1536 "test_policy": { "ImportSearchEngine": false },
1538 { "pref": "import_search_engine",
1539 "indicator_tests": [
1540 { "policy": { "ImportSearchEngine": false } }
1546 "ImportSavedPasswords": {
1547 "os": ["win", "mac", "linux"],
1548 "can_be_recommended": true,
1549 "test_policy": { "ImportSavedPasswords": false },
1551 { "pref": "import_saved_passwords",
1552 "indicator_tests": [
1553 { "policy": { "ImportSavedPasswords": false } }
1559 "ImportAutofillFormData": {
1560 "os": ["win", "mac", "linux"],
1561 "can_be_recommended": true,
1562 "test_policy": { "ImportAutofillFormData": false },
1564 { "pref": "import_autofill_form_data",
1565 "indicator_tests": [
1566 { "policy": { "ImportAutofillFormData": false } }
1572 "MaxConnectionsPerProxy": {
1573 "os": ["win", "linux", "mac", "chromeos"],
1574 "test_policy": { "MaxConnectionsPerProxy": 16 },
1576 { "pref": "net.max_connections_per_proxy",
1582 "HideWebStorePromo": {
1586 "os": ["win", "linux", "mac", "chromeos"],
1587 "test_policy": { "URLBlacklist": ["google.com"] },
1589 { "pref": "policy.url_blacklist" }
1594 "os": ["win", "linux", "mac", "chromeos"],
1595 "test_policy": { "URLWhitelist": ["google.com"] },
1597 { "pref": "policy.url_whitelist" }
1601 "EnterpriseWebStoreURL": {
1602 "note": "This policy is retired, see http://crbug.com/178938."
1605 "EnterpriseWebStoreName": {
1606 "note": "This policy is retired, see http://crbug.com/178938."
1609 "EnableMemoryInfo": {
1610 "note": "This policy is retired, see http://crbug.com/350339."
1613 "DisablePrintPreview": {
1614 "os": ["win", "mac", "linux"],
1615 "test_policy": { "DisablePrintPreview": false },
1617 { "pref": "printing.print_preview_disabled" }
1621 "BackgroundModeEnabled": {
1622 "os": ["win", "linux"],
1623 "can_be_recommended": true,
1624 "test_policy": { "BackgroundModeEnabled": false },
1626 { "pref": "background_mode.enabled",
1627 "local_state": true,
1628 "indicator_tests": [
1629 { "policy": { "BackgroundModeEnabled": false } }
1635 "RestrictSigninToPattern": {
1636 "os": ["win", "mac", "linux"],
1637 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
1639 { "pref": "google.services.username_pattern",
1645 "DisableSafeBrowsingProceedAnyway": {
1646 "os": ["win", "linux", "mac", "chromeos"],
1647 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
1649 { "pref": "safebrowsing.proceed_anyway_disabled" }
1653 "SafeBrowsingExtendedReportingOptInAllowed": {
1654 "os": ["win", "linux", "mac", "chromeos"],
1655 "test_policy": { "SafeBrowsingExtendedReportingOptInAllowed": true },
1657 { "pref": "safebrowsing.extended_reporting_opt_in_allowed" }
1661 "SpellCheckServiceEnabled": {
1662 "os": ["win", "linux", "mac", "chromeos"],
1663 "official_only": true,
1664 "can_be_recommended": true,
1665 "test_policy": { "SpellCheckServiceEnabled": false },
1667 { "pref": "spellcheck.use_spelling_service",
1668 "indicator_tests": [
1669 { "policy": { "SpellCheckServiceEnabled": false } }
1675 "DisableScreenshots": {
1676 "os": ["win", "linux", "mac", "chromeos"],
1677 "test_policy": { "DisableScreenshots": true },
1679 { "pref": "disable_screenshots" }
1683 "BuiltInDnsClientEnabled": {
1684 "os": ["win", "linux", "mac"],
1685 "test_policy": { "BuiltInDnsClientEnabled": true },
1687 { "pref": "async_dns.enabled",
1693 "WPADQuickCheckEnabled": {
1694 "os": ["win", "linux", "mac", "chromeos"],
1695 "test_policy": { "WPADQuickCheckEnabled": true },
1697 { "pref": "proxy.quick_check_enabled",
1703 "RegisteredProtocolHandlers": {
1704 "os": ["win", "linux", "mac", "chromeos"],
1705 "can_be_recommended": true,
1706 "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": "http://example.com/%s", "default": "true"} },
1708 { "pref": "custom_handlers.policy.registered_protocol_handlers",
1709 "check_for_mandatory": false
1714 "HideWebStoreIcon": {
1715 "os": ["win", "linux", "mac", "chromeos"],
1716 "test_policy": { "HideWebStoreIcon": true },
1718 { "pref": "hide_web_store_icon" }
1722 "VariationsRestrictParameter": {
1723 "test_policy": { "VariationsRestrictParameter": "restricted" },
1725 { "pref": "variations_restrict_parameter",
1731 "DataCompressionProxyEnabled": {
1733 "test_policy": { "DataCompressionProxyEnabled": false },
1735 { "pref": "spdy_proxy.enabled" }
1739 "ForceEphemeralProfiles": {
1742 "UserAvatarImage": {
1745 "UserAvatarImage": {
1746 "url": "http://localhost/",
1747 "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
1750 "indicator_selector": "#account-picture-indicator"
1757 "url": "http://localhost/",
1758 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf"
1761 "indicator_selector": "#wallpaper-indicator"
1764 "BrowserGuestModeEnabled": {
1765 "os": ["win", "linux", "mac"],
1766 "test_policy": { "BrowserGuestModeEnabled": true },
1768 { "pref": "profile.browser_guest_enabled",
1774 "BrowserAddPersonEnabled": {
1775 "os": ["win", "linux", "mac"],
1776 "test_policy": { "BrowserAddPersonEnabled": true },
1778 { "pref": "profile.add_person_enabled",
1787 "SSLVersionFallbackMin": {
1788 "os": ["win", "linux", "mac", "chromeos"],
1789 "test_policy": { "SSLVersionFallbackMin": "tls1.2" },
1793 "WelcomePageOnOSUpgradeEnabled": {
1795 "test_policy": { "WelcomePageOnOSUpgradeEnabled": false },
1797 { "pref": "browser.welcome_page_on_os_upgrade_enabled",
1803 "----- Chrome OS policies ------------------------------------------------": {},
1805 "ChromeOsLockOnIdleSuspend": {
1807 "can_be_recommended": true,
1808 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1810 { "pref": "settings.enable_screen_lock",
1811 "indicator_tests": [
1812 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
1818 "PolicyRefreshRate": {
1820 "test_policy": { "PolicyRefreshRate": 300000 },
1822 { "pref": "policy.user_refresh_rate",
1828 "MaxInvalidationFetchDelay": {
1829 "os": ["win", "linux", "mac", "chromeos"],
1830 "test_policy": { "PolicyRefreshRate": 15000 },
1834 "OpenNetworkConfiguration": {
1837 "SAMLOfflineSigninTimeLimit": {
1839 "test_policy": { "SAMLOfflineSigninTimeLimit": 0 },
1841 { "pref": "saml.offline_signin_time_limit" }
1847 "test_policy": { "DriveDisabled": true },
1849 { "pref": "gdata.disabled",
1850 "indicator_tests": [
1851 { "policy": { "DriveDisabled": true } }
1857 "DriveDisabledOverCellular": {
1859 "test_policy": { "DriveDisabledOverCellular": true },
1861 { "pref": "gdata.cellular.disabled" }
1865 "PinnedLauncherApps": {
1867 "can_be_recommended": true,
1868 "test_policy": { "PinnedLauncherApps": [] },
1870 { "pref": "pinned_launcher_apps" }
1874 "ExternalStorageDisabled": {
1876 "test_policy": { "ExternalStorageDisabled": true },
1878 { "pref": "hardware.external_storage_disabled" }
1882 "AudioOutputAllowed": {
1884 "test_policy": { "AudioOutputAllowed": true },
1886 { "pref": "hardware.audio_output_enabled",
1887 "local_state": true }
1891 "ShowLogoutButtonInTray": {
1893 "test_policy": { "ShowLogoutButtonInTray": true },
1895 { "pref": "show_logout_button_in_tray" }
1899 "ShelfAutoHideBehavior": {
1901 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1903 { "pref": "auto_hide_behavior_local" }
1907 "UserDisplayName": {
1911 "SessionLengthLimit": {
1913 "test_policy": { "SessionLengthLimit": 3600000 },
1915 { "pref": "session.length_limit",
1916 "local_state": true }
1920 "ScreenDimDelayAC": {
1922 "test_policy": { "ScreenDimDelayAC": 420000 },
1924 { "pref": "power.ac_screen_dim_delay_ms" }
1928 "ScreenOffDelayAC": {
1930 "test_policy": { "ScreenOffDelayAC": 480000 },
1932 { "pref": "power.ac_screen_off_delay_ms" }
1936 "ScreenLockDelayAC": {
1938 "test_policy": { "ScreenLockDelayAC": 600000 },
1940 { "pref": "power.ac_screen_lock_delay_ms" }
1944 "IdleWarningDelayAC": {
1946 "test_policy": { "IdleWarningDelayAC": 1800000 },
1948 { "pref": "power.ac_idle_warning_delay_ms" }
1954 "test_policy": { "IdleDelayAC": 1800000 },
1956 { "pref": "power.ac_idle_delay_ms" }
1960 "ScreenDimDelayBattery": {
1962 "test_policy": { "ScreenDimDelayBattery": 300000 },
1964 { "pref": "power.battery_screen_dim_delay_ms" }
1968 "ScreenOffDelayBattery": {
1970 "test_policy": { "ScreenOffDelayBattery": 360000 },
1972 { "pref": "power.battery_screen_off_delay_ms" }
1976 "ScreenLockDelayBattery": {
1978 "test_policy": { "ScreenLockDelayBattery": 600000 },
1980 { "pref": "power.battery_screen_lock_delay_ms" }
1984 "IdleWarningDelayBattery": {
1986 "test_policy": { "IdleWarningDelayBattery": 600000 },
1988 { "pref": "power.battery_idle_warning_delay_ms" }
1992 "IdleDelayBattery": {
1994 "test_policy": { "IdleDelayBattery": 600000 },
1996 { "pref": "power.battery_idle_delay_ms" }
2002 "test_policy": { "IdleAction": 0 },
2004 { "pref": "power.ac_idle_action" },
2005 { "pref": "power.battery_idle_action" }
2011 "test_policy": { "IdleActionAC": 0 },
2013 { "pref": "power.ac_idle_action" }
2017 "IdleActionBattery": {
2019 "test_policy": { "IdleActionBattery": 0 },
2021 { "pref": "power.battery_idle_action" }
2027 "test_policy": { "LidCloseAction": 0 },
2029 { "pref": "power.lid_closed_action" }
2033 "PowerManagementUsesAudioActivity": {
2035 "test_policy": { "PowerManagementUsesAudioActivity": true },
2037 { "pref": "power.use_audio_activity" }
2041 "PowerManagementUsesVideoActivity": {
2043 "test_policy": { "PowerManagementUsesVideoActivity": true },
2045 { "pref": "power.use_video_activity" }
2049 "PresentationIdleDelayScale": {
2052 "PresentationScreenDimDelayScale": {
2054 "test_policy": { "PresentationScreenDimDelayScale": 200 },
2056 { "pref": "power.presentation_screen_dim_delay_factor" }
2060 "AllowScreenWakeLocks": {
2062 "test_policy": { "AllowScreenWakeLocks": false },
2064 { "pref": "power.allow_screen_wake_locks" }
2068 "UserActivityScreenDimDelayScale": {
2070 "test_policy": { "UserActivityScreenDimDelayScale": 200 },
2072 { "pref": "power.user_activity_screen_dim_delay_factor" }
2076 "WaitForInitialUserActivity": {
2078 "test_policy": { "WaitForInitialUserActivity": true },
2080 { "pref": "session.wait_for_initial_user_activity",
2081 "local_state": true },
2082 { "pref": "power.wait_for_initial_user_activity" }
2086 "PowerManagementIdleSettings": {
2088 "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"} } },
2090 { "pref": "power.ac_screen_dim_delay_ms" },
2091 { "pref": "power.ac_screen_off_delay_ms" },
2092 { "pref": "power.ac_idle_warning_delay_ms" },
2093 { "pref": "power.ac_idle_delay_ms" },
2094 { "pref": "power.battery_screen_dim_delay_ms" },
2095 { "pref": "power.battery_screen_off_delay_ms" },
2096 { "pref": "power.battery_idle_warning_delay_ms" },
2097 { "pref": "power.battery_idle_delay_ms" }
2101 "ScreenLockDelays": {
2103 "test_policy": { "ScreenLockDelays": { "AC": 6000, "Battery": 2000 } },
2105 { "pref": "power.ac_screen_lock_delay_ms" },
2106 { "pref": "power.battery_screen_lock_delay_ms" }
2110 "TermsOfServiceURL": {
2112 "test_policy": { "TermsOfServiceURL": "http://www.example.com/terms_of_service.txt" },
2114 { "pref": "terms_of_service.url" }
2118 "ShowAccessibilityOptionsInSystemTrayMenu": {
2120 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
2122 { "pref": "settings.a11y.enable_menu",
2123 "indicator_tests": [
2124 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } }
2130 "LargeCursorEnabled": {
2132 "test_policy": { "LargeCursorEnabled": true },
2134 { "pref": "settings.a11y.large_cursor_enabled",
2135 "indicator_tests": [
2136 { "policy": { "LargeCursorEnabled": true } }
2142 "SpokenFeedbackEnabled": {
2144 "test_policy": { "SpokenFeedbackEnabled": true },
2146 { "pref": "settings.accessibility",
2147 "indicator_tests": [
2148 { "policy": { "SpokenFeedbackEnabled": true } }
2154 "HighContrastEnabled": {
2156 "test_policy": { "HighContrastEnabled": true },
2158 { "pref": "settings.a11y.high_contrast_enabled",
2159 "indicator_tests": [
2160 { "policy": { "HighContrastEnabled": true } }
2166 "ScreenMagnifierType": {
2168 "test_policy": { "ScreenMagnifierType": 1 },
2170 { "pref": "settings.a11y.screen_magnifier",
2171 "indicator_tests": [
2172 { "policy": { "ScreenMagnifierType": 1 } }
2175 { "pref": "settings.a11y.screen_magnifier_type2" }
2179 "VirtualKeyboardEnabled": {
2181 "test_policy": { "VirtualKeyboardEnabled": true },
2183 { "pref": "settings.a11y.virtual_keyboard",
2184 "indicator_tests": [
2185 { "policy": { "VirtualKeyboardEnabled": true } }
2191 "KeyboardDefaultToFunctionKeys": {
2193 "test_policy": { "KeyboardDefaultToFunctionKeys": true },
2195 { "pref": "settings.language.send_function_keys",
2196 "indicator_tests": [
2197 { "policy": { "KeyboardDefaultToFunctionKeys": true } }
2203 "AttestationEnabledForUser": {
2205 "test_policy": { "AttestationEnabledForUser": true },
2207 { "pref": "attestation.enabled" }
2211 "AttestationExtensionWhitelist": {
2213 "test_policy": { "AttestationExtensionWhitelist": ["test_ext_id1", "test_ext_id2"] },
2215 { "pref": "attestation.extension_whitelist" }
2219 "ContentPackDefaultFilteringBehavior": {
2222 "ContentPackManualBehaviorHosts": {
2225 "ContentPackManualBehaviorURLs": {
2228 "ManagedBookmarks": {
2231 "FullscreenAllowed": {
2232 "os": ["win", "linux", "chromeos"],
2233 "test_policy": { "FullscreenAllowed": false },
2235 { "pref": "fullscreen.allowed" },
2236 { "pref": "apps.fullscreen.allowed" }
2240 "ChromeOsMultiProfileUserBehavior": {
2242 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
2244 { "pref": "settings.multiprofile_user_behavior" }
2248 "NativeMessagingBlacklist": {
2249 "os": ["win", "linux", "mac"],
2250 "test_policy": { "NativeMessagingBlacklist": ["*"] },
2252 { "pref": "native_messaging.blacklist" }
2256 "NativeMessagingWhitelist": {
2257 "os": ["win", "linux", "mac"],
2258 "test_policy": { "NativeMessagingWhitelist": ["native.messaging.host.name"] },
2260 { "pref": "native_messaging.whitelist" }
2264 "NativeMessagingUserLevelHosts": {
2265 "os": ["win", "linux", "mac"],
2266 "test_policy": { "NativeMessagingUserLevelHosts": false },
2268 { "pref": "native_messaging.user_level_hosts" }
2272 "EnableDeprecatedWebPlatformFeatures": {
2273 "os": ["win", "linux", "mac", "chromeos"],
2275 "EnableDeprecatedWebPlatformFeatures": [
2276 "ShowModalDialog_EffectiveUntil20150430"
2280 { "pref": "enable_deprecated_web_platform_features" }
2284 "TouchVirtualKeyboardEnabled": {
2286 "test_policy": { "TouchVirtualKeyboardEnabled": false },
2288 { "pref": "ui.touch_virtual_keyboard_enabled" }
2292 "EasyUnlockAllowed": {
2294 "test_policy": { "EasyUnlockAllowed": false },
2296 { "pref": "easy_unlock.allowed" }
2302 "can_be_recommended": true
2305 "ForceMaximizeOnFirstRun": {
2307 "test_policy": { "ForceMaximizeOnFirstRun": true },
2309 { "pref": "ui.force_maximize_on_first_run" }
2313 "SSLErrorOverrideAllowed": {
2314 "os": ["win", "linux", "mac", "chromeos"],
2315 "test_policy": { "SSLErrorOverrideAllowed": true },
2317 { "pref": "ssl.error_override_allowed" }
2324 "HardwareAccelerationModeEnabled": {
2325 "os": ["win", "linux", "mac"],
2326 "test_policy": { "HardwareAccelerationModeEnabled": true },
2328 { "pref": "hardware_acceleration_mode.enabled",
2329 "local_state": true,
2330 "indicator_tests": [
2331 { "policy": { "HardwareAccelerationModeEnabled": true } },
2332 { "policy": { "HardwareAccelerationModeEnabled": false } }
2338 "UnifiedDesktopEnabledByDefault": {
2340 "can_be_recommended": false,
2341 "test_policy": { "UnifiedDesktopEnabledByDefault": true },
2343 { "pref": "settings.display.unified_desktop_enabled_by_default" }
2347 "----- Chrome OS device policies ---------------------------------------": {},
2349 "DevicePolicyRefreshRate": {
2351 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2353 { "pref": "policy.device_refresh_rate",
2354 "local_state": true }
2358 "ChromeOsReleaseChannel": {
2361 "ChromeOsReleaseChannelDelegated": {
2364 "DeviceOpenNetworkConfiguration": {
2367 "HeartbeatEnabled": {
2370 "HeartbeatFrequency": {
2373 "LogUploadEnabled": {
2376 "ReportDeviceVersionInfo": {
2379 "ReportDeviceActivityTimes": {
2382 "ReportDeviceBootMode": {
2385 "ReportDeviceNetworkInterfaces": {
2388 "ReportDeviceUsers": {
2391 "ReportDeviceHardwareStatus": {
2394 "ReportDeviceSessionStatus": {
2397 "ReportUploadFrequency": {
2400 "DeviceAllowNewUsers": {
2403 "DeviceUserWhitelist": {
2406 "DeviceGuestModeEnabled": {
2409 "DeviceShowUserNamesOnSignin": {
2412 "DeviceDataRoamingEnabled": {
2415 "DeviceMetricsReportingEnabled": {
2417 "official_only": true,
2418 "test_policy": { "DeviceMetricsReportingEnabled": true },
2420 { "pref": "cros.metrics.reportingEnabled",
2421 "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}]);});",
2422 "indicator_tests": [
2423 { "policy": { "SpellCheckServiceEnabled": true } }
2428 "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."
2431 "DeviceEphemeralUsersEnabled": {
2434 "DeviceRebootOnShutdown": {
2437 "DeviceIdleLogoutTimeout": {
2440 "DeviceIdleLogoutWarningDuration": {
2443 "DeviceLoginScreenSaverId": {
2446 "DeviceLoginScreenSaverTimeout": {
2449 "DeviceStartUpUrls": {
2455 "DeviceAutoUpdateDisabled": {
2458 "DeviceAutoUpdateP2PEnabled": {
2461 "DeviceTargetVersionPrefix": {
2464 "DeviceUpdateScatterFactor": {
2467 "DeviceUpdateAllowedConnectionTypes": {
2470 "DeviceUpdateHttpDownloadsEnabled": {
2473 "ReportDeviceLocation": {
2479 "SystemUse24HourClock": {
2482 "DeviceLocalAccounts": {
2485 "DeviceLocalAccountAutoLoginId": {
2488 "DeviceLocalAccountAutoLoginDelay": {
2491 "DeviceLocalAccountAutoLoginBailoutEnabled": {
2494 "DeviceLocalAccountPromptForNetworkWhenOffline": {
2497 "DeviceBlockDevmode": {
2500 "DeviceLoginScreenPowerManagement": {
2503 "DeviceAllowRedeemChromeOsRegistrationOffers": {
2506 "DeviceStartUpFlags": {
2509 "DeviceVariationsRestrictParameter" : {
2512 "DeviceLoginScreenDefaultLargeCursorEnabled" : {
2515 "DeviceLoginScreenDefaultSpokenFeedbackEnabled" : {
2518 "DeviceLoginScreenDefaultHighContrastEnabled" : {
2521 "DeviceLoginScreenDefaultScreenMagnifierType" : {
2524 "DeviceLoginScreenDefaultVirtualKeyboardEnabled" : {
2530 "RebootAfterUpdate": {
2533 "AttestationEnabledForDevice": {
2536 "AttestationForContentProtectionEnabled": {
2539 "SupervisedUsersEnabled": {
2542 "SupervisedUserCreationEnabled": {
2545 "AutoCleanUpStrategy": {
2548 "DeviceTransferSAMLCookies": {
2551 "ExtensionCacheSize": {
2554 "DeviceLoginScreenDomainAutoComplete": {
2557 "----- Chrome Frame policies -------------------------------------------": {},
2559 "ChromeFrameRendererSettings": {
2562 "RenderInChromeFrameList": {
2565 "RenderInHostList": {
2568 "ChromeFrameContentTypes": {
2574 "AdditionalLaunchParameters": {
2577 "SuppressChromeFrameTurndownPrompt": {
2580 "SkipMetadataCheck": {