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", "android"],
594 "test_policy": { "AuthSchemes": "AuthSchemes" },
596 { "pref": "auth.schemes",
602 "DisableAuthNegotiateCnameLookup": {
603 "os": ["win", "linux", "mac", "chromeos", "android"],
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", "android"],
624 "test_policy": { "AuthServerWhitelist": "localhost" },
626 { "pref": "auth.server_whitelist",
632 "AuthNegotiateDelegateWhitelist": {
633 "os": ["win", "linux", "mac", "chromeos", "android"],
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 "AuthAndroidNegotiateAccountType": {
654 "test_policy": { "AuthAndroidNegotiateAccountType": "com.example.spnego" },
656 { "pref": "auth.android_negotiate_account_type",
662 "AllowCrossOriginAuthPrompt": {
663 "os": ["win", "mac", "linux"],
664 "test_policy": { "AllowCrossOriginAuthPrompt": true },
666 { "pref": "auth.allow_cross_origin_prompt",
672 "ExtensionInstallBlacklist": {
673 "os": ["win", "linux", "mac", "chromeos"],
674 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
676 { "pref": "extensions.install.denylist" }
680 "ExtensionInstallWhitelist": {
681 "os": ["win", "linux", "mac", "chromeos"],
682 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"] },
684 { "pref": "extensions.install.allowlist" }
688 "ExtensionInstallForcelist": {
689 "os": ["win", "linux", "mac", "chromeos"],
690 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
692 { "pref": "extensions.install.forcelist" }
696 "ExtensionInstallSources": {
697 "os": ["win", "linux", "mac", "chromeos"],
698 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
700 { "pref": "extensions.allowed_install_sites" }
704 "ExtensionAllowedTypes": {
705 "os": ["win", "linux", "mac", "chromeos"],
706 "test_policy": { "ExtensionAllowedTypes": ["hosted_app"] },
708 { "pref": "extensions.allowed_types" }
712 "ExtensionSettings": {
713 "os": ["win", "linux", "mac", "chromeos"],
715 "ExtensionSettings": {
716 "abcdefghijklmnopabcdefghijklmnop" : {
717 "installation_mode": "allowed",
718 "blocked_permissions": ["history"]
720 "bcdefghijklmnopabcdefghijklmnopa" : {
721 "installation_mode": "force_installed",
722 "update_url": "http://example.com/update_url",
723 "allowed_permissions": ["downloads"]
726 "installation_mode": "blocked",
727 "blocked_permissions": ["downloads", "bookmarks"],
728 "install_sources": ["http://company-intranet/chromeapps"],
729 "allowed_types": ["hosted_app"]
734 { "pref": "extensions.management" }
739 "os": ["win", "linux", "mac", "chromeos"],
740 "can_be_recommended": true,
741 "test_policy": { "ShowHomeButton": true },
743 { "pref": "browser.show_home_button",
745 { "policy": { "ShowHomeButton": true } }
751 "DeveloperToolsDisabled": {
752 "os": ["win", "linux", "mac", "chromeos"],
753 "test_policy": { "DeveloperToolsDisabled": true },
755 { "pref": "devtools.disabled" }
759 "RestoreOnStartup": {
760 "os": ["win", "linux", "mac", "chromeos"],
761 "can_be_recommended": true,
762 "test_policy": { "RestoreOnStartup": 4 },
764 { "pref": "session.restore_on_startup",
766 { "policy": { "RestoreOnStartup": 1 },
768 { "policy": { "RestoreOnStartup": 4 },
770 { "policy": { "RestoreOnStartup": 5 },
777 "RestoreOnStartupURLs": {
778 "os": ["win", "linux", "mac", "chromeos"],
779 "can_be_recommended": true,
780 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
782 { "pref": "session.startup_urls",
784 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } }
790 "BlockThirdPartyCookies": {
791 "os": ["win", "linux", "mac", "chromeos"],
792 "can_be_recommended": true,
793 "test_policy": { "BlockThirdPartyCookies": true },
795 { "pref": "profile.block_third_party_cookies",
797 { "policy": { "BlockThirdPartyCookies": true } }
803 "DefaultSearchProviderEnabled": {
804 "os": ["win", "linux", "mac", "chromeos"],
805 "test_policy": { "DefaultSearchProviderEnabled": false },
807 { "pref": "default_search_provider_data.template_url_data",
809 { "policy": { "DefaultSearchProviderEnabled": false } },
810 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" } }
816 "DefaultSearchProviderName": {
817 "os": ["win", "linux", "mac", "chromeos"],
818 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderName": "google.com" },
820 { "pref": "default_search_provider_data.template_url_data" }
824 "DefaultSearchProviderKeyword": {
825 "os": ["win", "linux", "mac", "chromeos"],
826 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
828 { "pref": "default_search_provider_data.template_url_data" }
832 "DefaultSearchProviderSearchURL": {
833 "os": ["win", "linux", "mac", "chromeos"],
834 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
836 { "pref": "default_search_provider_data.template_url_data",
837 "indicator_selector": "[setting=search-engine]",
839 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
845 "DefaultSearchProviderSuggestURL": {
846 "os": ["win", "linux", "mac", "chromeos"],
847 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURL": "http://www.google.com/suggest?q={searchTerms}" },
849 { "pref": "default_search_provider_data.template_url_data" }
853 "DefaultSearchProviderInstantURL": {
854 "os": ["win", "linux", "mac", "chromeos"],
855 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURL": "http://www.google.com/instant?q={searchTerms}" },
857 { "pref": "default_search_provider_data.template_url_data" }
861 "DefaultSearchProviderNewTabURL": {
862 "os": ["win", "linux", "mac", "chromeos"],
863 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderNewTabURL": "http://www.google.com/newtab" },
865 { "pref": "default_search_provider_data.template_url_data" }
869 "DefaultSearchProviderIconURL": {
870 "os": ["win", "linux", "mac", "chromeos"],
871 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.ico" },
873 { "pref": "default_search_provider_data.template_url_data" }
877 "DefaultSearchProviderEncodings": {
878 "os": ["win", "linux", "mac", "chromeos"],
879 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderEncodings": ["UTF-8"] },
881 { "pref": "default_search_provider_data.template_url_data" }
885 "DefaultSearchProviderAlternateURLs": {
886 "os": ["win", "linux", "mac", "chromeos"],
887 "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}"] },
889 { "pref": "default_search_provider_data.template_url_data" }
893 "DefaultSearchProviderSearchTermsReplacementKey": {
894 "os": ["win", "linux", "mac", "chromeos"],
895 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchTermsReplacementKey": "espv" },
897 { "pref": "default_search_provider_data.template_url_data" }
901 "DefaultSearchProviderImageURL": {
902 "os": ["win", "linux", "mac", "chromeos"],
903 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURL": "http://www.google.com/searchbyimage/upload" },
905 { "pref": "default_search_provider_data.template_url_data" }
909 "DefaultSearchProviderSearchURLPostParams": {
910 "os": ["win", "linux", "mac", "chromeos"],
911 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchURLPostParams": "" },
913 { "pref": "default_search_provider_data.template_url_data" }
917 "DefaultSearchProviderSuggestURLPostParams": {
918 "os": ["win", "linux", "mac", "chromeos"],
919 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURLPostParams": "" },
921 { "pref": "default_search_provider_data.template_url_data" }
925 "DefaultSearchProviderInstantURLPostParams": {
926 "os": ["win", "linux", "mac", "chromeos"],
927 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURLPostParams": "" },
929 { "pref": "default_search_provider_data.template_url_data" }
933 "DefaultSearchProviderImageURLPostParams": {
934 "os": ["win", "linux", "mac", "chromeos"],
935 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURLPostParams": "image_content={imageThumbnail},image_url={imageURL},sbisrc={imageSearchSource}" },
937 { "pref": "default_search_provider_data.template_url_data" }
941 "DefaultCookiesSetting": {
942 "os": ["win", "linux", "mac", "chromeos"],
943 "test_policy": { "DefaultCookiesSetting": 2 },
945 { "pref": "profile.managed_default_content_settings.cookies",
946 "indicator_selector": "[content-setting=cookies]",
948 { "policy": { "DefaultCookiesSetting": 1 },
950 { "policy": { "DefaultCookiesSetting": 2 },
952 { "policy": { "DefaultCookiesSetting": 4 },
958 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
961 "DefaultImagesSetting": {
962 "os": ["win", "linux", "mac", "chromeos"],
963 "test_policy": { "DefaultImagesSetting": 2 },
965 { "pref": "profile.managed_default_content_settings.images",
966 "indicator_selector": "[content-setting=images]",
968 { "policy": { "DefaultImagesSetting": 1 },
970 { "policy": { "DefaultImagesSetting": 2 },
976 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
979 "DefaultJavaScriptSetting": {
980 "os": ["win", "linux", "mac", "chromeos"],
981 "test_policy": { "DefaultJavaScriptSetting": 2 },
983 { "pref": "profile.managed_default_content_settings.javascript",
984 "indicator_selector": "[content-setting=javascript]",
986 { "policy": { "DefaultJavaScriptSetting": 1 },
988 { "policy": { "DefaultJavaScriptSetting": 2 },
994 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
997 "DefaultPluginsSetting": {
998 "os": ["win", "linux", "mac", "chromeos"],
999 "test_policy": { "DefaultPluginsSetting": 2 },
1001 { "pref": "profile.managed_default_content_settings.plugins",
1002 "indicator_selector": "[content-setting=plugins]",
1003 "indicator_tests": [
1004 { "policy": { "DefaultPluginsSetting": 1 },
1006 { "policy": { "DefaultPluginsSetting": 2 },
1012 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1015 "DefaultPopupsSetting": {
1016 "os": ["win", "linux", "mac", "chromeos"],
1017 "test_policy": { "DefaultPopupsSetting": 2 },
1019 { "pref": "profile.managed_default_content_settings.popups",
1020 "indicator_selector": "[content-setting=popups]",
1021 "indicator_tests": [
1022 { "policy": { "DefaultPopupsSetting": 1 },
1024 { "policy": { "DefaultPopupsSetting": 2 },
1030 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1033 "DefaultNotificationsSetting": {
1034 "os": ["win", "linux", "mac", "chromeos"],
1035 "test_policy": { "DefaultNotificationsSetting": 2 },
1037 { "pref": "profile.managed_default_content_settings.notifications",
1038 "indicator_selector": "[content-setting=notifications]",
1039 "indicator_tests": [
1040 { "policy": { "DefaultNotificationsSetting": 1 },
1042 { "policy": { "DefaultNotificationsSetting": 2 },
1044 { "policy": { "DefaultNotificationsSetting": 3 },
1050 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1053 "DefaultGeolocationSetting": {
1054 "os": ["win", "linux", "mac", "chromeos"],
1055 "test_policy": { "DefaultGeolocationSetting": 2 },
1057 { "pref": "profile.managed_default_content_settings.geolocation",
1058 "indicator_selector": "[content-setting=location]",
1059 "indicator_tests": [
1060 { "policy": { "DefaultGeolocationSetting": 1 },
1062 { "policy": { "DefaultGeolocationSetting": 2 },
1064 { "policy": { "DefaultGeolocationSetting": 3 },
1070 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1073 "DefaultMediaStreamSetting": {
1074 "os": ["win", "linux", "mac", "chromeos"],
1075 "test_policy": { "DefaultMediaStreamSetting": 2 },
1077 { "pref": "profile.managed_default_content_settings.media_stream",
1078 "indicator_selector": "[content-setting=media-stream-mic],[content-setting=media-stream-camera]",
1079 "indicator_tests": [
1080 { "policy": { "DefaultMediaStreamSetting": 2 },
1083 { "policy": { "DefaultMediaStreamSetting": 3 },
1090 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1093 "DefaultMediaStreamSetting.OverriddenByAudioCaptureAllowed": {
1094 "os": ["win", "linux", "mac", "chromeos"],
1095 "test_policy": { "DefaultMediaStreamSetting": 3,
1096 "AudioCaptureAllowed": false },
1098 { "pref": "profile.managed_default_content_settings.media_stream",
1099 "indicator_selector": "[content-setting=media-stream-mic]",
1100 "indicator_tests": [
1101 { "policy": { "AudioCaptureAllowed": false },
1104 { "policy": { "AudioCaptureAllowed": true,
1105 "DefaultMediaStreamSetting": 2 },
1108 { "policy": { "AudioCaptureAllowed": true,
1109 "DefaultMediaStreamSetting": 3 },
1117 "DefaultMediaStreamSetting.OverriddenByVideoCaptureAllowed": {
1118 "os": ["win", "linux", "mac", "chromeos"],
1119 "test_policy": { "DefaultMediaStreamSetting": 3,
1120 "VideoCaptureAllowed": false },
1122 { "pref": "profile.managed_default_content_settings.media_stream",
1123 "indicator_selector": "[content-setting=media-stream-camera]",
1124 "indicator_tests": [
1125 { "policy": { "VideoCaptureAllowed": false },
1128 { "policy": { "VideoCaptureAllowed": true,
1129 "DefaultMediaStreamSetting": 2 },
1132 { "policy": { "VideoCaptureAllowed": true,
1133 "DefaultMediaStreamSetting": 3 },
1141 "AudioCaptureAllowed": {
1142 "os": ["win", "linux", "mac", "chromeos"],
1143 "test_policy": { "AudioCaptureAllowed": false },
1145 { "pref": "hardware.audio_capture_enabled",
1146 "indicator_selector": "[content-setting=media-stream-mic][value=block]",
1147 "indicator_tests": [
1148 { "policy": { "AudioCaptureAllowed": false },
1156 "AudioCaptureAllowedUrls": {
1157 "os": ["win", "linux", "mac", "chromeos"],
1158 "test_policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
1161 "pref": "hardware.audio_capture_allowed_urls",
1162 "indicator_selector": "[content-exception=media-stream-mic]",
1163 "indicator_tests": [
1164 { "policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] } }
1170 "VideoCaptureAllowed": {
1171 "os": ["win", "linux", "mac", "chromeos"],
1172 "test_policy": { "VideoCaptureAllowed": false },
1174 { "pref": "hardware.video_capture_enabled",
1175 "indicator_selector": "[content-setting=media-stream-camera][value=block]",
1176 "indicator_tests": [
1177 { "policy": { "VideoCaptureAllowed": false },
1185 "VideoCaptureAllowedUrls": {
1186 "os": ["win", "linux", "mac", "chromeos"],
1187 "test_policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
1190 "pref": "hardware.video_capture_allowed_urls",
1191 "indicator_selector": "[content-exception=media-stream-camera]",
1192 "indicator_tests": [
1193 { "policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] } }
1199 "AutoSelectCertificateForUrls": {
1200 "os": ["win", "linux", "mac", "chromeos"],
1201 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://example.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1203 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1206 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1209 "CookiesAllowedForUrls": {
1210 "os": ["win", "linux", "mac", "chromeos"],
1211 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
1213 { "pref": "profile.managed_cookies_allowed_for_urls",
1214 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1215 "indicator_selector": "[content-exception=cookies]",
1216 "indicator_tests": [
1217 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } }
1222 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1225 "CookiesBlockedForUrls": {
1226 "os": ["win", "linux", "mac", "chromeos"],
1227 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
1229 { "pref": "profile.managed_cookies_blocked_for_urls",
1230 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1231 "indicator_selector": "[content-exception=cookies]",
1232 "indicator_tests": [
1233 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } }
1238 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1241 "CookiesSessionOnlyForUrls": {
1242 "os": ["win", "linux", "mac", "chromeos"],
1243 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
1245 { "pref": "profile.managed_cookies_sessiononly_for_urls",
1246 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1247 "indicator_selector": "[content-exception=cookies]",
1248 "indicator_tests": [
1249 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } }
1254 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1257 "ImagesAllowedForUrls": {
1258 "os": ["win", "linux", "mac", "chromeos"],
1259 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
1261 { "pref": "profile.managed_images_allowed_for_urls",
1262 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1263 "indicator_selector": "[content-exception=images]",
1264 "indicator_tests": [
1265 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } }
1270 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1273 "ImagesBlockedForUrls": {
1274 "os": ["win", "linux", "mac", "chromeos"],
1275 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
1277 { "pref": "profile.managed_images_blocked_for_urls",
1278 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1279 "indicator_selector": "[content-exception=images]",
1280 "indicator_tests": [
1281 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } }
1286 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1289 "JavaScriptAllowedForUrls": {
1290 "os": ["win", "linux", "mac", "chromeos"],
1291 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
1293 { "pref": "profile.managed_javascript_allowed_for_urls",
1294 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1295 "indicator_selector": "[content-exception=javascript]",
1296 "indicator_tests": [
1297 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } }
1302 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1305 "JavaScriptBlockedForUrls": {
1306 "os": ["win", "linux", "mac", "chromeos"],
1307 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
1309 { "pref": "profile.managed_javascript_blocked_for_urls",
1310 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1311 "indicator_selector": "[content-exception=javascript]",
1312 "indicator_tests": [
1313 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1318 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1321 "PluginsAllowedForUrls": {
1322 "os": ["win", "linux", "mac", "chromeos"],
1323 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1325 { "pref": "profile.managed_plugins_allowed_for_urls",
1326 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1327 "indicator_selector": "[content-exception=plugins]",
1328 "indicator_tests": [
1329 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1334 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1337 "PluginsBlockedForUrls": {
1338 "os": ["win", "linux", "mac", "chromeos"],
1339 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
1341 { "pref": "profile.managed_plugins_blocked_for_urls",
1342 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1343 "indicator_selector": "[content-exception=plugins]",
1344 "indicator_tests": [
1345 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } }
1350 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1353 "PopupsAllowedForUrls": {
1354 "os": ["win", "linux", "mac", "chromeos"],
1355 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
1357 { "pref": "profile.managed_popups_allowed_for_urls",
1358 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1359 "indicator_selector": "[content-exception=popups]",
1360 "indicator_tests": [
1361 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } }
1366 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1369 "PopupsBlockedForUrls": {
1370 "os": ["win", "linux", "mac", "chromeos"],
1371 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
1373 { "pref": "profile.managed_popups_blocked_for_urls",
1374 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1375 "indicator_selector": "[content-exception=popups]",
1376 "indicator_tests": [
1377 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } }
1382 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1385 "NotificationsAllowedForUrls": {
1386 "os": ["win", "linux", "mac", "chromeos"],
1387 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
1389 { "pref": "profile.managed_notifications_allowed_for_urls",
1390 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1391 "indicator_selector": "[content-exception=notifications]",
1392 "indicator_tests": [
1393 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } }
1398 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1401 "NotificationsBlockedForUrls": {
1402 "os": ["win", "linux", "mac", "chromeos"],
1403 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
1405 { "pref": "profile.managed_notifications_blocked_for_urls",
1406 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1407 "indicator_selector": "[content-exception=notifications]",
1408 "indicator_tests": [
1409 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } }
1414 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1418 "os": ["win", "linux", "mac", "chromeos"],
1419 "test_policy": { "Disable3DAPIs": true },
1421 { "pref": "disable_3d_apis" }
1428 "TranslateEnabled": {
1429 "os": ["win", "linux", "mac", "chromeos"],
1430 "can_be_recommended": true,
1431 "test_policy": { "TranslateEnabled": false },
1433 { "pref": "translate.enabled",
1434 "indicator_tests": [
1435 { "policy": { "TranslateEnabled": true } }
1441 "AllowOutdatedPlugins": {
1442 "os": ["win", "linux", "mac", "chromeos"],
1443 "test_policy": { "AllowOutdatedPlugins": true },
1445 { "pref": "plugins.allow_outdated" }
1449 "AlwaysAuthorizePlugins": {
1450 "os": ["win", "linux", "mac", "chromeos"],
1451 "test_policy": { "AlwaysAuthorizePlugins": true },
1453 { "pref": "plugins.always_authorize" }
1457 "BookmarkBarEnabled": {
1458 "os": ["win", "linux", "mac", "chromeos"],
1459 "can_be_recommended": true,
1460 "test_policy": { "BookmarkBarEnabled": true },
1462 { "pref": "bookmark_bar.show_on_all_tabs",
1463 "indicator_tests": [
1464 { "policy": { "BookmarkBarEnabled": true } }
1470 "EditBookmarksEnabled": {
1471 "os": ["win", "linux", "mac", "chromeos"],
1472 "test_policy": { "EditBookmarksEnabled": false },
1474 { "pref": "bookmarks.editing_enabled" }
1478 "ShowAppsShortcutInBookmarkBar": {
1479 "os": ["win", "linux", "mac"],
1480 "test_policy": { "ShowAppsShortcutInBookmarkBar": false },
1482 { "pref": "bookmark_bar.show_apps_shortcut" }
1486 "AllowFileSelectionDialogs": {
1487 "os": ["win", "mac", "linux"],
1488 "test_policy": { "AllowFileSelectionDialogs": false },
1490 { "pref": "select_file_dialogs.allowed",
1493 { "pref": "download.prompt_for_download",
1494 "indicator_tests": [
1495 { "policy": { "AllowFileSelectionDialogs": false } }
1501 "ImportBookmarks": {
1502 "os": ["win", "mac", "linux"],
1503 "can_be_recommended": true,
1504 "test_policy": { "ImportBookmarks": false },
1506 { "pref": "import_bookmarks",
1507 "indicator_tests": [
1508 { "policy": { "ImportBookmarks": false } }
1515 "os": ["win", "mac", "linux"],
1516 "can_be_recommended": true,
1517 "test_policy": { "ImportHistory": false },
1519 { "pref": "import_history",
1520 "indicator_tests": [
1521 { "policy": { "ImportHistory": false } }
1528 "os": ["win", "mac", "linux"],
1529 "test_policy": { "ImportHomepage": false },
1531 { "pref": "import_home_page" }
1535 "ImportSearchEngine": {
1536 "os": ["win", "mac", "linux"],
1537 "can_be_recommended": true,
1538 "test_policy": { "ImportSearchEngine": false },
1540 { "pref": "import_search_engine",
1541 "indicator_tests": [
1542 { "policy": { "ImportSearchEngine": false } }
1548 "ImportSavedPasswords": {
1549 "os": ["win", "mac", "linux"],
1550 "can_be_recommended": true,
1551 "test_policy": { "ImportSavedPasswords": false },
1553 { "pref": "import_saved_passwords",
1554 "indicator_tests": [
1555 { "policy": { "ImportSavedPasswords": false } }
1561 "ImportAutofillFormData": {
1562 "os": ["win", "mac", "linux"],
1563 "can_be_recommended": true,
1564 "test_policy": { "ImportAutofillFormData": false },
1566 { "pref": "import_autofill_form_data",
1567 "indicator_tests": [
1568 { "policy": { "ImportAutofillFormData": false } }
1574 "MaxConnectionsPerProxy": {
1575 "os": ["win", "linux", "mac", "chromeos"],
1576 "test_policy": { "MaxConnectionsPerProxy": 16 },
1578 { "pref": "net.max_connections_per_proxy",
1584 "HideWebStorePromo": {
1588 "os": ["win", "linux", "mac", "chromeos"],
1589 "test_policy": { "URLBlacklist": ["google.com"] },
1591 { "pref": "policy.url_blacklist" }
1596 "os": ["win", "linux", "mac", "chromeos"],
1597 "test_policy": { "URLWhitelist": ["google.com"] },
1599 { "pref": "policy.url_whitelist" }
1603 "EnterpriseWebStoreURL": {
1604 "note": "This policy is retired, see http://crbug.com/178938."
1607 "EnterpriseWebStoreName": {
1608 "note": "This policy is retired, see http://crbug.com/178938."
1611 "EnableMemoryInfo": {
1612 "note": "This policy is retired, see http://crbug.com/350339."
1615 "DisablePrintPreview": {
1616 "os": ["win", "mac", "linux"],
1617 "test_policy": { "DisablePrintPreview": false },
1619 { "pref": "printing.print_preview_disabled" }
1623 "BackgroundModeEnabled": {
1624 "os": ["win", "linux"],
1625 "can_be_recommended": true,
1626 "test_policy": { "BackgroundModeEnabled": false },
1628 { "pref": "background_mode.enabled",
1629 "local_state": true,
1630 "indicator_tests": [
1631 { "policy": { "BackgroundModeEnabled": false } }
1637 "RestrictSigninToPattern": {
1638 "os": ["win", "mac", "linux"],
1639 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
1641 { "pref": "google.services.username_pattern",
1647 "DisableSafeBrowsingProceedAnyway": {
1648 "os": ["win", "linux", "mac", "chromeos"],
1649 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
1651 { "pref": "safebrowsing.proceed_anyway_disabled" }
1655 "SafeBrowsingExtendedReportingOptInAllowed": {
1656 "os": ["win", "linux", "mac", "chromeos"],
1657 "test_policy": { "SafeBrowsingExtendedReportingOptInAllowed": true },
1659 { "pref": "safebrowsing.extended_reporting_opt_in_allowed" }
1663 "SpellCheckServiceEnabled": {
1664 "os": ["win", "linux", "mac", "chromeos"],
1665 "official_only": true,
1666 "can_be_recommended": true,
1667 "test_policy": { "SpellCheckServiceEnabled": false },
1669 { "pref": "spellcheck.use_spelling_service",
1670 "indicator_tests": [
1671 { "policy": { "SpellCheckServiceEnabled": false } }
1677 "DisableScreenshots": {
1678 "os": ["win", "linux", "mac", "chromeos"],
1679 "test_policy": { "DisableScreenshots": true },
1681 { "pref": "disable_screenshots" }
1685 "BuiltInDnsClientEnabled": {
1686 "os": ["win", "linux", "mac"],
1687 "test_policy": { "BuiltInDnsClientEnabled": true },
1689 { "pref": "async_dns.enabled",
1695 "WPADQuickCheckEnabled": {
1696 "os": ["win", "linux", "mac", "chromeos"],
1697 "test_policy": { "WPADQuickCheckEnabled": true },
1699 { "pref": "proxy.quick_check_enabled",
1705 "RegisteredProtocolHandlers": {
1706 "os": ["win", "linux", "mac", "chromeos"],
1707 "can_be_recommended": true,
1708 "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": "http://example.com/%s", "default": "true"} },
1710 { "pref": "custom_handlers.policy.registered_protocol_handlers",
1711 "check_for_mandatory": false
1716 "HideWebStoreIcon": {
1717 "os": ["win", "linux", "mac", "chromeos"],
1718 "test_policy": { "HideWebStoreIcon": true },
1720 { "pref": "hide_web_store_icon" }
1724 "VariationsRestrictParameter": {
1725 "test_policy": { "VariationsRestrictParameter": "restricted" },
1727 { "pref": "variations_restrict_parameter",
1733 "DataCompressionProxyEnabled": {
1735 "test_policy": { "DataCompressionProxyEnabled": false },
1737 { "pref": "spdy_proxy.enabled" }
1741 "ForceEphemeralProfiles": {
1744 "UserAvatarImage": {
1747 "UserAvatarImage": {
1748 "url": "http://localhost/",
1749 "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
1752 "indicator_selector": "#account-picture-indicator"
1759 "url": "http://localhost/",
1760 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf"
1763 "indicator_selector": "#wallpaper-indicator"
1766 "BrowserGuestModeEnabled": {
1767 "os": ["win", "linux", "mac"],
1768 "test_policy": { "BrowserGuestModeEnabled": true },
1770 { "pref": "profile.browser_guest_enabled",
1776 "BrowserAddPersonEnabled": {
1777 "os": ["win", "linux", "mac"],
1778 "test_policy": { "BrowserAddPersonEnabled": true },
1780 { "pref": "profile.add_person_enabled",
1789 "SSLVersionFallbackMin": {
1790 "os": ["win", "linux", "mac", "chromeos"],
1791 "test_policy": { "SSLVersionFallbackMin": "tls1.2" },
1795 "WelcomePageOnOSUpgradeEnabled": {
1797 "test_policy": { "WelcomePageOnOSUpgradeEnabled": false },
1799 { "pref": "browser.welcome_page_on_os_upgrade_enabled",
1805 "----- Chrome OS policies ------------------------------------------------": {},
1807 "ChromeOsLockOnIdleSuspend": {
1809 "can_be_recommended": true,
1810 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1812 { "pref": "settings.enable_screen_lock",
1813 "indicator_tests": [
1814 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
1820 "PolicyRefreshRate": {
1822 "test_policy": { "PolicyRefreshRate": 300000 },
1824 { "pref": "policy.user_refresh_rate",
1830 "MaxInvalidationFetchDelay": {
1831 "os": ["win", "linux", "mac", "chromeos"],
1832 "test_policy": { "PolicyRefreshRate": 15000 },
1836 "OpenNetworkConfiguration": {
1839 "SAMLOfflineSigninTimeLimit": {
1841 "test_policy": { "SAMLOfflineSigninTimeLimit": 0 },
1843 { "pref": "saml.offline_signin_time_limit" }
1849 "test_policy": { "DriveDisabled": true },
1851 { "pref": "gdata.disabled",
1852 "indicator_tests": [
1853 { "policy": { "DriveDisabled": true } }
1859 "DriveDisabledOverCellular": {
1861 "test_policy": { "DriveDisabledOverCellular": true },
1863 { "pref": "gdata.cellular.disabled" }
1867 "PinnedLauncherApps": {
1869 "can_be_recommended": true,
1870 "test_policy": { "PinnedLauncherApps": [] },
1872 { "pref": "pinned_launcher_apps" }
1876 "ExternalStorageDisabled": {
1878 "test_policy": { "ExternalStorageDisabled": true },
1880 { "pref": "hardware.external_storage_disabled" }
1884 "AudioOutputAllowed": {
1886 "test_policy": { "AudioOutputAllowed": true },
1888 { "pref": "hardware.audio_output_enabled",
1889 "local_state": true }
1893 "ShowLogoutButtonInTray": {
1895 "test_policy": { "ShowLogoutButtonInTray": true },
1897 { "pref": "show_logout_button_in_tray" }
1901 "ShelfAutoHideBehavior": {
1903 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1905 { "pref": "auto_hide_behavior_local" }
1909 "UserDisplayName": {
1913 "SessionLengthLimit": {
1915 "test_policy": { "SessionLengthLimit": 3600000 },
1917 { "pref": "session.length_limit",
1918 "local_state": true }
1922 "ScreenDimDelayAC": {
1924 "test_policy": { "ScreenDimDelayAC": 420000 },
1926 { "pref": "power.ac_screen_dim_delay_ms" }
1930 "ScreenOffDelayAC": {
1932 "test_policy": { "ScreenOffDelayAC": 480000 },
1934 { "pref": "power.ac_screen_off_delay_ms" }
1938 "ScreenLockDelayAC": {
1940 "test_policy": { "ScreenLockDelayAC": 600000 },
1942 { "pref": "power.ac_screen_lock_delay_ms" }
1946 "IdleWarningDelayAC": {
1948 "test_policy": { "IdleWarningDelayAC": 1800000 },
1950 { "pref": "power.ac_idle_warning_delay_ms" }
1956 "test_policy": { "IdleDelayAC": 1800000 },
1958 { "pref": "power.ac_idle_delay_ms" }
1962 "ScreenDimDelayBattery": {
1964 "test_policy": { "ScreenDimDelayBattery": 300000 },
1966 { "pref": "power.battery_screen_dim_delay_ms" }
1970 "ScreenOffDelayBattery": {
1972 "test_policy": { "ScreenOffDelayBattery": 360000 },
1974 { "pref": "power.battery_screen_off_delay_ms" }
1978 "ScreenLockDelayBattery": {
1980 "test_policy": { "ScreenLockDelayBattery": 600000 },
1982 { "pref": "power.battery_screen_lock_delay_ms" }
1986 "IdleWarningDelayBattery": {
1988 "test_policy": { "IdleWarningDelayBattery": 600000 },
1990 { "pref": "power.battery_idle_warning_delay_ms" }
1994 "IdleDelayBattery": {
1996 "test_policy": { "IdleDelayBattery": 600000 },
1998 { "pref": "power.battery_idle_delay_ms" }
2004 "test_policy": { "IdleAction": 0 },
2006 { "pref": "power.ac_idle_action" },
2007 { "pref": "power.battery_idle_action" }
2013 "test_policy": { "IdleActionAC": 0 },
2015 { "pref": "power.ac_idle_action" }
2019 "IdleActionBattery": {
2021 "test_policy": { "IdleActionBattery": 0 },
2023 { "pref": "power.battery_idle_action" }
2029 "test_policy": { "LidCloseAction": 0 },
2031 { "pref": "power.lid_closed_action" }
2035 "PowerManagementUsesAudioActivity": {
2037 "test_policy": { "PowerManagementUsesAudioActivity": true },
2039 { "pref": "power.use_audio_activity" }
2043 "PowerManagementUsesVideoActivity": {
2045 "test_policy": { "PowerManagementUsesVideoActivity": true },
2047 { "pref": "power.use_video_activity" }
2051 "PresentationIdleDelayScale": {
2054 "PresentationScreenDimDelayScale": {
2056 "test_policy": { "PresentationScreenDimDelayScale": 200 },
2058 { "pref": "power.presentation_screen_dim_delay_factor" }
2062 "AllowScreenWakeLocks": {
2064 "test_policy": { "AllowScreenWakeLocks": false },
2066 { "pref": "power.allow_screen_wake_locks" }
2070 "UserActivityScreenDimDelayScale": {
2072 "test_policy": { "UserActivityScreenDimDelayScale": 200 },
2074 { "pref": "power.user_activity_screen_dim_delay_factor" }
2078 "WaitForInitialUserActivity": {
2080 "test_policy": { "WaitForInitialUserActivity": true },
2082 { "pref": "session.wait_for_initial_user_activity",
2083 "local_state": true },
2084 { "pref": "power.wait_for_initial_user_activity" }
2088 "PowerManagementIdleSettings": {
2090 "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"} } },
2092 { "pref": "power.ac_screen_dim_delay_ms" },
2093 { "pref": "power.ac_screen_off_delay_ms" },
2094 { "pref": "power.ac_idle_warning_delay_ms" },
2095 { "pref": "power.ac_idle_delay_ms" },
2096 { "pref": "power.battery_screen_dim_delay_ms" },
2097 { "pref": "power.battery_screen_off_delay_ms" },
2098 { "pref": "power.battery_idle_warning_delay_ms" },
2099 { "pref": "power.battery_idle_delay_ms" }
2103 "ScreenLockDelays": {
2105 "test_policy": { "ScreenLockDelays": { "AC": 6000, "Battery": 2000 } },
2107 { "pref": "power.ac_screen_lock_delay_ms" },
2108 { "pref": "power.battery_screen_lock_delay_ms" }
2112 "TermsOfServiceURL": {
2114 "test_policy": { "TermsOfServiceURL": "http://www.example.com/terms_of_service.txt" },
2116 { "pref": "terms_of_service.url" }
2120 "ShowAccessibilityOptionsInSystemTrayMenu": {
2122 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
2124 { "pref": "settings.a11y.enable_menu",
2125 "indicator_tests": [
2126 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } }
2132 "LargeCursorEnabled": {
2134 "test_policy": { "LargeCursorEnabled": true },
2136 { "pref": "settings.a11y.large_cursor_enabled",
2137 "indicator_tests": [
2138 { "policy": { "LargeCursorEnabled": true } }
2144 "SpokenFeedbackEnabled": {
2146 "test_policy": { "SpokenFeedbackEnabled": true },
2148 { "pref": "settings.accessibility",
2149 "indicator_tests": [
2150 { "policy": { "SpokenFeedbackEnabled": true } }
2156 "HighContrastEnabled": {
2158 "test_policy": { "HighContrastEnabled": true },
2160 { "pref": "settings.a11y.high_contrast_enabled",
2161 "indicator_tests": [
2162 { "policy": { "HighContrastEnabled": true } }
2168 "ScreenMagnifierType": {
2170 "test_policy": { "ScreenMagnifierType": 1 },
2172 { "pref": "settings.a11y.screen_magnifier",
2173 "indicator_tests": [
2174 { "policy": { "ScreenMagnifierType": 1 } }
2177 { "pref": "settings.a11y.screen_magnifier_type2" }
2181 "VirtualKeyboardEnabled": {
2183 "test_policy": { "VirtualKeyboardEnabled": true },
2185 { "pref": "settings.a11y.virtual_keyboard",
2186 "indicator_tests": [
2187 { "policy": { "VirtualKeyboardEnabled": true } }
2193 "KeyboardDefaultToFunctionKeys": {
2195 "test_policy": { "KeyboardDefaultToFunctionKeys": true },
2197 { "pref": "settings.language.send_function_keys",
2198 "indicator_tests": [
2199 { "policy": { "KeyboardDefaultToFunctionKeys": true } }
2205 "AttestationEnabledForUser": {
2207 "test_policy": { "AttestationEnabledForUser": true },
2209 { "pref": "attestation.enabled" }
2213 "AttestationExtensionWhitelist": {
2215 "test_policy": { "AttestationExtensionWhitelist": ["test_ext_id1", "test_ext_id2"] },
2217 { "pref": "attestation.extension_whitelist" }
2221 "ContentPackDefaultFilteringBehavior": {
2224 "ContentPackManualBehaviorHosts": {
2227 "ContentPackManualBehaviorURLs": {
2230 "ManagedBookmarks": {
2233 "FullscreenAllowed": {
2234 "os": ["win", "linux", "chromeos"],
2235 "test_policy": { "FullscreenAllowed": false },
2237 { "pref": "fullscreen.allowed" },
2238 { "pref": "apps.fullscreen.allowed" }
2242 "ChromeOsMultiProfileUserBehavior": {
2244 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
2246 { "pref": "settings.multiprofile_user_behavior" }
2250 "NativeMessagingBlacklist": {
2251 "os": ["win", "linux", "mac"],
2252 "test_policy": { "NativeMessagingBlacklist": ["*"] },
2254 { "pref": "native_messaging.blacklist" }
2258 "NativeMessagingWhitelist": {
2259 "os": ["win", "linux", "mac"],
2260 "test_policy": { "NativeMessagingWhitelist": ["native.messaging.host.name"] },
2262 { "pref": "native_messaging.whitelist" }
2266 "NativeMessagingUserLevelHosts": {
2267 "os": ["win", "linux", "mac"],
2268 "test_policy": { "NativeMessagingUserLevelHosts": false },
2270 { "pref": "native_messaging.user_level_hosts" }
2274 "EnableDeprecatedWebPlatformFeatures": {
2275 "os": ["win", "linux", "mac", "chromeos"],
2277 "EnableDeprecatedWebPlatformFeatures": [
2278 "ShowModalDialog_EffectiveUntil20150430"
2282 { "pref": "enable_deprecated_web_platform_features" }
2286 "TouchVirtualKeyboardEnabled": {
2288 "test_policy": { "TouchVirtualKeyboardEnabled": false },
2290 { "pref": "ui.touch_virtual_keyboard_enabled" }
2294 "EasyUnlockAllowed": {
2296 "test_policy": { "EasyUnlockAllowed": false },
2298 { "pref": "easy_unlock.allowed" }
2304 "can_be_recommended": true
2307 "ForceMaximizeOnFirstRun": {
2309 "test_policy": { "ForceMaximizeOnFirstRun": true },
2311 { "pref": "ui.force_maximize_on_first_run" }
2315 "SSLErrorOverrideAllowed": {
2316 "os": ["win", "linux", "mac", "chromeos"],
2317 "test_policy": { "SSLErrorOverrideAllowed": true },
2319 { "pref": "ssl.error_override_allowed" }
2326 "HardwareAccelerationModeEnabled": {
2327 "os": ["win", "linux", "mac"],
2328 "test_policy": { "HardwareAccelerationModeEnabled": true },
2330 { "pref": "hardware_acceleration_mode.enabled",
2331 "local_state": true,
2332 "indicator_tests": [
2333 { "policy": { "HardwareAccelerationModeEnabled": true } },
2334 { "policy": { "HardwareAccelerationModeEnabled": false } }
2340 "----- Chrome OS device policies ---------------------------------------": {},
2342 "DevicePolicyRefreshRate": {
2344 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2346 { "pref": "policy.device_refresh_rate",
2347 "local_state": true }
2351 "ChromeOsReleaseChannel": {
2354 "ChromeOsReleaseChannelDelegated": {
2357 "DeviceOpenNetworkConfiguration": {
2360 "HeartbeatEnabled": {
2363 "HeartbeatFrequency": {
2366 "LogUploadEnabled": {
2369 "ReportDeviceVersionInfo": {
2372 "ReportDeviceActivityTimes": {
2375 "ReportDeviceBootMode": {
2378 "ReportDeviceNetworkInterfaces": {
2381 "ReportDeviceUsers": {
2384 "ReportDeviceHardwareStatus": {
2387 "ReportDeviceSessionStatus": {
2390 "ReportUploadFrequency": {
2393 "DeviceAllowNewUsers": {
2396 "DeviceUserWhitelist": {
2399 "DeviceGuestModeEnabled": {
2402 "DeviceShowUserNamesOnSignin": {
2405 "DeviceDataRoamingEnabled": {
2408 "DeviceMetricsReportingEnabled": {
2410 "official_only": true,
2411 "test_policy": { "DeviceMetricsReportingEnabled": true },
2413 { "pref": "cros.metrics.reportingEnabled",
2414 "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}]);});",
2415 "indicator_tests": [
2416 { "policy": { "SpellCheckServiceEnabled": true } }
2421 "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."
2424 "DeviceEphemeralUsersEnabled": {
2427 "DeviceRebootOnShutdown": {
2430 "DeviceIdleLogoutTimeout": {
2433 "DeviceIdleLogoutWarningDuration": {
2436 "DeviceLoginScreenSaverId": {
2439 "DeviceLoginScreenSaverTimeout": {
2442 "DeviceStartUpUrls": {
2448 "DeviceAutoUpdateDisabled": {
2451 "DeviceAutoUpdateP2PEnabled": {
2454 "DeviceTargetVersionPrefix": {
2457 "DeviceUpdateScatterFactor": {
2460 "DeviceUpdateAllowedConnectionTypes": {
2463 "DeviceUpdateHttpDownloadsEnabled": {
2466 "ReportDeviceLocation": {
2472 "SystemUse24HourClock": {
2475 "DeviceLocalAccounts": {
2478 "DeviceLocalAccountAutoLoginId": {
2481 "DeviceLocalAccountAutoLoginDelay": {
2484 "DeviceLocalAccountAutoLoginBailoutEnabled": {
2487 "DeviceLocalAccountPromptForNetworkWhenOffline": {
2490 "DeviceBlockDevmode": {
2493 "DeviceLoginScreenPowerManagement": {
2496 "DeviceAllowRedeemChromeOsRegistrationOffers": {
2499 "DeviceStartUpFlags": {
2502 "DeviceVariationsRestrictParameter" : {
2505 "DeviceLoginScreenDefaultLargeCursorEnabled" : {
2508 "DeviceLoginScreenDefaultSpokenFeedbackEnabled" : {
2511 "DeviceLoginScreenDefaultHighContrastEnabled" : {
2514 "DeviceLoginScreenDefaultScreenMagnifierType" : {
2517 "DeviceLoginScreenDefaultVirtualKeyboardEnabled" : {
2523 "RebootAfterUpdate": {
2526 "AttestationEnabledForDevice": {
2529 "AttestationForContentProtectionEnabled": {
2532 "SupervisedUsersEnabled": {
2535 "SupervisedUserCreationEnabled": {
2538 "AutoCleanUpStrategy": {
2541 "DeviceTransferSAMLCookies": {
2544 "ExtensionCacheSize": {
2547 "DeviceLoginScreenDomainAutoComplete": {
2550 "----- Chrome Frame policies -------------------------------------------": {},
2552 "ChromeFrameRendererSettings": {
2555 "RenderInChromeFrameList": {
2558 "RenderInHostList": {
2561 "ChromeFrameContentTypes": {
2567 "AdditionalLaunchParameters": {
2570 "SuppressChromeFrameTurndownPrompt": {
2573 "SkipMetadataCheck": {