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": { "DisabledSchemes": ["file"] },
151 { "pref": "policy.url_blacklist" }
155 "JavascriptEnabled": {
156 "os": ["win", "linux", "mac", "chromeos"],
157 "test_policy": { "JavascriptEnabled": false },
159 { "pref": "profile.managed_default_content_settings.javascript",
160 "indicator_selector": "[content-setting=javascript]",
162 { "policy": { "JavascriptEnabled": false },
169 "IncognitoEnabled": {
170 "os": ["win", "linux", "mac", "chromeos"],
171 "test_policy": { "IncognitoEnabled": false },
173 { "pref": "incognito.mode_availability" }
177 "IncognitoModeAvailability": {
178 "os": ["win", "linux", "mac", "chromeos"],
179 "test_policy": { "IncognitoModeAvailability": 1 },
181 { "pref": "incognito.mode_availability" }
185 "SavingBrowserHistoryDisabled": {
186 "os": ["win", "linux", "mac", "chromeos"],
187 "test_policy": { "SavingBrowserHistoryDisabled": true },
189 { "pref": "history.saving_disabled" }
193 "AllowDeletingBrowserHistory": {
195 "test_policy": { "AllowDeletingBrowserHistory": false },
197 { "pref": "history.deleting_enabled" }
201 "RemoteAccessClientFirewallTraversal": {
204 "RemoteAccessHostFirewallTraversal": {
207 "RemoteAccessHostRequireTwoFactor": {
210 "RemoteAccessHostDomain": {
213 "RemoteAccessHostTalkGadgetPrefix": {
216 "RemoteAccessHostRequireCurtain": {
219 "RemoteAccessHostAllowClientPairing": {
222 "RemoteAccessHostAllowGnubbyAuth": {
225 "RemoteAccessHostAllowRelayedConnection": {
228 "RemoteAccessHostUdpPortRange": {
231 "RemoteAccessHostMatchUsername": {
234 "RemoteAccessHostTokenUrl": {
237 "RemoteAccessHostTokenValidationUrl": {
240 "RemoteAccessHostTokenValidationCertificateIssuer": {
243 "RemoteAccessHostDebugOverridePolicies": {
247 "os": ["win", "linux", "mac", "chromeos"],
248 "test_policy": { "PrintingEnabled": false },
250 { "pref": "printing.enabled" }
254 "CloudPrintProxyEnabled": {
256 "test_policy": { "CloudPrintProxyEnabled": true },
258 { "pref": "cloud_print.enabled" }
262 "CloudPrintSubmitEnabled": {
263 "os": ["win", "mac", "linux"],
264 "test_policy": { "CloudPrintSubmitEnabled": false },
266 { "pref": "cloud_print.submit_enabled" }
270 "SafeBrowsingEnabled": {
271 "os": ["win", "linux", "mac", "chromeos"],
272 "can_be_recommended": true,
273 "test_policy": { "SafeBrowsingEnabled": false },
275 { "pref": "safebrowsing.enabled",
277 { "policy": { "SafeBrowsingEnabled": false } }
284 "pref": "settings.force_safesearch",
285 "test_policy": { "ForceSafeSearch": true },
286 "settings_pages": [],
287 "os": ["win", "linux", "mac", "chromeos"]
290 "ForceGoogleSafeSearch": {
291 "pref": "settings.force_google_safesearch",
292 "test_policy": { "ForceGoogleSafeSearch": true },
293 "settings_pages": [],
294 "os": ["win", "linux", "mac", "chromeos"]
297 "ForceYouTubeSafetyMode": {
298 "pref": "settings.force_youtube_safety_mode",
299 "test_policy": { "ForceYouTubeSafetyMode": true },
300 "settings_pages": [],
301 "os": ["win", "linux", "mac", "chromeos"]
304 "MetricsReportingEnabled": {
305 "os": ["win", "mac", "linux"],
306 "official_only": true,
307 "can_be_recommended": true,
308 "test_policy": { "MetricsReportingEnabled": false },
309 "indicator_selector": "#metrics-reporting-disabled-icon",
311 { "pref": "user_experience_metrics.reporting_enabled",
317 "PasswordManagerEnabled": {
318 "os": ["win", "linux", "mac", "chromeos"],
319 "can_be_recommended": true,
320 "test_policy": { "PasswordManagerEnabled": false },
322 { "pref": "profile.password_manager_enabled",
324 { "policy": { "PasswordManagerEnabled": false } }
330 "PasswordManagerAllowShowPasswords": {
331 "os": ["win", "linux", "mac", "chromeos"],
332 "test_policy": { "PasswordManagerAllowShowPasswords": false },
334 { "pref": "profile.password_manager_allow_show_passwords" }
338 "ContextualSearchEnabled": {
343 "os": ["win", "linux", "mac", "chromeos"],
344 "can_be_recommended": true,
345 "test_policy": { "AutoFillEnabled": false },
347 { "pref": "autofill.enabled",
349 { "policy": { "AutoFillEnabled": false } }
356 "os": ["win", "linux", "mac", "chromeos"],
357 "test_policy": { "DisabledPlugins": ["Flash"] },
359 { "pref": "plugins.plugins_disabled" }
364 "os": ["win", "linux", "mac", "chromeos"],
365 "test_policy": { "EnabledPlugins": ["Flash"] },
367 { "pref": "plugins.plugins_enabled" }
371 "DisabledPluginsExceptions": {
372 "os": ["win", "linux", "mac", "chromeos"],
373 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
375 { "pref": "plugins.plugins_disabled_exceptions" }
379 "DisablePluginFinder": {
380 "os": ["win", "linux", "mac", "chromeos"],
381 "test_policy": { "DisablePluginFinder": true },
383 { "pref": "plugins.disable_plugin_finder",
390 "os": ["win", "linux", "mac", "chromeos"],
391 "test_policy": { "SyncDisabled": true },
393 { "pref": "sync.managed" }
398 "os": ["win", "linux", "mac"],
399 "test_policy": { "SigninAllowed": true },
401 { "pref": "signin.allowed" }
405 "EnableWebBasedSignin": {
406 "os": ["win", "linux", "mac"],
407 "test_policy": { "EnableWebBasedSignin": false }
411 "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."
415 "os": ["win", "mac", "linux"],
416 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
418 { "pref": "browser.disk_cache_dir" }
423 "os": ["win", "mac", "linux"],
424 "test_policy": { "DiskCacheSize": 100 },
426 { "pref": "browser.disk_cache_size" }
431 "os": ["win", "mac", "linux"],
432 "test_policy": { "MediaCacheSize": 200 },
434 { "pref": "browser.media_cache_size" }
438 "DownloadDirectory.0": {
439 "os": ["win", "mac", "linux", "chromeos"],
440 "can_be_recommended": true,
441 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
443 { "pref": "download.default_directory",
445 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
448 { "pref": "download.prompt_for_download",
449 "check_for_recommended" : false,
451 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
457 "DownloadDirectory.1": {
459 "test_policy": { "DownloadDirectory": "${google_drive}/downloads" },
461 { "pref": "gdata.disabled",
463 { "policy": { "DownloadDirectory": "${google_drive}/downloads" } }
469 "ClearSiteDataOnExit": {
470 "note": "This policy is retired, see http://crbug.com/133291."
474 "os": ["win", "mac", "linux"],
475 "test_policy": { "ProxyMode": "direct" },
479 { "policy": { "ProxyMode": "direct" } }
486 "os": ["win", "mac", "linux"],
487 "test_policy": { "ProxyServerMode": 0 },
491 { "policy": { "ProxyServerMode": 0 } }
498 "os": ["win", "mac", "linux"],
499 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" },
503 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" } }
510 "os": ["win", "mac", "linux"],
511 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" },
515 { "policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" } }
522 "os": ["win", "mac", "linux"],
523 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" },
527 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" } }
534 "os": ["linux", "win"],
535 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } },
539 { "policy": { "ProxySettings": { "ProxyMode": "direct" } } }
545 "EnableOriginBoundCerts": {
546 "note": "This policy is retired, see http://crbug.com/354749."
549 "DisableSSLRecordSplitting": {
550 "os": ["win", "linux", "mac", "chromeos"],
551 "test_policy": { "DisableSSLRecordSplitting": true },
553 { "pref": "ssl.ssl_record_splitting.disabled",
559 "EnableOnlineRevocationChecks": {
560 "os": ["win", "linux", "mac", "chromeos"],
561 "test_policy": { "EnableOnlineRevocationChecks": true },
563 { "pref": "ssl.rev_checking.enabled",
569 "RequireOnlineRevocationChecksForLocalAnchors": {
570 "os": ["win", "linux", "chromeos"],
571 "test_policy": { "RequireOnlineRevocationChecksForLocalAnchors": true },
573 { "pref": "ssl.rev_checking.required_for_local_anchors",
580 "os": ["win", "linux", "mac", "chromeos"],
581 "test_policy": { "AuthSchemes": "AuthSchemes" },
583 { "pref": "auth.schemes",
589 "DisableAuthNegotiateCnameLookup": {
590 "os": ["win", "linux", "mac", "chromeos"],
591 "test_policy": { "DisableAuthNegotiateCnameLookup": true },
593 { "pref": "auth.disable_negotiate_cname_lookup",
599 "EnableAuthNegotiatePort": {
600 "os": ["win", "linux", "mac", "chromeos"],
601 "test_policy": { "EnableAuthNegotiatePort": true },
603 { "pref": "auth.enable_negotiate_port",
609 "AuthServerWhitelist": {
610 "os": ["win", "linux", "mac", "chromeos"],
611 "test_policy": { "AuthServerWhitelist": "localhost" },
613 { "pref": "auth.server_whitelist",
619 "AuthNegotiateDelegateWhitelist": {
620 "os": ["win", "linux", "mac", "chromeos"],
621 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" },
623 { "pref": "auth.negotiate_delegate_whitelist",
629 "GSSAPILibraryName": {
630 "os": ["mac", "linux"],
631 "test_policy": { "GSSAPILibraryName": "libwhatever.so" },
633 { "pref": "auth.gssapi_library_name",
639 "AllowCrossOriginAuthPrompt": {
640 "os": ["win", "mac", "linux"],
641 "test_policy": { "AllowCrossOriginAuthPrompt": true },
643 { "pref": "auth.allow_cross_origin_prompt",
649 "ExtensionInstallBlacklist": {
650 "os": ["win", "linux", "mac", "chromeos"],
651 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
653 { "pref": "extensions.install.denylist" }
657 "ExtensionInstallWhitelist": {
658 "os": ["win", "linux", "mac", "chromeos"],
659 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"] },
661 { "pref": "extensions.install.allowlist" }
665 "ExtensionInstallForcelist": {
666 "os": ["win", "linux", "mac", "chromeos"],
667 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
669 { "pref": "extensions.install.forcelist" }
673 "ExtensionInstallSources": {
674 "os": ["win", "linux", "mac", "chromeos"],
675 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
677 { "pref": "extensions.allowed_install_sites" }
681 "ExtensionAllowedTypes": {
682 "os": ["win", "linux", "mac", "chromeos"],
683 "test_policy": { "ExtensionAllowedTypes": ["hosted_app"] },
685 { "pref": "extensions.allowed_types" }
689 "ExtensionSettings": {
690 "os": ["win", "linux", "mac", "chromeos"],
692 "ExtensionSettings": {
693 "abcdefghijklmnopabcdefghijklmnop" : {
694 "installation_mode": "allowed",
695 "blocked_permissions": ["history"]
697 "bcdefghijklmnopabcdefghijklmnopa" : {
698 "installation_mode": "force_installed",
699 "update_url": "http://example.com/update_url",
700 "allowed_permissions": ["downloads"]
703 "installation_mode": "blocked",
704 "blocked_permissions": ["downloads", "bookmarks"],
705 "install_sources": ["http://company-intranet/chromeapps"],
706 "allowed_types": ["hosted_app"]
711 { "pref": "extensions.management" }
716 "os": ["win", "linux", "mac", "chromeos"],
717 "can_be_recommended": true,
718 "test_policy": { "ShowHomeButton": true },
720 { "pref": "browser.show_home_button",
722 { "policy": { "ShowHomeButton": true } }
728 "DeveloperToolsDisabled": {
729 "os": ["win", "linux", "mac", "chromeos"],
730 "test_policy": { "DeveloperToolsDisabled": true },
732 { "pref": "devtools.disabled" }
736 "RestoreOnStartup": {
737 "os": ["win", "linux", "mac", "chromeos"],
738 "can_be_recommended": true,
739 "test_policy": { "RestoreOnStartup": 4 },
741 { "pref": "session.restore_on_startup",
743 { "policy": { "RestoreOnStartup": 1 },
745 { "policy": { "RestoreOnStartup": 4 },
747 { "policy": { "RestoreOnStartup": 5 },
754 "RestoreOnStartupURLs": {
755 "os": ["win", "linux", "mac", "chromeos"],
756 "can_be_recommended": true,
757 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
759 { "pref": "session.startup_urls",
761 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } }
767 "BlockThirdPartyCookies": {
768 "os": ["win", "linux", "mac", "chromeos"],
769 "can_be_recommended": true,
770 "test_policy": { "BlockThirdPartyCookies": true },
772 { "pref": "profile.block_third_party_cookies",
774 { "policy": { "BlockThirdPartyCookies": true } }
780 "DefaultSearchProviderEnabled": {
781 "os": ["win", "linux", "mac", "chromeos"],
782 "test_policy": { "DefaultSearchProviderEnabled": false },
784 { "pref": "default_search_provider_data.template_url_data",
786 { "policy": { "DefaultSearchProviderEnabled": false } },
787 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" } }
793 "DefaultSearchProviderName": {
794 "os": ["win", "linux", "mac", "chromeos"],
795 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderName": "google.com" },
797 { "pref": "default_search_provider_data.template_url_data" }
801 "DefaultSearchProviderKeyword": {
802 "os": ["win", "linux", "mac", "chromeos"],
803 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
805 { "pref": "default_search_provider_data.template_url_data" }
809 "DefaultSearchProviderSearchURL": {
810 "os": ["win", "linux", "mac", "chromeos"],
811 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
813 { "pref": "default_search_provider_data.template_url_data",
814 "indicator_selector": "[setting=search-engine]",
816 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
822 "DefaultSearchProviderSuggestURL": {
823 "os": ["win", "linux", "mac", "chromeos"],
824 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURL": "http://www.google.com/suggest?q={searchTerms}" },
826 { "pref": "default_search_provider_data.template_url_data" }
830 "DefaultSearchProviderInstantURL": {
831 "os": ["win", "linux", "mac", "chromeos"],
832 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURL": "http://www.google.com/instant?q={searchTerms}" },
834 { "pref": "default_search_provider_data.template_url_data" }
838 "DefaultSearchProviderNewTabURL": {
839 "os": ["win", "linux", "mac", "chromeos"],
840 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderNewTabURL": "http://www.google.com/newtab" },
842 { "pref": "default_search_provider_data.template_url_data" }
846 "DefaultSearchProviderIconURL": {
847 "os": ["win", "linux", "mac", "chromeos"],
848 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.ico" },
850 { "pref": "default_search_provider_data.template_url_data" }
854 "DefaultSearchProviderEncodings": {
855 "os": ["win", "linux", "mac", "chromeos"],
856 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderEncodings": ["UTF-8"] },
858 { "pref": "default_search_provider_data.template_url_data" }
862 "DefaultSearchProviderAlternateURLs": {
863 "os": ["win", "linux", "mac", "chromeos"],
864 "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}"] },
866 { "pref": "default_search_provider_data.template_url_data" }
870 "DefaultSearchProviderSearchTermsReplacementKey": {
871 "os": ["win", "linux", "mac", "chromeos"],
872 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchTermsReplacementKey": "espv" },
874 { "pref": "default_search_provider_data.template_url_data" }
878 "DefaultSearchProviderImageURL": {
879 "os": ["win", "linux", "mac", "chromeos"],
880 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURL": "http://www.google.com/searchbyimage/upload" },
882 { "pref": "default_search_provider_data.template_url_data" }
886 "DefaultSearchProviderSearchURLPostParams": {
887 "os": ["win", "linux", "mac", "chromeos"],
888 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchURLPostParams": "" },
890 { "pref": "default_search_provider_data.template_url_data" }
894 "DefaultSearchProviderSuggestURLPostParams": {
895 "os": ["win", "linux", "mac", "chromeos"],
896 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURLPostParams": "" },
898 { "pref": "default_search_provider_data.template_url_data" }
902 "DefaultSearchProviderInstantURLPostParams": {
903 "os": ["win", "linux", "mac", "chromeos"],
904 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURLPostParams": "" },
906 { "pref": "default_search_provider_data.template_url_data" }
910 "DefaultSearchProviderImageURLPostParams": {
911 "os": ["win", "linux", "mac", "chromeos"],
912 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURLPostParams": "image_content={imageThumbnail},image_url={imageURL},sbisrc={imageSearchSource}" },
914 { "pref": "default_search_provider_data.template_url_data" }
918 "DefaultCookiesSetting": {
919 "os": ["win", "linux", "mac", "chromeos"],
920 "test_policy": { "DefaultCookiesSetting": 2 },
922 { "pref": "profile.managed_default_content_settings.cookies",
923 "indicator_selector": "[content-setting=cookies]",
925 { "policy": { "DefaultCookiesSetting": 1 },
927 { "policy": { "DefaultCookiesSetting": 2 },
929 { "policy": { "DefaultCookiesSetting": 4 },
935 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
938 "DefaultImagesSetting": {
939 "os": ["win", "linux", "mac", "chromeos"],
940 "test_policy": { "DefaultImagesSetting": 2 },
942 { "pref": "profile.managed_default_content_settings.images",
943 "indicator_selector": "[content-setting=images]",
945 { "policy": { "DefaultImagesSetting": 1 },
947 { "policy": { "DefaultImagesSetting": 2 },
953 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
956 "DefaultJavaScriptSetting": {
957 "os": ["win", "linux", "mac", "chromeos"],
958 "test_policy": { "DefaultJavaScriptSetting": 2 },
960 { "pref": "profile.managed_default_content_settings.javascript",
961 "indicator_selector": "[content-setting=javascript]",
963 { "policy": { "DefaultJavaScriptSetting": 1 },
965 { "policy": { "DefaultJavaScriptSetting": 2 },
971 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
974 "DefaultPluginsSetting": {
975 "os": ["win", "linux", "mac", "chromeos"],
976 "test_policy": { "DefaultPluginsSetting": 2 },
978 { "pref": "profile.managed_default_content_settings.plugins",
979 "indicator_selector": "[content-setting=plugins]",
981 { "policy": { "DefaultPluginsSetting": 1 },
983 { "policy": { "DefaultPluginsSetting": 2 },
985 { "policy": { "DefaultPluginsSetting": 3 },
991 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
994 "DefaultPopupsSetting": {
995 "os": ["win", "linux", "mac", "chromeos"],
996 "test_policy": { "DefaultPopupsSetting": 2 },
998 { "pref": "profile.managed_default_content_settings.popups",
999 "indicator_selector": "[content-setting=popups]",
1000 "indicator_tests": [
1001 { "policy": { "DefaultPopupsSetting": 1 },
1003 { "policy": { "DefaultPopupsSetting": 2 },
1009 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1012 "DefaultNotificationsSetting": {
1013 "os": ["win", "linux", "mac", "chromeos"],
1014 "test_policy": { "DefaultNotificationsSetting": 2 },
1016 { "pref": "profile.managed_default_content_settings.notifications",
1017 "indicator_selector": "[content-setting=notifications]",
1018 "indicator_tests": [
1019 { "policy": { "DefaultNotificationsSetting": 1 },
1021 { "policy": { "DefaultNotificationsSetting": 2 },
1023 { "policy": { "DefaultNotificationsSetting": 3 },
1029 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1032 "DefaultGeolocationSetting": {
1033 "os": ["win", "linux", "mac", "chromeos"],
1034 "test_policy": { "DefaultGeolocationSetting": 2 },
1036 { "pref": "profile.managed_default_content_settings.geolocation",
1037 "indicator_selector": "[content-setting=location]",
1038 "indicator_tests": [
1039 { "policy": { "DefaultGeolocationSetting": 1 },
1041 { "policy": { "DefaultGeolocationSetting": 2 },
1043 { "policy": { "DefaultGeolocationSetting": 3 },
1049 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1052 "DefaultMediaStreamSetting": {
1053 "os": ["win", "linux", "mac", "chromeos"],
1054 "test_policy": { "DefaultMediaStreamSetting": 2 },
1056 { "pref": "profile.managed_default_content_settings.media_stream",
1057 "indicator_selector": "[content-setting=media-stream]",
1058 "indicator_tests": [
1059 { "policy": { "DefaultMediaStreamSetting": 2 },
1062 { "policy": { "DefaultMediaStreamSetting": 3 },
1069 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1072 "AudioCaptureAllowed": {
1073 "os": ["win", "linux", "mac", "chromeos"],
1074 "test_policy": { "AudioCaptureAllowed": false },
1076 { "pref": "hardware.audio_capture_enabled",
1077 "indicator_selector": "#media-indicator",
1078 "indicator_tests": [
1079 { "policy": { "AudioCaptureAllowed": false } }
1085 "AudioCaptureAllowedUrls": {
1086 "os": ["win", "linux", "mac", "chromeos"],
1087 "test_policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
1090 "pref": "hardware.audio_capture_allowed_urls"
1095 "VideoCaptureAllowed": {
1096 "os": ["win", "linux", "mac", "chromeos"],
1097 "test_policy": { "VideoCaptureAllowed": false },
1099 { "pref": "hardware.video_capture_enabled",
1100 "indicator_selector": "#media-indicator",
1101 "indicator_tests": [
1102 { "policy": { "VideoCaptureAllowed": false } }
1108 "VideoCaptureAllowedUrls": {
1109 "os": ["win", "linux", "mac", "chromeos"],
1110 "test_policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
1113 "pref": "hardware.video_capture_allowed_urls"
1118 "AutoSelectCertificateForUrls": {
1119 "os": ["win", "linux", "mac", "chromeos"],
1120 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://example.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1122 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1125 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1128 "CookiesAllowedForUrls": {
1129 "os": ["win", "linux", "mac", "chromeos"],
1130 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
1132 { "pref": "profile.managed_cookies_allowed_for_urls",
1133 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1134 "indicator_selector": "[content-exception=cookies]",
1135 "indicator_tests": [
1136 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } }
1141 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1144 "CookiesBlockedForUrls": {
1145 "os": ["win", "linux", "mac", "chromeos"],
1146 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
1148 { "pref": "profile.managed_cookies_blocked_for_urls",
1149 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1150 "indicator_selector": "[content-exception=cookies]",
1151 "indicator_tests": [
1152 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } }
1157 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1160 "CookiesSessionOnlyForUrls": {
1161 "os": ["win", "linux", "mac", "chromeos"],
1162 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
1164 { "pref": "profile.managed_cookies_sessiononly_for_urls",
1165 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1166 "indicator_selector": "[content-exception=cookies]",
1167 "indicator_tests": [
1168 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } }
1173 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1176 "ImagesAllowedForUrls": {
1177 "os": ["win", "linux", "mac", "chromeos"],
1178 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
1180 { "pref": "profile.managed_images_allowed_for_urls",
1181 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1182 "indicator_selector": "[content-exception=images]",
1183 "indicator_tests": [
1184 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } }
1189 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1192 "ImagesBlockedForUrls": {
1193 "os": ["win", "linux", "mac", "chromeos"],
1194 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
1196 { "pref": "profile.managed_images_blocked_for_urls",
1197 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1198 "indicator_selector": "[content-exception=images]",
1199 "indicator_tests": [
1200 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } }
1205 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1208 "JavaScriptAllowedForUrls": {
1209 "os": ["win", "linux", "mac", "chromeos"],
1210 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
1212 { "pref": "profile.managed_javascript_allowed_for_urls",
1213 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1214 "indicator_selector": "[content-exception=javascript]",
1215 "indicator_tests": [
1216 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } }
1221 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1224 "JavaScriptBlockedForUrls": {
1225 "os": ["win", "linux", "mac", "chromeos"],
1226 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
1228 { "pref": "profile.managed_javascript_blocked_for_urls",
1229 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1230 "indicator_selector": "[content-exception=javascript]",
1231 "indicator_tests": [
1232 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1237 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1240 "PluginsAllowedForUrls": {
1241 "os": ["win", "linux", "mac", "chromeos"],
1242 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1244 { "pref": "profile.managed_plugins_allowed_for_urls",
1245 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1246 "indicator_selector": "[content-exception=plugins]",
1247 "indicator_tests": [
1248 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1253 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1256 "PluginsBlockedForUrls": {
1257 "os": ["win", "linux", "mac", "chromeos"],
1258 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
1260 { "pref": "profile.managed_plugins_blocked_for_urls",
1261 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1262 "indicator_selector": "[content-exception=plugins]",
1263 "indicator_tests": [
1264 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } }
1269 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1272 "PopupsAllowedForUrls": {
1273 "os": ["win", "linux", "mac", "chromeos"],
1274 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
1276 { "pref": "profile.managed_popups_allowed_for_urls",
1277 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1278 "indicator_selector": "[content-exception=popups]",
1279 "indicator_tests": [
1280 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } }
1285 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1288 "PopupsBlockedForUrls": {
1289 "os": ["win", "linux", "mac", "chromeos"],
1290 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
1292 { "pref": "profile.managed_popups_blocked_for_urls",
1293 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1294 "indicator_selector": "[content-exception=popups]",
1295 "indicator_tests": [
1296 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } }
1301 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1304 "NotificationsAllowedForUrls": {
1305 "os": ["win", "linux", "mac", "chromeos"],
1306 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
1308 { "pref": "profile.managed_notifications_allowed_for_urls",
1309 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1310 "indicator_selector": "[content-exception=notifications]",
1311 "indicator_tests": [
1312 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } }
1317 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1320 "NotificationsBlockedForUrls": {
1321 "os": ["win", "linux", "mac", "chromeos"],
1322 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
1324 { "pref": "profile.managed_notifications_blocked_for_urls",
1325 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1326 "indicator_selector": "[content-exception=notifications]",
1327 "indicator_tests": [
1328 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } }
1333 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1337 "os": ["win", "linux", "mac", "chromeos"],
1338 "test_policy": { "Disable3DAPIs": true },
1340 { "pref": "disable_3d_apis" }
1347 "TranslateEnabled": {
1348 "os": ["win", "linux", "mac", "chromeos"],
1349 "can_be_recommended": true,
1350 "test_policy": { "TranslateEnabled": false },
1352 { "pref": "translate.enabled",
1353 "indicator_tests": [
1354 { "policy": { "TranslateEnabled": true } }
1360 "AllowOutdatedPlugins": {
1361 "os": ["win", "linux", "mac", "chromeos"],
1362 "test_policy": { "AllowOutdatedPlugins": true },
1364 { "pref": "plugins.allow_outdated" }
1368 "AlwaysAuthorizePlugins": {
1369 "os": ["win", "linux", "mac", "chromeos"],
1370 "test_policy": { "AlwaysAuthorizePlugins": true },
1372 { "pref": "plugins.always_authorize" }
1376 "BookmarkBarEnabled": {
1377 "os": ["win", "linux", "mac", "chromeos"],
1378 "can_be_recommended": true,
1379 "test_policy": { "BookmarkBarEnabled": true },
1381 { "pref": "bookmark_bar.show_on_all_tabs",
1382 "indicator_tests": [
1383 { "policy": { "BookmarkBarEnabled": true } }
1389 "EditBookmarksEnabled": {
1390 "os": ["win", "linux", "mac", "chromeos"],
1391 "test_policy": { "EditBookmarksEnabled": false },
1393 { "pref": "bookmarks.editing_enabled" }
1397 "ShowAppsShortcutInBookmarkBar": {
1398 "os": ["win", "linux", "mac"],
1399 "test_policy": { "ShowAppsShortcutInBookmarkBar": false },
1401 { "pref": "bookmark_bar.show_apps_shortcut" }
1405 "AllowFileSelectionDialogs": {
1406 "os": ["win", "mac", "linux"],
1407 "test_policy": { "AllowFileSelectionDialogs": false },
1409 { "pref": "select_file_dialogs.allowed",
1412 { "pref": "download.prompt_for_download",
1413 "indicator_tests": [
1414 { "policy": { "AllowFileSelectionDialogs": false } }
1420 "ImportBookmarks": {
1421 "os": ["win", "mac", "linux"],
1422 "can_be_recommended": true,
1423 "test_policy": { "ImportBookmarks": false },
1425 { "pref": "import_bookmarks",
1426 "indicator_tests": [
1427 { "policy": { "ImportBookmarks": false } }
1434 "os": ["win", "mac", "linux"],
1435 "can_be_recommended": true,
1436 "test_policy": { "ImportHistory": false },
1438 { "pref": "import_history",
1439 "indicator_tests": [
1440 { "policy": { "ImportHistory": false } }
1447 "os": ["win", "mac", "linux"],
1448 "test_policy": { "ImportHomepage": false },
1450 { "pref": "import_home_page" }
1454 "ImportSearchEngine": {
1455 "os": ["win", "mac", "linux"],
1456 "can_be_recommended": true,
1457 "test_policy": { "ImportSearchEngine": false },
1459 { "pref": "import_search_engine",
1460 "indicator_tests": [
1461 { "policy": { "ImportSearchEngine": false } }
1467 "ImportSavedPasswords": {
1468 "os": ["win", "mac", "linux"],
1469 "can_be_recommended": true,
1470 "test_policy": { "ImportSavedPasswords": false },
1472 { "pref": "import_saved_passwords",
1473 "indicator_tests": [
1474 { "policy": { "ImportSavedPasswords": false } }
1480 "ImportAutofillFormData": {
1481 "os": ["win", "mac", "linux"],
1482 "can_be_recommended": true,
1483 "test_policy": { "ImportAutofillFormData": false },
1485 { "pref": "import_autofill_form_data",
1486 "indicator_tests": [
1487 { "policy": { "ImportAutofillFormData": false } }
1493 "MaxConnectionsPerProxy": {
1494 "os": ["win", "linux", "mac", "chromeos"],
1495 "test_policy": { "MaxConnectionsPerProxy": 16 },
1497 { "pref": "net.max_connections_per_proxy",
1503 "HideWebStorePromo": {
1507 "os": ["win", "linux", "mac", "chromeos"],
1508 "test_policy": { "URLBlacklist": ["google.com"] },
1510 { "pref": "policy.url_blacklist" }
1515 "os": ["win", "linux", "mac", "chromeos"],
1516 "test_policy": { "URLWhitelist": ["google.com"] },
1518 { "pref": "policy.url_whitelist" }
1522 "EnterpriseWebStoreURL": {
1523 "note": "This policy is retired, see http://crbug.com/178938."
1526 "EnterpriseWebStoreName": {
1527 "note": "This policy is retired, see http://crbug.com/178938."
1530 "EnableMemoryInfo": {
1531 "note": "This policy is retired, see http://crbug.com/350339."
1534 "DisablePrintPreview": {
1535 "os": ["win", "mac", "linux"],
1536 "test_policy": { "DisablePrintPreview": false },
1538 { "pref": "printing.print_preview_disabled" }
1542 "BackgroundModeEnabled": {
1543 "os": ["win", "linux"],
1544 "can_be_recommended": true,
1545 "test_policy": { "BackgroundModeEnabled": false },
1547 { "pref": "background_mode.enabled",
1548 "local_state": true,
1549 "indicator_tests": [
1550 { "policy": { "BackgroundModeEnabled": false } }
1556 "RestrictSigninToPattern": {
1557 "os": ["win", "mac", "linux"],
1558 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
1560 { "pref": "google.services.username_pattern",
1566 "DisableSafeBrowsingProceedAnyway": {
1567 "os": ["win", "linux", "mac", "chromeos"],
1568 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
1570 { "pref": "safebrowsing.proceed_anyway_disabled" }
1574 "SpellCheckServiceEnabled": {
1575 "os": ["win", "linux", "mac", "chromeos"],
1576 "official_only": true,
1577 "can_be_recommended": true,
1578 "test_policy": { "SpellCheckServiceEnabled": false },
1580 { "pref": "spellcheck.use_spelling_service",
1581 "indicator_tests": [
1582 { "policy": { "SpellCheckServiceEnabled": false } }
1588 "DisableScreenshots": {
1589 "os": ["win", "linux", "mac", "chromeos"],
1590 "test_policy": { "DisableScreenshots": true },
1592 { "pref": "disable_screenshots" }
1596 "BuiltInDnsClientEnabled": {
1597 "os": ["win", "linux", "mac"],
1598 "test_policy": { "BuiltInDnsClientEnabled": true },
1600 { "pref": "async_dns.enabled",
1606 "WPADQuickCheckEnabled": {
1607 "os": ["win", "linux", "mac", "chromeos"],
1608 "test_policy": { "WPADQuickCheckEnabled": true },
1610 { "pref": "proxy.quick_check_enabled",
1616 "RegisteredProtocolHandlers": {
1617 "os": ["win", "linux", "mac", "chromeos"],
1618 "can_be_recommended": true,
1619 "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": "http://example.com/%s", "default": "true"} },
1621 { "pref": "custom_handlers.policy.registered_protocol_handlers",
1622 "check_for_mandatory": false
1627 "HideWebStoreIcon": {
1628 "os": ["win", "linux", "mac", "chromeos"],
1629 "test_policy": { "HideWebStoreIcon": true },
1631 { "pref": "hide_web_store_icon" }
1635 "VariationsRestrictParameter": {
1636 "test_policy": { "VariationsRestrictParameter": "restricted" },
1638 { "pref": "variations_restrict_parameter",
1644 "DataCompressionProxyEnabled": {
1646 "test_policy": { "DataCompressionProxyEnabled": false },
1648 { "pref": "spdy_proxy.enabled" }
1652 "ForceEphemeralProfiles": {
1655 "UserAvatarImage": {
1658 "UserAvatarImage": {
1659 "url": "http://localhost/",
1660 "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
1663 "indicator_selector": "#account-picture-indicator"
1670 "url": "http://localhost/",
1671 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf"
1674 "indicator_selector": "#wallpaper-indicator"
1677 "BrowserGuestModeEnabled": {
1678 "os": ["win", "linux", "mac"],
1679 "test_policy": { "BrowserGuestModeEnabled": true },
1681 { "pref": "profile.browser_guest_enabled",
1687 "BrowserAddPersonEnabled": {
1688 "os": ["win", "linux", "mac"],
1689 "test_policy": { "BrowserAddPersonEnabled": true },
1691 { "pref": "profile.add_person_enabled",
1698 "os": ["win", "linux", "mac", "chromeos"],
1699 "test_policy": { "SSLVersionMin": "tls1.2" },
1703 "SSLVersionFallbackMin": {
1704 "os": ["win", "linux", "mac", "chromeos"],
1705 "test_policy": { "SSLVersionFallbackMin": "tls1.2" },
1709 "----- Chrome OS policies ------------------------------------------------": {},
1711 "ChromeOsLockOnIdleSuspend": {
1713 "can_be_recommended": true,
1714 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1716 { "pref": "settings.enable_screen_lock",
1717 "indicator_tests": [
1718 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
1724 "PolicyRefreshRate": {
1726 "test_policy": { "PolicyRefreshRate": 300000 },
1728 { "pref": "policy.user_refresh_rate",
1734 "MaxInvalidationFetchDelay": {
1735 "os": ["win", "linux", "mac", "chromeos"],
1736 "test_policy": { "PolicyRefreshRate": 15000 },
1740 "OpenNetworkConfiguration": {
1743 "SAMLOfflineSigninTimeLimit": {
1745 "test_policy": { "SAMLOfflineSigninTimeLimit": 0 },
1747 { "pref": "saml.offline_signin_time_limit" }
1753 "test_policy": { "DriveDisabled": true },
1755 { "pref": "gdata.disabled",
1756 "indicator_tests": [
1757 { "policy": { "DriveDisabled": true } }
1763 "DriveDisabledOverCellular": {
1765 "test_policy": { "DriveDisabledOverCellular": true },
1767 { "pref": "gdata.cellular.disabled" }
1771 "PinnedLauncherApps": {
1773 "can_be_recommended": true,
1774 "test_policy": { "PinnedLauncherApps": [] },
1776 { "pref": "pinned_launcher_apps" }
1780 "ExternalStorageDisabled": {
1782 "test_policy": { "ExternalStorageDisabled": true },
1784 { "pref": "hardware.external_storage_disabled" }
1788 "AudioOutputAllowed": {
1790 "test_policy": { "AudioOutputAllowed": true },
1792 { "pref": "hardware.audio_output_enabled",
1793 "local_state": true }
1797 "ShowLogoutButtonInTray": {
1799 "test_policy": { "ShowLogoutButtonInTray": true },
1801 { "pref": "show_logout_button_in_tray" }
1805 "ShelfAutoHideBehavior": {
1807 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1809 { "pref": "auto_hide_behavior_local" }
1813 "UserDisplayName": {
1817 "SessionLengthLimit": {
1819 "test_policy": { "SessionLengthLimit": 3600000 },
1821 { "pref": "session.length_limit",
1822 "local_state": true }
1826 "ScreenDimDelayAC": {
1828 "test_policy": { "ScreenDimDelayAC": 420000 },
1830 { "pref": "power.ac_screen_dim_delay_ms" }
1834 "ScreenOffDelayAC": {
1836 "test_policy": { "ScreenOffDelayAC": 480000 },
1838 { "pref": "power.ac_screen_off_delay_ms" }
1842 "ScreenLockDelayAC": {
1844 "test_policy": { "ScreenLockDelayAC": 600000 },
1846 { "pref": "power.ac_screen_lock_delay_ms" }
1850 "IdleWarningDelayAC": {
1852 "test_policy": { "IdleWarningDelayAC": 1800000 },
1854 { "pref": "power.ac_idle_warning_delay_ms" }
1860 "test_policy": { "IdleDelayAC": 1800000 },
1862 { "pref": "power.ac_idle_delay_ms" }
1866 "ScreenDimDelayBattery": {
1868 "test_policy": { "ScreenDimDelayBattery": 300000 },
1870 { "pref": "power.battery_screen_dim_delay_ms" }
1874 "ScreenOffDelayBattery": {
1876 "test_policy": { "ScreenOffDelayBattery": 360000 },
1878 { "pref": "power.battery_screen_off_delay_ms" }
1882 "ScreenLockDelayBattery": {
1884 "test_policy": { "ScreenLockDelayBattery": 600000 },
1886 { "pref": "power.battery_screen_lock_delay_ms" }
1890 "IdleWarningDelayBattery": {
1892 "test_policy": { "IdleWarningDelayBattery": 600000 },
1894 { "pref": "power.battery_idle_warning_delay_ms" }
1898 "IdleDelayBattery": {
1900 "test_policy": { "IdleDelayBattery": 600000 },
1902 { "pref": "power.battery_idle_delay_ms" }
1908 "test_policy": { "IdleAction": 0 },
1910 { "pref": "power.ac_idle_action" },
1911 { "pref": "power.battery_idle_action" }
1917 "test_policy": { "IdleActionAC": 0 },
1919 { "pref": "power.ac_idle_action" }
1923 "IdleActionBattery": {
1925 "test_policy": { "IdleActionBattery": 0 },
1927 { "pref": "power.battery_idle_action" }
1933 "test_policy": { "LidCloseAction": 0 },
1935 { "pref": "power.lid_closed_action" }
1939 "PowerManagementUsesAudioActivity": {
1941 "test_policy": { "PowerManagementUsesAudioActivity": true },
1943 { "pref": "power.use_audio_activity" }
1947 "PowerManagementUsesVideoActivity": {
1949 "test_policy": { "PowerManagementUsesVideoActivity": true },
1951 { "pref": "power.use_video_activity" }
1955 "PresentationIdleDelayScale": {
1958 "PresentationScreenDimDelayScale": {
1960 "test_policy": { "PresentationScreenDimDelayScale": 200 },
1962 { "pref": "power.presentation_screen_dim_delay_factor" }
1966 "AllowScreenWakeLocks": {
1968 "test_policy": { "AllowScreenWakeLocks": false },
1970 { "pref": "power.allow_screen_wake_locks" }
1974 "UserActivityScreenDimDelayScale": {
1976 "test_policy": { "UserActivityScreenDimDelayScale": 200 },
1978 { "pref": "power.user_activity_screen_dim_delay_factor" }
1982 "WaitForInitialUserActivity": {
1984 "test_policy": { "WaitForInitialUserActivity": true },
1986 { "pref": "session.wait_for_initial_user_activity",
1987 "local_state": true },
1988 { "pref": "power.wait_for_initial_user_activity" }
1992 "PowerManagementIdleSettings": {
1994 "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"} } },
1996 { "pref": "power.ac_screen_dim_delay_ms" },
1997 { "pref": "power.ac_screen_off_delay_ms" },
1998 { "pref": "power.ac_idle_warning_delay_ms" },
1999 { "pref": "power.ac_idle_delay_ms" },
2000 { "pref": "power.battery_screen_dim_delay_ms" },
2001 { "pref": "power.battery_screen_off_delay_ms" },
2002 { "pref": "power.battery_idle_warning_delay_ms" },
2003 { "pref": "power.battery_idle_delay_ms" }
2007 "ScreenLockDelays": {
2009 "test_policy": { "ScreenLockDelays": { "AC": 6000, "Battery": 2000 } },
2011 { "pref": "power.ac_screen_lock_delay_ms" },
2012 { "pref": "power.battery_screen_lock_delay_ms" }
2016 "TermsOfServiceURL": {
2018 "test_policy": { "TermsOfServiceURL": "http://www.example.com/terms_of_service.txt" },
2020 { "pref": "terms_of_service.url" }
2024 "ShowAccessibilityOptionsInSystemTrayMenu": {
2026 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
2028 { "pref": "settings.a11y.enable_menu",
2029 "indicator_tests": [
2030 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } }
2036 "LargeCursorEnabled": {
2038 "test_policy": { "LargeCursorEnabled": true },
2040 { "pref": "settings.a11y.large_cursor_enabled",
2041 "indicator_tests": [
2042 { "policy": { "LargeCursorEnabled": true } }
2048 "SpokenFeedbackEnabled": {
2050 "test_policy": { "SpokenFeedbackEnabled": true },
2052 { "pref": "settings.accessibility",
2053 "indicator_tests": [
2054 { "policy": { "SpokenFeedbackEnabled": true } }
2060 "HighContrastEnabled": {
2062 "test_policy": { "HighContrastEnabled": true },
2064 { "pref": "settings.a11y.high_contrast_enabled",
2065 "indicator_tests": [
2066 { "policy": { "HighContrastEnabled": true } }
2072 "ScreenMagnifierType": {
2074 "test_policy": { "ScreenMagnifierType": 1 },
2076 { "pref": "settings.a11y.screen_magnifier",
2077 "indicator_tests": [
2078 { "policy": { "ScreenMagnifierType": 1 } }
2081 { "pref": "settings.a11y.screen_magnifier_type2" }
2085 "VirtualKeyboardEnabled": {
2087 "test_policy": { "VirtualKeyboardEnabled": true },
2089 { "pref": "settings.a11y.virtual_keyboard",
2090 "indicator_tests": [
2091 { "policy": { "VirtualKeyboardEnabled": true } }
2097 "KeyboardDefaultToFunctionKeys": {
2099 "test_policy": { "KeyboardDefaultToFunctionKeys": true },
2101 { "pref": "settings.language.send_function_keys",
2102 "indicator_tests": [
2103 { "policy": { "KeyboardDefaultToFunctionKeys": true } }
2109 "AttestationEnabledForUser": {
2111 "test_policy": { "AttestationEnabledForUser": true },
2113 { "pref": "attestation.enabled" }
2117 "AttestationExtensionWhitelist": {
2119 "test_policy": { "AttestationExtensionWhitelist": ["test_ext_id1", "test_ext_id2"] },
2121 { "pref": "attestation.extension_whitelist" }
2125 "ContentPackDefaultFilteringBehavior": {
2128 "ContentPackManualBehaviorHosts": {
2131 "ContentPackManualBehaviorURLs": {
2134 "ManagedBookmarks": {
2137 "FullscreenAllowed": {
2138 "os": ["win", "linux", "chromeos"],
2139 "test_policy": { "FullscreenAllowed": false },
2141 { "pref": "fullscreen.allowed" },
2142 { "pref": "apps.fullscreen.allowed" }
2146 "ChromeOsMultiProfileUserBehavior": {
2148 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
2150 { "pref": "settings.multiprofile_user_behavior" }
2154 "NativeMessagingBlacklist": {
2155 "os": ["win", "linux", "mac"],
2156 "test_policy": { "NativeMessagingBlacklist": ["*"] },
2158 { "pref": "native_messaging.blacklist" }
2162 "NativeMessagingWhitelist": {
2163 "os": ["win", "linux", "mac"],
2164 "test_policy": { "NativeMessagingWhitelist": ["native.messaging.host.name"] },
2166 { "pref": "native_messaging.whitelist" }
2170 "NativeMessagingUserLevelHosts": {
2171 "os": ["win", "linux", "mac"],
2172 "test_policy": { "NativeMessagingUserLevelHosts": false },
2174 { "pref": "native_messaging.user_level_hosts" }
2178 "EnableDeprecatedWebPlatformFeatures": {
2179 "os": ["win", "linux", "mac", "chromeos"],
2181 "EnableDeprecatedWebPlatformFeatures": [
2182 "ShowModalDialog_EffectiveUntil20150430"
2186 { "pref": "enable_deprecated_web_platform_features" }
2190 "TouchVirtualKeyboardEnabled": {
2192 "test_policy": { "TouchVirtualKeyboardEnabled": false },
2194 { "pref": "ui.touch_virtual_keyboard_enabled" }
2198 "EasyUnlockAllowed": {
2200 "test_policy": { "EasyUnlockAllowed": false },
2202 { "pref": "easy_unlock.allowed" }
2208 "can_be_recommended": true
2211 "----- Chrome OS device policies ---------------------------------------": {},
2213 "DevicePolicyRefreshRate": {
2215 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2217 { "pref": "policy.device_refresh_rate",
2218 "local_state": true }
2222 "ChromeOsReleaseChannel": {
2225 "ChromeOsReleaseChannelDelegated": {
2228 "DeviceOpenNetworkConfiguration": {
2231 "ReportDeviceVersionInfo": {
2234 "ReportDeviceActivityTimes": {
2237 "ReportDeviceBootMode": {
2240 "ReportDeviceNetworkInterfaces": {
2243 "ReportDeviceUsers": {
2246 "DeviceAllowNewUsers": {
2249 "DeviceUserWhitelist": {
2252 "DeviceGuestModeEnabled": {
2255 "DeviceShowUserNamesOnSignin": {
2258 "DeviceDataRoamingEnabled": {
2261 "DeviceMetricsReportingEnabled": {
2263 "official_only": true,
2264 "test_policy": { "DeviceMetricsReportingEnabled": true },
2266 { "pref": "cros.metrics.reportingEnabled",
2267 "indicator_test_setup_js": "Preferences.getInstance().addEventListener('alternate_error_pages.enabled', function(event) { Preferences.prefsChangedCallback(['cros.metrics.reportingEnabled', {value: event.value.value, controlledBy: event.value.controlledBy, disabled: event.value.disabled}]); });",
2268 "indicator_tests": [
2269 { "policy": { "AlternateErrorPagesEnabled": true } }
2274 "note": "TODO(bartfab): The |indicator_test_setup_js| above is a hack that makes |cros.metrics.reportingEnabled| track the status of the entirely unrelated |alternate_error_pages.enabled| pref. This is because cros settings cannot currently be made policy-controlled in browser tests. Remove this hack once that restriction is lifted."
2277 "DeviceEphemeralUsersEnabled": {
2280 "DeviceRebootOnShutdown": {
2283 "DeviceIdleLogoutTimeout": {
2286 "DeviceIdleLogoutWarningDuration": {
2289 "DeviceLoginScreenSaverId": {
2292 "DeviceLoginScreenSaverTimeout": {
2295 "DeviceStartUpUrls": {
2301 "DeviceAutoUpdateDisabled": {
2304 "DeviceAutoUpdateP2PEnabled": {
2307 "DeviceTargetVersionPrefix": {
2310 "DeviceUpdateScatterFactor": {
2313 "DeviceUpdateAllowedConnectionTypes": {
2316 "DeviceUpdateHttpDownloadsEnabled": {
2319 "ReportDeviceLocation": {
2325 "SystemUse24HourClock": {
2328 "DeviceLocalAccounts": {
2331 "DeviceLocalAccountAutoLoginId": {
2334 "DeviceLocalAccountAutoLoginDelay": {
2337 "DeviceLocalAccountAutoLoginBailoutEnabled": {
2340 "DeviceLocalAccountPromptForNetworkWhenOffline": {
2343 "DeviceBlockDevmode": {
2346 "DeviceLoginScreenPowerManagement": {
2349 "DeviceAllowRedeemChromeOsRegistrationOffers": {
2352 "DeviceStartUpFlags": {
2355 "DeviceVariationsRestrictParameter" : {
2358 "DeviceLoginScreenDefaultLargeCursorEnabled" : {
2361 "DeviceLoginScreenDefaultSpokenFeedbackEnabled" : {
2364 "DeviceLoginScreenDefaultHighContrastEnabled" : {
2367 "DeviceLoginScreenDefaultScreenMagnifierType" : {
2370 "DeviceLoginScreenDefaultVirtualKeyboardEnabled" : {
2376 "RebootAfterUpdate": {
2379 "AttestationEnabledForDevice": {
2382 "AttestationForContentProtectionEnabled": {
2385 "SupervisedUsersEnabled": {
2388 "SupervisedUserCreationEnabled": {
2391 "AutoCleanUpStrategy": {
2394 "DeviceTransferSAMLCookies": {
2397 "----- Chrome Frame policies -------------------------------------------": {},
2399 "ChromeFrameRendererSettings": {
2402 "RenderInChromeFrameList": {
2405 "RenderInHostList": {
2408 "ChromeFrameContentTypes": {
2414 "AdditionalLaunchParameters": {
2417 "SuppressChromeFrameTurndownPrompt": {
2420 "SkipMetadataCheck": {