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": {
206 "test_policy": { "RemoteAccessHostFirewallTraversal": true },
208 { "pref": "remote_access.host_firewall_traversal" }
211 "note": "TODO(frankf): Enable on all OS after crbug.com/121066 is fixed."
214 "RemoteAccessHostRequireTwoFactor": {
216 "test_policy": { "RemoteAccessHostRequireTwoFactor": false },
218 { "pref": "remote_access.host_require_two_factor" }
222 "RemoteAccessHostDomain": {
224 "test_policy": { "RemoteAccessHostDomain": "" },
226 { "pref": "remote_access.host_domain" }
230 "RemoteAccessHostTalkGadgetPrefix": {
232 "test_policy": { "RemoteAccessHostTalkGadgetPrefix": "chromoting-host" },
234 { "pref": "remote_access.host_talkgadget_prefix" }
238 "RemoteAccessHostRequireCurtain": {
240 "test_policy": { "RemoteAccessHostRequireCurtain": false },
242 { "pref": "remote_access.host_require_curtain" }
246 "RemoteAccessHostAllowClientPairing": {
248 "test_policy": { "RemoteAccessHostAllowClientPairing": true },
250 { "pref": "remote_access.host_allow_client_pairing" }
254 "RemoteAccessHostAllowGnubbyAuth": {
256 "test_policy": { "RemoteAccessHostAllowGnubbyAuth": true },
258 { "pref": "remote_access.host_allow_gnubby_auth" }
262 "RemoteAccessHostAllowRelayedConnection": {
264 "test_policy": { "RemoteAccessHostAllowRelayedConnection": true },
266 { "pref": "remote_access.host_allow_relayed_connection" }
270 "RemoteAccessHostUdpPortRange": {
272 "test_policy": { "RemoteAccessHostUdpPortRange": "12400-12409" },
274 { "pref": "remote_access.host_udp_port_range" }
279 "os": ["win", "linux", "mac", "chromeos"],
280 "test_policy": { "PrintingEnabled": false },
282 { "pref": "printing.enabled" }
286 "CloudPrintProxyEnabled": {
288 "test_policy": { "CloudPrintProxyEnabled": true },
290 { "pref": "cloud_print.enabled" }
294 "CloudPrintSubmitEnabled": {
295 "os": ["win", "mac", "linux"],
296 "test_policy": { "CloudPrintSubmitEnabled": false },
298 { "pref": "cloud_print.submit_enabled" }
302 "SafeBrowsingEnabled": {
303 "os": ["win", "linux", "mac", "chromeos"],
304 "can_be_recommended": true,
305 "test_policy": { "SafeBrowsingEnabled": false },
307 { "pref": "safebrowsing.enabled",
309 { "policy": { "SafeBrowsingEnabled": false } }
316 "pref": "settings.force_safesearch",
317 "test_policy": { "ForceSafeSearch": true },
318 "settings_pages": [],
319 "os": ["win", "linux", "mac", "chromeos"]
322 "MetricsReportingEnabled": {
323 "os": ["win", "mac", "linux"],
324 "official_only": true,
325 "can_be_recommended": true,
326 "test_policy": { "MetricsReportingEnabled": false },
327 "indicator_selector": "#metrics-reporting-disabled-icon",
329 { "pref": "user_experience_metrics.reporting_enabled",
335 "PasswordManagerEnabled": {
336 "os": ["win", "linux", "mac", "chromeos"],
337 "can_be_recommended": true,
338 "test_policy": { "PasswordManagerEnabled": false },
340 { "pref": "profile.password_manager_enabled",
342 { "policy": { "PasswordManagerEnabled": false } }
348 "PasswordManagerAllowShowPasswords": {
349 "os": ["win", "linux", "mac", "chromeos"],
350 "test_policy": { "PasswordManagerAllowShowPasswords": false },
352 { "pref": "profile.password_manager_allow_show_passwords" }
356 "ContextualSearchEnabled": {
361 "os": ["win", "linux", "mac", "chromeos"],
362 "can_be_recommended": true,
363 "test_policy": { "AutoFillEnabled": false },
365 { "pref": "autofill.enabled",
367 { "policy": { "AutoFillEnabled": false } }
374 "os": ["win", "linux", "mac", "chromeos"],
375 "test_policy": { "DisabledPlugins": ["Flash"] },
377 { "pref": "plugins.plugins_disabled" }
382 "os": ["win", "linux", "mac", "chromeos"],
383 "test_policy": { "EnabledPlugins": ["Flash"] },
385 { "pref": "plugins.plugins_enabled" }
389 "DisabledPluginsExceptions": {
390 "os": ["win", "linux", "mac", "chromeos"],
391 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
393 { "pref": "plugins.plugins_disabled_exceptions" }
397 "DisablePluginFinder": {
398 "os": ["win", "linux", "mac", "chromeos"],
399 "test_policy": { "DisablePluginFinder": true },
401 { "pref": "plugins.disable_plugin_finder",
408 "os": ["win", "linux", "mac", "chromeos"],
409 "test_policy": { "SyncDisabled": true },
411 { "pref": "sync.managed" }
416 "os": ["win", "linux", "mac"],
417 "test_policy": { "SigninAllowed": true },
419 { "pref": "signin.allowed" }
423 "EnableWebBasedSignin": {
424 "os": ["win", "linux", "mac"],
425 "test_policy": { "EnableWebBasedSignin": false }
429 "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."
433 "os": ["win", "mac", "linux"],
434 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
436 { "pref": "browser.disk_cache_dir" }
441 "os": ["win", "mac", "linux"],
442 "test_policy": { "DiskCacheSize": 100 },
444 { "pref": "browser.disk_cache_size" }
449 "os": ["win", "mac", "linux"],
450 "test_policy": { "MediaCacheSize": 200 },
452 { "pref": "browser.media_cache_size" }
456 "DownloadDirectory.0": {
457 "os": ["win", "mac", "linux", "chromeos"],
458 "can_be_recommended": true,
459 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
461 { "pref": "download.default_directory",
463 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
466 { "pref": "download.prompt_for_download",
467 "check_for_recommended" : false,
469 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
475 "DownloadDirectory.1": {
477 "test_policy": { "DownloadDirectory": "${google_drive}/downloads" },
479 { "pref": "gdata.disabled",
481 { "policy": { "DownloadDirectory": "${google_drive}/downloads" } }
487 "ClearSiteDataOnExit": {
488 "note": "This policy is retired, see http://crbug.com/133291."
492 "os": ["win", "mac", "linux"],
493 "test_policy": { "ProxyMode": "direct" },
497 { "policy": { "ProxyMode": "direct" } }
504 "os": ["win", "mac", "linux"],
505 "test_policy": { "ProxyServerMode": 0 },
509 { "policy": { "ProxyServerMode": 0 } }
516 "os": ["win", "mac", "linux"],
517 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" },
521 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" } }
528 "os": ["win", "mac", "linux"],
529 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" },
533 { "policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" } }
540 "os": ["win", "mac", "linux"],
541 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" },
545 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" } }
552 "os": ["linux", "win"],
553 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } },
557 { "policy": { "ProxySettings": { "ProxyMode": "direct" } } }
563 "EnableOriginBoundCerts": {
564 "note": "This policy is retired, see http://crbug.com/354749."
567 "DisableSSLRecordSplitting": {
568 "os": ["win", "linux", "mac", "chromeos"],
569 "test_policy": { "DisableSSLRecordSplitting": true },
571 { "pref": "ssl.ssl_record_splitting.disabled",
577 "EnableOnlineRevocationChecks": {
578 "os": ["win", "linux", "mac", "chromeos"],
579 "test_policy": { "EnableOnlineRevocationChecks": true },
581 { "pref": "ssl.rev_checking.enabled",
587 "RequireOnlineRevocationChecksForLocalAnchors": {
588 "os": ["win", "linux", "chromeos"],
589 "test_policy": { "RequireOnlineRevocationChecksForLocalAnchors": true },
591 { "pref": "ssl.rev_checking.required_for_local_anchors",
598 "os": ["win", "linux", "mac", "chromeos"],
599 "test_policy": { "AuthSchemes": "AuthSchemes" },
601 { "pref": "auth.schemes",
607 "DisableAuthNegotiateCnameLookup": {
608 "os": ["win", "linux", "mac", "chromeos"],
609 "test_policy": { "DisableAuthNegotiateCnameLookup": true },
611 { "pref": "auth.disable_negotiate_cname_lookup",
617 "EnableAuthNegotiatePort": {
618 "os": ["win", "linux", "mac", "chromeos"],
619 "test_policy": { "EnableAuthNegotiatePort": true },
621 { "pref": "auth.enable_negotiate_port",
627 "AuthServerWhitelist": {
628 "os": ["win", "linux", "mac", "chromeos"],
629 "test_policy": { "AuthServerWhitelist": "localhost" },
631 { "pref": "auth.server_whitelist",
637 "AuthNegotiateDelegateWhitelist": {
638 "os": ["win", "linux", "mac", "chromeos"],
639 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" },
641 { "pref": "auth.negotiate_delegate_whitelist",
647 "GSSAPILibraryName": {
648 "os": ["mac", "linux"],
649 "test_policy": { "GSSAPILibraryName": "libwhatever.so" },
651 { "pref": "auth.gssapi_library_name",
657 "AllowCrossOriginAuthPrompt": {
658 "os": ["win", "mac", "linux"],
659 "test_policy": { "AllowCrossOriginAuthPrompt": true },
661 { "pref": "auth.allow_cross_origin_prompt",
667 "ExtensionInstallBlacklist": {
668 "os": ["win", "linux", "mac", "chromeos"],
669 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
671 { "pref": "extensions.install.denylist" }
675 "ExtensionInstallWhitelist": {
676 "os": ["win", "linux", "mac", "chromeos"],
677 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"] },
679 { "pref": "extensions.install.allowlist" }
683 "ExtensionInstallForcelist": {
684 "os": ["win", "linux", "mac", "chromeos"],
685 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
687 { "pref": "extensions.install.forcelist" }
691 "ExtensionInstallSources": {
692 "os": ["win", "linux", "mac", "chromeos"],
693 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
695 { "pref": "extensions.allowed_install_sites" }
699 "ExtensionAllowedTypes": {
700 "os": ["win", "linux", "mac", "chromeos"],
701 "test_policy": { "ExtensionAllowedTypes": ["hosted_app"] },
703 { "pref": "extensions.allowed_types" }
707 "ExtensionSettings": {
708 "os": ["win", "linux", "mac", "chromeos"],
710 "ExtensionSettings": {
711 "abcdefghijklmnopabcdefghijklmnop" : {
712 "installation_mode": "allowed",
713 "blocked_permissions": ["history"]
715 "bcdefghijklmnopabcdefghijklmnopa" : {
716 "installation_mode": "force_installed",
717 "update_url": "http://example.com/update_url",
718 "allowed_permissions": ["downloads"]
721 "installation_mode": "blocked",
722 "blocked_permissions": ["downloads", "bookmarks"],
723 "install_sources": ["http://company-intranet/chromeapps"],
724 "allowed_types": ["hosted_app"]
729 { "pref": "extensions.management" }
734 "os": ["win", "linux", "mac", "chromeos"],
735 "can_be_recommended": true,
736 "test_policy": { "ShowHomeButton": true },
738 { "pref": "browser.show_home_button",
740 { "policy": { "ShowHomeButton": true } }
746 "DeveloperToolsDisabled": {
747 "os": ["win", "linux", "mac", "chromeos"],
748 "test_policy": { "DeveloperToolsDisabled": true },
750 { "pref": "devtools.disabled" }
754 "RestoreOnStartup": {
755 "os": ["win", "linux", "mac", "chromeos"],
756 "can_be_recommended": true,
757 "test_policy": { "RestoreOnStartup": 4 },
759 { "pref": "session.restore_on_startup",
761 { "policy": { "RestoreOnStartup": 1 },
763 { "policy": { "RestoreOnStartup": 4 },
765 { "policy": { "RestoreOnStartup": 5 },
772 "RestoreOnStartupURLs": {
773 "os": ["win", "linux", "mac", "chromeos"],
774 "can_be_recommended": true,
775 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
777 { "pref": "session.startup_urls",
779 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } }
785 "BlockThirdPartyCookies": {
786 "os": ["win", "linux", "mac", "chromeos"],
787 "can_be_recommended": true,
788 "test_policy": { "BlockThirdPartyCookies": true },
790 { "pref": "profile.block_third_party_cookies",
792 { "policy": { "BlockThirdPartyCookies": true } }
798 "DefaultSearchProviderEnabled": {
799 "os": ["win", "linux", "mac", "chromeos"],
800 "test_policy": { "DefaultSearchProviderEnabled": false },
802 { "pref": "default_search_provider_data.template_url_data",
804 { "policy": { "DefaultSearchProviderEnabled": false } },
805 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" } }
811 "DefaultSearchProviderName": {
812 "os": ["win", "linux", "mac", "chromeos"],
813 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderName": "google.com" },
815 { "pref": "default_search_provider_data.template_url_data" }
819 "DefaultSearchProviderKeyword": {
820 "os": ["win", "linux", "mac", "chromeos"],
821 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
823 { "pref": "default_search_provider_data.template_url_data" }
827 "DefaultSearchProviderSearchURL": {
828 "os": ["win", "linux", "mac", "chromeos"],
829 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
831 { "pref": "default_search_provider_data.template_url_data",
832 "indicator_selector": "[setting=search-engine]",
834 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
840 "DefaultSearchProviderSuggestURL": {
841 "os": ["win", "linux", "mac", "chromeos"],
842 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURL": "http://www.google.com/suggest?q={searchTerms}" },
844 { "pref": "default_search_provider_data.template_url_data" }
848 "DefaultSearchProviderInstantURL": {
849 "os": ["win", "linux", "mac", "chromeos"],
850 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURL": "http://www.google.com/instant?q={searchTerms}" },
852 { "pref": "default_search_provider_data.template_url_data" }
856 "DefaultSearchProviderNewTabURL": {
857 "os": ["win", "linux", "mac", "chromeos"],
858 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderNewTabURL": "http://www.google.com/newtab" },
860 { "pref": "default_search_provider_data.template_url_data" }
864 "DefaultSearchProviderIconURL": {
865 "os": ["win", "linux", "mac", "chromeos"],
866 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.ico" },
868 { "pref": "default_search_provider_data.template_url_data" }
872 "DefaultSearchProviderEncodings": {
873 "os": ["win", "linux", "mac", "chromeos"],
874 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderEncodings": ["UTF-8"] },
876 { "pref": "default_search_provider_data.template_url_data" }
880 "DefaultSearchProviderAlternateURLs": {
881 "os": ["win", "linux", "mac", "chromeos"],
882 "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}"] },
884 { "pref": "default_search_provider_data.template_url_data" }
888 "DefaultSearchProviderSearchTermsReplacementKey": {
889 "os": ["win", "linux", "mac", "chromeos"],
890 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchTermsReplacementKey": "espv" },
892 { "pref": "default_search_provider_data.template_url_data" }
896 "DefaultSearchProviderImageURL": {
897 "os": ["win", "linux", "mac", "chromeos"],
898 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURL": "http://www.google.com/searchbyimage/upload" },
900 { "pref": "default_search_provider_data.template_url_data" }
904 "DefaultSearchProviderSearchURLPostParams": {
905 "os": ["win", "linux", "mac", "chromeos"],
906 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchURLPostParams": "" },
908 { "pref": "default_search_provider_data.template_url_data" }
912 "DefaultSearchProviderSuggestURLPostParams": {
913 "os": ["win", "linux", "mac", "chromeos"],
914 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURLPostParams": "" },
916 { "pref": "default_search_provider_data.template_url_data" }
920 "DefaultSearchProviderInstantURLPostParams": {
921 "os": ["win", "linux", "mac", "chromeos"],
922 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURLPostParams": "" },
924 { "pref": "default_search_provider_data.template_url_data" }
928 "DefaultSearchProviderImageURLPostParams": {
929 "os": ["win", "linux", "mac", "chromeos"],
930 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURLPostParams": "image_content={imageThumbnail},image_url={imageURL},sbisrc={imageSearchSource}" },
932 { "pref": "default_search_provider_data.template_url_data" }
936 "DefaultCookiesSetting": {
937 "os": ["win", "linux", "mac", "chromeos"],
938 "test_policy": { "DefaultCookiesSetting": 2 },
940 { "pref": "profile.managed_default_content_settings.cookies",
941 "indicator_selector": "[content-setting=cookies]",
943 { "policy": { "DefaultCookiesSetting": 1 },
945 { "policy": { "DefaultCookiesSetting": 2 },
947 { "policy": { "DefaultCookiesSetting": 4 },
953 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
956 "DefaultImagesSetting": {
957 "os": ["win", "linux", "mac", "chromeos"],
958 "test_policy": { "DefaultImagesSetting": 2 },
960 { "pref": "profile.managed_default_content_settings.images",
961 "indicator_selector": "[content-setting=images]",
963 { "policy": { "DefaultImagesSetting": 1 },
965 { "policy": { "DefaultImagesSetting": 2 },
971 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
974 "DefaultJavaScriptSetting": {
975 "os": ["win", "linux", "mac", "chromeos"],
976 "test_policy": { "DefaultJavaScriptSetting": 2 },
978 { "pref": "profile.managed_default_content_settings.javascript",
979 "indicator_selector": "[content-setting=javascript]",
981 { "policy": { "DefaultJavaScriptSetting": 1 },
983 { "policy": { "DefaultJavaScriptSetting": 2 },
989 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
992 "DefaultPluginsSetting": {
993 "os": ["win", "linux", "mac", "chromeos"],
994 "test_policy": { "DefaultPluginsSetting": 2 },
996 { "pref": "profile.managed_default_content_settings.plugins",
997 "indicator_selector": "[content-setting=plugins]",
999 { "policy": { "DefaultPluginsSetting": 1 },
1001 { "policy": { "DefaultPluginsSetting": 2 },
1003 { "policy": { "DefaultPluginsSetting": 3 },
1009 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1012 "DefaultPopupsSetting": {
1013 "os": ["win", "linux", "mac", "chromeos"],
1014 "test_policy": { "DefaultPopupsSetting": 2 },
1016 { "pref": "profile.managed_default_content_settings.popups",
1017 "indicator_selector": "[content-setting=popups]",
1018 "indicator_tests": [
1019 { "policy": { "DefaultPopupsSetting": 1 },
1021 { "policy": { "DefaultPopupsSetting": 2 },
1027 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1030 "DefaultNotificationsSetting": {
1031 "os": ["win", "linux", "mac", "chromeos"],
1032 "test_policy": { "DefaultNotificationsSetting": 2 },
1034 { "pref": "profile.managed_default_content_settings.notifications",
1035 "indicator_selector": "[content-setting=notifications]",
1036 "indicator_tests": [
1037 { "policy": { "DefaultNotificationsSetting": 1 },
1039 { "policy": { "DefaultNotificationsSetting": 2 },
1041 { "policy": { "DefaultNotificationsSetting": 3 },
1047 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1050 "DefaultGeolocationSetting": {
1051 "os": ["win", "linux", "mac", "chromeos"],
1052 "test_policy": { "DefaultGeolocationSetting": 2 },
1054 { "pref": "profile.managed_default_content_settings.geolocation",
1055 "indicator_selector": "[content-setting=location]",
1056 "indicator_tests": [
1057 { "policy": { "DefaultGeolocationSetting": 1 },
1059 { "policy": { "DefaultGeolocationSetting": 2 },
1061 { "policy": { "DefaultGeolocationSetting": 3 },
1067 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1070 "DefaultMediaStreamSetting": {
1071 "os": ["win", "linux", "mac", "chromeos"],
1072 "test_policy": { "DefaultMediaStreamSetting": 2 },
1074 { "pref": "profile.managed_default_content_settings.media_stream",
1075 "indicator_selector": "[content-setting=media-stream]",
1076 "indicator_tests": [
1077 { "policy": { "DefaultMediaStreamSetting": 2 },
1080 { "policy": { "DefaultMediaStreamSetting": 3 },
1087 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1090 "AudioCaptureAllowed": {
1091 "os": ["win", "linux", "mac", "chromeos"],
1092 "test_policy": { "AudioCaptureAllowed": false },
1094 { "pref": "hardware.audio_capture_enabled",
1095 "indicator_selector": "#media-indicator",
1096 "indicator_tests": [
1097 { "policy": { "AudioCaptureAllowed": false } }
1103 "AudioCaptureAllowedUrls": {
1104 "os": ["win", "linux", "mac", "chromeos"],
1105 "test_policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
1108 "pref": "hardware.audio_capture_allowed_urls"
1113 "VideoCaptureAllowed": {
1114 "os": ["win", "linux", "mac", "chromeos"],
1115 "test_policy": { "VideoCaptureAllowed": false },
1117 { "pref": "hardware.video_capture_enabled",
1118 "indicator_selector": "#media-indicator",
1119 "indicator_tests": [
1120 { "policy": { "VideoCaptureAllowed": false } }
1126 "VideoCaptureAllowedUrls": {
1127 "os": ["win", "linux", "mac", "chromeos"],
1128 "test_policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
1131 "pref": "hardware.video_capture_allowed_urls"
1136 "AutoSelectCertificateForUrls": {
1137 "os": ["win", "linux", "mac", "chromeos"],
1138 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://example.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1140 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1143 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1146 "CookiesAllowedForUrls": {
1147 "os": ["win", "linux", "mac", "chromeos"],
1148 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
1150 { "pref": "profile.managed_cookies_allowed_for_urls",
1151 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1152 "indicator_selector": "[content-exception=cookies]",
1153 "indicator_tests": [
1154 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } }
1159 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1162 "CookiesBlockedForUrls": {
1163 "os": ["win", "linux", "mac", "chromeos"],
1164 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
1166 { "pref": "profile.managed_cookies_blocked_for_urls",
1167 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1168 "indicator_selector": "[content-exception=cookies]",
1169 "indicator_tests": [
1170 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } }
1175 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1178 "CookiesSessionOnlyForUrls": {
1179 "os": ["win", "linux", "mac", "chromeos"],
1180 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
1182 { "pref": "profile.managed_cookies_sessiononly_for_urls",
1183 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1184 "indicator_selector": "[content-exception=cookies]",
1185 "indicator_tests": [
1186 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } }
1191 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1194 "ImagesAllowedForUrls": {
1195 "os": ["win", "linux", "mac", "chromeos"],
1196 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
1198 { "pref": "profile.managed_images_allowed_for_urls",
1199 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1200 "indicator_selector": "[content-exception=images]",
1201 "indicator_tests": [
1202 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } }
1207 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1210 "ImagesBlockedForUrls": {
1211 "os": ["win", "linux", "mac", "chromeos"],
1212 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
1214 { "pref": "profile.managed_images_blocked_for_urls",
1215 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1216 "indicator_selector": "[content-exception=images]",
1217 "indicator_tests": [
1218 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } }
1223 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1226 "JavaScriptAllowedForUrls": {
1227 "os": ["win", "linux", "mac", "chromeos"],
1228 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
1230 { "pref": "profile.managed_javascript_allowed_for_urls",
1231 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1232 "indicator_selector": "[content-exception=javascript]",
1233 "indicator_tests": [
1234 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } }
1239 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1242 "JavaScriptBlockedForUrls": {
1243 "os": ["win", "linux", "mac", "chromeos"],
1244 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
1246 { "pref": "profile.managed_javascript_blocked_for_urls",
1247 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1248 "indicator_selector": "[content-exception=javascript]",
1249 "indicator_tests": [
1250 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1255 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1258 "PluginsAllowedForUrls": {
1259 "os": ["win", "linux", "mac", "chromeos"],
1260 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1262 { "pref": "profile.managed_plugins_allowed_for_urls",
1263 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1264 "indicator_selector": "[content-exception=plugins]",
1265 "indicator_tests": [
1266 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1271 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1274 "PluginsBlockedForUrls": {
1275 "os": ["win", "linux", "mac", "chromeos"],
1276 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
1278 { "pref": "profile.managed_plugins_blocked_for_urls",
1279 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1280 "indicator_selector": "[content-exception=plugins]",
1281 "indicator_tests": [
1282 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } }
1287 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1290 "PopupsAllowedForUrls": {
1291 "os": ["win", "linux", "mac", "chromeos"],
1292 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
1294 { "pref": "profile.managed_popups_allowed_for_urls",
1295 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1296 "indicator_selector": "[content-exception=popups]",
1297 "indicator_tests": [
1298 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } }
1303 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1306 "PopupsBlockedForUrls": {
1307 "os": ["win", "linux", "mac", "chromeos"],
1308 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
1310 { "pref": "profile.managed_popups_blocked_for_urls",
1311 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1312 "indicator_selector": "[content-exception=popups]",
1313 "indicator_tests": [
1314 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } }
1319 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1322 "NotificationsAllowedForUrls": {
1323 "os": ["win", "linux", "mac", "chromeos"],
1324 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
1326 { "pref": "profile.managed_notifications_allowed_for_urls",
1327 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1328 "indicator_selector": "[content-exception=notifications]",
1329 "indicator_tests": [
1330 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } }
1335 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1338 "NotificationsBlockedForUrls": {
1339 "os": ["win", "linux", "mac", "chromeos"],
1340 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
1342 { "pref": "profile.managed_notifications_blocked_for_urls",
1343 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1344 "indicator_selector": "[content-exception=notifications]",
1345 "indicator_tests": [
1346 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } }
1351 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1355 "os": ["win", "linux", "mac", "chromeos"],
1356 "test_policy": { "Disable3DAPIs": true },
1358 { "pref": "disable_3d_apis" }
1365 "TranslateEnabled": {
1366 "os": ["win", "linux", "mac", "chromeos"],
1367 "can_be_recommended": true,
1368 "test_policy": { "TranslateEnabled": false },
1370 { "pref": "translate.enabled",
1371 "indicator_tests": [
1372 { "policy": { "TranslateEnabled": true } }
1378 "AllowOutdatedPlugins": {
1379 "os": ["win", "linux", "mac", "chromeos"],
1380 "test_policy": { "AllowOutdatedPlugins": true },
1382 { "pref": "plugins.allow_outdated" }
1386 "AlwaysAuthorizePlugins": {
1387 "os": ["win", "linux", "mac", "chromeos"],
1388 "test_policy": { "AlwaysAuthorizePlugins": true },
1390 { "pref": "plugins.always_authorize" }
1394 "BookmarkBarEnabled": {
1395 "os": ["win", "linux", "mac", "chromeos"],
1396 "can_be_recommended": true,
1397 "test_policy": { "BookmarkBarEnabled": true },
1399 { "pref": "bookmark_bar.show_on_all_tabs",
1400 "indicator_tests": [
1401 { "policy": { "BookmarkBarEnabled": true } }
1407 "EditBookmarksEnabled": {
1408 "os": ["win", "linux", "mac", "chromeos"],
1409 "test_policy": { "EditBookmarksEnabled": false },
1411 { "pref": "bookmarks.editing_enabled" }
1415 "ShowAppsShortcutInBookmarkBar": {
1416 "os": ["win", "linux", "mac"],
1417 "test_policy": { "ShowAppsShortcutInBookmarkBar": false },
1419 { "pref": "bookmark_bar.show_apps_shortcut" }
1423 "AllowFileSelectionDialogs": {
1424 "os": ["win", "mac", "linux"],
1425 "test_policy": { "AllowFileSelectionDialogs": false },
1427 { "pref": "select_file_dialogs.allowed",
1430 { "pref": "download.prompt_for_download",
1431 "indicator_tests": [
1432 { "policy": { "AllowFileSelectionDialogs": false } }
1438 "ImportBookmarks": {
1439 "os": ["win", "mac", "linux"],
1440 "can_be_recommended": true,
1441 "test_policy": { "ImportBookmarks": false },
1443 { "pref": "import_bookmarks",
1444 "indicator_tests": [
1445 { "policy": { "ImportBookmarks": false } }
1452 "os": ["win", "mac", "linux"],
1453 "can_be_recommended": true,
1454 "test_policy": { "ImportHistory": false },
1456 { "pref": "import_history",
1457 "indicator_tests": [
1458 { "policy": { "ImportHistory": false } }
1465 "os": ["win", "mac", "linux"],
1466 "test_policy": { "ImportHomepage": false },
1468 { "pref": "import_home_page" }
1472 "ImportSearchEngine": {
1473 "os": ["win", "mac", "linux"],
1474 "can_be_recommended": true,
1475 "test_policy": { "ImportSearchEngine": false },
1477 { "pref": "import_search_engine",
1478 "indicator_tests": [
1479 { "policy": { "ImportSearchEngine": false } }
1485 "ImportSavedPasswords": {
1486 "os": ["win", "mac", "linux"],
1487 "can_be_recommended": true,
1488 "test_policy": { "ImportSavedPasswords": false },
1490 { "pref": "import_saved_passwords",
1491 "indicator_tests": [
1492 { "policy": { "ImportSavedPasswords": false } }
1498 "ImportAutofillFormData": {
1499 "os": ["win", "mac", "linux"],
1500 "can_be_recommended": true,
1501 "test_policy": { "ImportAutofillFormData": false },
1503 { "pref": "import_autofill_form_data",
1504 "indicator_tests": [
1505 { "policy": { "ImportAutofillFormData": false } }
1511 "MaxConnectionsPerProxy": {
1512 "os": ["win", "linux", "mac", "chromeos"],
1513 "test_policy": { "MaxConnectionsPerProxy": 16 },
1515 { "pref": "net.max_connections_per_proxy",
1521 "HideWebStorePromo": {
1525 "os": ["win", "linux", "mac", "chromeos"],
1526 "test_policy": { "URLBlacklist": ["google.com"] },
1528 { "pref": "policy.url_blacklist" }
1533 "os": ["win", "linux", "mac", "chromeos"],
1534 "test_policy": { "URLWhitelist": ["google.com"] },
1536 { "pref": "policy.url_whitelist" }
1540 "EnterpriseWebStoreURL": {
1541 "note": "This policy is retired, see http://crbug.com/178938."
1544 "EnterpriseWebStoreName": {
1545 "note": "This policy is retired, see http://crbug.com/178938."
1548 "EnableMemoryInfo": {
1549 "note": "This policy is retired, see http://crbug.com/350339."
1552 "DisablePrintPreview": {
1553 "os": ["win", "mac", "linux"],
1554 "test_policy": { "DisablePrintPreview": false },
1556 { "pref": "printing.print_preview_disabled" }
1560 "BackgroundModeEnabled": {
1561 "os": ["win", "linux"],
1562 "can_be_recommended": true,
1563 "test_policy": { "BackgroundModeEnabled": false },
1565 { "pref": "background_mode.enabled",
1566 "local_state": true,
1567 "indicator_tests": [
1568 { "policy": { "BackgroundModeEnabled": false } }
1574 "RestrictSigninToPattern": {
1575 "os": ["win", "mac", "linux"],
1576 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
1578 { "pref": "google.services.username_pattern",
1584 "DisableSafeBrowsingProceedAnyway": {
1585 "os": ["win", "linux", "mac", "chromeos"],
1586 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
1588 { "pref": "safebrowsing.proceed_anyway_disabled" }
1592 "SpellCheckServiceEnabled": {
1593 "os": ["win", "linux", "mac", "chromeos"],
1594 "official_only": true,
1595 "can_be_recommended": true,
1596 "test_policy": { "SpellCheckServiceEnabled": false },
1598 { "pref": "spellcheck.use_spelling_service",
1599 "indicator_tests": [
1600 { "policy": { "SpellCheckServiceEnabled": false } }
1606 "DisableScreenshots": {
1607 "os": ["win", "linux", "mac", "chromeos"],
1608 "test_policy": { "DisableScreenshots": true },
1610 { "pref": "disable_screenshots" }
1614 "BuiltInDnsClientEnabled": {
1615 "os": ["win", "linux", "mac"],
1616 "test_policy": { "BuiltInDnsClientEnabled": true },
1618 { "pref": "async_dns.enabled",
1624 "WPADQuickCheckEnabled": {
1625 "os": ["win", "linux", "mac", "chromeos"],
1626 "test_policy": { "WPADQuickCheckEnabled": true },
1628 { "pref": "proxy.quick_check_enabled",
1634 "RegisteredProtocolHandlers": {
1635 "os": ["win", "linux", "mac", "chromeos"],
1636 "can_be_recommended": true,
1637 "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": "http://example.com/%s", "default": "true"} },
1639 { "pref": "custom_handlers.policy.registered_protocol_handlers",
1640 "check_for_mandatory": false
1645 "HideWebStoreIcon": {
1646 "os": ["win", "linux", "mac", "chromeos"],
1647 "test_policy": { "HideWebStoreIcon": true },
1649 { "pref": "hide_web_store_icon" }
1653 "VariationsRestrictParameter": {
1654 "test_policy": { "VariationsRestrictParameter": "restricted" },
1656 { "pref": "variations_restrict_parameter",
1662 "DataCompressionProxyEnabled": {
1664 "test_policy": { "DataCompressionProxyEnabled": false },
1666 { "pref": "spdy_proxy.enabled" }
1670 "ForceEphemeralProfiles": {
1673 "UserAvatarImage": {
1676 "UserAvatarImage": {
1677 "url": "http://localhost/",
1678 "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
1681 "indicator_selector": "#account-picture-indicator"
1688 "url": "http://localhost/",
1689 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf"
1692 "indicator_selector": "#wallpaper-indicator"
1695 "BrowserGuestModeEnabled": {
1696 "os": ["win", "linux", "mac"],
1697 "test_policy": { "BrowserGuestModeEnabled": true },
1699 { "pref": "profile.browser_guest_enabled",
1705 "BrowserAddPersonEnabled": {
1706 "os": ["win", "linux", "mac"],
1707 "test_policy": { "BrowserAddPersonEnabled": true },
1709 { "pref": "profile.add_person_enabled",
1716 "os": ["win", "linux", "mac", "chromeos"],
1717 "test_policy": { "SSLVersionMin": "tls1.2" },
1721 "SSLVersionFallbackMin": {
1722 "os": ["win", "linux", "mac", "chromeos"],
1723 "test_policy": { "SSLVersionFallbackMin": "tls1.2" },
1727 "----- Chrome OS policies ------------------------------------------------": {},
1729 "ChromeOsLockOnIdleSuspend": {
1731 "can_be_recommended": true,
1732 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1734 { "pref": "settings.enable_screen_lock",
1735 "indicator_tests": [
1736 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
1742 "PolicyRefreshRate": {
1744 "test_policy": { "PolicyRefreshRate": 300000 },
1746 { "pref": "policy.user_refresh_rate",
1752 "MaxInvalidationFetchDelay": {
1753 "os": ["win", "linux", "mac", "chromeos"],
1754 "test_policy": { "PolicyRefreshRate": 15000 },
1758 "OpenNetworkConfiguration": {
1761 "SAMLOfflineSigninTimeLimit": {
1763 "test_policy": { "SAMLOfflineSigninTimeLimit": 0 },
1765 { "pref": "saml.offline_signin_time_limit" }
1771 "test_policy": { "DriveDisabled": true },
1773 { "pref": "gdata.disabled",
1774 "indicator_tests": [
1775 { "policy": { "DriveDisabled": true } }
1781 "DriveDisabledOverCellular": {
1783 "test_policy": { "DriveDisabledOverCellular": true },
1785 { "pref": "gdata.cellular.disabled" }
1789 "PinnedLauncherApps": {
1791 "can_be_recommended": true,
1792 "test_policy": { "PinnedLauncherApps": [] },
1794 { "pref": "pinned_launcher_apps" }
1798 "ExternalStorageDisabled": {
1800 "test_policy": { "ExternalStorageDisabled": true },
1802 { "pref": "hardware.external_storage_disabled" }
1806 "AudioOutputAllowed": {
1808 "test_policy": { "AudioOutputAllowed": true },
1810 { "pref": "hardware.audio_output_enabled",
1811 "local_state": true }
1815 "AudioCaptureAllowed": {
1817 "test_policy": { "AudioCaptureAllowed": true },
1819 { "pref": "hardware.audio_capture_enabled",
1820 "local_state": true }
1824 "ShowLogoutButtonInTray": {
1826 "test_policy": { "ShowLogoutButtonInTray": true },
1828 { "pref": "show_logout_button_in_tray" }
1832 "ShelfAutoHideBehavior": {
1834 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1836 { "pref": "auto_hide_behavior_local" }
1840 "UserDisplayName": {
1844 "SessionLengthLimit": {
1846 "test_policy": { "SessionLengthLimit": 3600000 },
1848 { "pref": "session.length_limit",
1849 "local_state": true }
1853 "ScreenDimDelayAC": {
1855 "test_policy": { "ScreenDimDelayAC": 420000 },
1857 { "pref": "power.ac_screen_dim_delay_ms" }
1861 "ScreenOffDelayAC": {
1863 "test_policy": { "ScreenOffDelayAC": 480000 },
1865 { "pref": "power.ac_screen_off_delay_ms" }
1869 "ScreenLockDelayAC": {
1871 "test_policy": { "ScreenLockDelayAC": 600000 },
1873 { "pref": "power.ac_screen_lock_delay_ms" }
1877 "IdleWarningDelayAC": {
1879 "test_policy": { "IdleWarningDelayAC": 1800000 },
1881 { "pref": "power.ac_idle_warning_delay_ms" }
1887 "test_policy": { "IdleDelayAC": 1800000 },
1889 { "pref": "power.ac_idle_delay_ms" }
1893 "ScreenDimDelayBattery": {
1895 "test_policy": { "ScreenDimDelayBattery": 300000 },
1897 { "pref": "power.battery_screen_dim_delay_ms" }
1901 "ScreenOffDelayBattery": {
1903 "test_policy": { "ScreenOffDelayBattery": 360000 },
1905 { "pref": "power.battery_screen_off_delay_ms" }
1909 "ScreenLockDelayBattery": {
1911 "test_policy": { "ScreenLockDelayBattery": 600000 },
1913 { "pref": "power.battery_screen_lock_delay_ms" }
1917 "IdleWarningDelayBattery": {
1919 "test_policy": { "IdleWarningDelayBattery": 600000 },
1921 { "pref": "power.battery_idle_warning_delay_ms" }
1925 "IdleDelayBattery": {
1927 "test_policy": { "IdleDelayBattery": 600000 },
1929 { "pref": "power.battery_idle_delay_ms" }
1935 "test_policy": { "IdleAction": 0 },
1937 { "pref": "power.ac_idle_action" },
1938 { "pref": "power.battery_idle_action" }
1944 "test_policy": { "IdleActionAC": 0 },
1946 { "pref": "power.ac_idle_action" }
1950 "IdleActionBattery": {
1952 "test_policy": { "IdleActionBattery": 0 },
1954 { "pref": "power.battery_idle_action" }
1960 "test_policy": { "LidCloseAction": 0 },
1962 { "pref": "power.lid_closed_action" }
1966 "PowerManagementUsesAudioActivity": {
1968 "test_policy": { "PowerManagementUsesAudioActivity": true },
1970 { "pref": "power.use_audio_activity" }
1974 "PowerManagementUsesVideoActivity": {
1976 "test_policy": { "PowerManagementUsesVideoActivity": true },
1978 { "pref": "power.use_video_activity" }
1982 "PresentationIdleDelayScale": {
1985 "PresentationScreenDimDelayScale": {
1987 "test_policy": { "PresentationScreenDimDelayScale": 200 },
1989 { "pref": "power.presentation_screen_dim_delay_factor" }
1993 "AllowScreenWakeLocks": {
1995 "test_policy": { "AllowScreenWakeLocks": false },
1997 { "pref": "power.allow_screen_wake_locks" }
2001 "UserActivityScreenDimDelayScale": {
2003 "test_policy": { "UserActivityScreenDimDelayScale": 200 },
2005 { "pref": "power.user_activity_screen_dim_delay_factor" }
2009 "WaitForInitialUserActivity": {
2011 "test_policy": { "WaitForInitialUserActivity": true },
2013 { "pref": "session.wait_for_initial_user_activity",
2014 "local_state": true },
2015 { "pref": "power.wait_for_initial_user_activity" }
2019 "PowerManagementIdleSettings": {
2021 "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"} } },
2023 { "pref": "power.ac_screen_dim_delay_ms" },
2024 { "pref": "power.ac_screen_off_delay_ms" },
2025 { "pref": "power.ac_idle_warning_delay_ms" },
2026 { "pref": "power.ac_idle_delay_ms" },
2027 { "pref": "power.battery_screen_dim_delay_ms" },
2028 { "pref": "power.battery_screen_off_delay_ms" },
2029 { "pref": "power.battery_idle_warning_delay_ms" },
2030 { "pref": "power.battery_idle_delay_ms" }
2034 "ScreenLockDelays": {
2036 "test_policy": { "ScreenLockDelays": { "AC": 6000, "Battery": 2000 } },
2038 { "pref": "power.ac_screen_lock_delay_ms" },
2039 { "pref": "power.battery_screen_lock_delay_ms" }
2043 "TermsOfServiceURL": {
2045 "test_policy": { "TermsOfServiceURL": "http://www.example.com/terms_of_service.txt" },
2047 { "pref": "terms_of_service.url" }
2051 "ShowAccessibilityOptionsInSystemTrayMenu": {
2053 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
2055 { "pref": "settings.a11y.enable_menu",
2056 "indicator_tests": [
2057 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } }
2063 "LargeCursorEnabled": {
2065 "test_policy": { "LargeCursorEnabled": true },
2067 { "pref": "settings.a11y.large_cursor_enabled",
2068 "indicator_tests": [
2069 { "policy": { "LargeCursorEnabled": true } }
2075 "SpokenFeedbackEnabled": {
2077 "test_policy": { "SpokenFeedbackEnabled": true },
2079 { "pref": "settings.accessibility",
2080 "indicator_tests": [
2081 { "policy": { "SpokenFeedbackEnabled": true } }
2087 "HighContrastEnabled": {
2089 "test_policy": { "HighContrastEnabled": true },
2091 { "pref": "settings.a11y.high_contrast_enabled",
2092 "indicator_tests": [
2093 { "policy": { "HighContrastEnabled": true } }
2099 "ScreenMagnifierType": {
2101 "test_policy": { "ScreenMagnifierType": 1 },
2103 { "pref": "settings.a11y.screen_magnifier",
2104 "indicator_tests": [
2105 { "policy": { "ScreenMagnifierType": 1 } }
2108 { "pref": "settings.a11y.screen_magnifier_type2" }
2112 "VirtualKeyboardEnabled": {
2114 "test_policy": { "VirtualKeyboardEnabled": true },
2116 { "pref": "settings.a11y.virtual_keyboard",
2117 "indicator_tests": [
2118 { "policy": { "VirtualKeyboardEnabled": true } }
2124 "KeyboardDefaultToFunctionKeys": {
2126 "test_policy": { "KeyboardDefaultToFunctionKeys": true },
2128 { "pref": "settings.language.send_function_keys",
2129 "indicator_tests": [
2130 { "policy": { "KeyboardDefaultToFunctionKeys": true } }
2136 "AttestationEnabledForUser": {
2138 "test_policy": { "AttestationEnabledForUser": true },
2140 { "pref": "attestation.enabled" }
2144 "AttestationExtensionWhitelist": {
2146 "test_policy": { "AttestationExtensionWhitelist": ["test_ext_id1", "test_ext_id2"] },
2148 { "pref": "attestation.extension_whitelist" }
2152 "ContentPackDefaultFilteringBehavior": {
2155 "ContentPackManualBehaviorHosts": {
2158 "ContentPackManualBehaviorURLs": {
2161 "ManagedBookmarks": {
2164 "FullscreenAllowed": {
2165 "os": ["win", "linux", "chromeos"],
2166 "test_policy": { "FullscreenAllowed": false },
2168 { "pref": "fullscreen.allowed" },
2169 { "pref": "apps.fullscreen.allowed" }
2173 "ChromeOsMultiProfileUserBehavior": {
2175 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
2177 { "pref": "settings.multiprofile_user_behavior" }
2181 "NativeMessagingBlacklist": {
2182 "os": ["win", "linux", "mac"],
2183 "test_policy": { "NativeMessagingBlacklist": ["*"] },
2185 { "pref": "native_messaging.blacklist" }
2189 "NativeMessagingWhitelist": {
2190 "os": ["win", "linux", "mac"],
2191 "test_policy": { "NativeMessagingWhitelist": ["native.messaging.host.name"] },
2193 { "pref": "native_messaging.whitelist" }
2197 "NativeMessagingUserLevelHosts": {
2198 "os": ["win", "linux", "mac"],
2199 "test_policy": { "NativeMessagingUserLevelHosts": false },
2201 { "pref": "native_messaging.user_level_hosts" }
2205 "EnableDeprecatedWebPlatformFeatures": {
2206 "os": ["win", "linux", "mac", "chromeos"],
2208 "EnableDeprecatedWebPlatformFeatures": [
2209 "ShowModalDialog_EffectiveUntil20150430"
2213 { "pref": "enable_deprecated_web_platform_features" }
2217 "TouchVirtualKeyboardEnabled": {
2219 "test_policy": { "TouchVirtualKeyboardEnabled": false },
2221 { "pref": "ui.touch_virtual_keyboard_enabled" }
2225 "EasyUnlockAllowed": {
2227 "test_policy": { "EasyUnlockAllowed": false },
2229 { "pref": "easy_unlock.allowed" }
2235 "can_be_recommended": true
2238 "----- Chrome OS device policies ---------------------------------------": {},
2240 "DevicePolicyRefreshRate": {
2242 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2244 { "pref": "policy.device_refresh_rate",
2245 "local_state": true }
2249 "ChromeOsReleaseChannel": {
2252 "ChromeOsReleaseChannelDelegated": {
2255 "DeviceOpenNetworkConfiguration": {
2258 "ReportDeviceVersionInfo": {
2261 "ReportDeviceActivityTimes": {
2264 "ReportDeviceBootMode": {
2267 "ReportDeviceNetworkInterfaces": {
2270 "ReportDeviceUsers": {
2273 "DeviceAllowNewUsers": {
2276 "DeviceUserWhitelist": {
2279 "DeviceGuestModeEnabled": {
2282 "DeviceShowUserNamesOnSignin": {
2285 "DeviceDataRoamingEnabled": {
2288 "DeviceMetricsReportingEnabled": {
2290 "official_only": true,
2291 "test_policy": { "DeviceMetricsReportingEnabled": true },
2293 { "pref": "cros.metrics.reportingEnabled",
2294 "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}]); });",
2295 "indicator_tests": [
2296 { "policy": { "AlternateErrorPagesEnabled": true } }
2301 "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."
2304 "DeviceEphemeralUsersEnabled": {
2307 "DeviceIdleLogoutTimeout": {
2310 "DeviceIdleLogoutWarningDuration": {
2313 "DeviceLoginScreenSaverId": {
2316 "DeviceLoginScreenSaverTimeout": {
2319 "DeviceStartUpUrls": {
2325 "DeviceAutoUpdateDisabled": {
2328 "DeviceAutoUpdateP2PEnabled": {
2331 "DeviceTargetVersionPrefix": {
2334 "DeviceUpdateScatterFactor": {
2337 "DeviceUpdateAllowedConnectionTypes": {
2340 "DeviceUpdateHttpDownloadsEnabled": {
2343 "ReportDeviceLocation": {
2349 "SystemUse24HourClock": {
2352 "DeviceLocalAccounts": {
2355 "DeviceLocalAccountAutoLoginId": {
2358 "DeviceLocalAccountAutoLoginDelay": {
2361 "DeviceLocalAccountAutoLoginBailoutEnabled": {
2364 "DeviceLocalAccountPromptForNetworkWhenOffline": {
2367 "DeviceBlockDevmode": {
2370 "DeviceLoginScreenPowerManagement": {
2373 "DeviceAllowRedeemChromeOsRegistrationOffers": {
2376 "DeviceStartUpFlags": {
2379 "DeviceVariationsRestrictParameter" : {
2382 "DeviceLoginScreenDefaultLargeCursorEnabled" : {
2385 "DeviceLoginScreenDefaultSpokenFeedbackEnabled" : {
2388 "DeviceLoginScreenDefaultHighContrastEnabled" : {
2391 "DeviceLoginScreenDefaultScreenMagnifierType" : {
2394 "DeviceLoginScreenDefaultVirtualKeyboardEnabled" : {
2400 "RebootAfterUpdate": {
2403 "AttestationEnabledForDevice": {
2406 "AttestationForContentProtectionEnabled": {
2409 "SupervisedUsersEnabled": {
2412 "SupervisedUserCreationEnabled": {
2415 "AutoCleanUpStrategy": {
2418 "DeviceTransferSAMLCookies": {
2421 "----- Chrome Frame policies -------------------------------------------": {},
2423 "ChromeFrameRendererSettings": {
2426 "RenderInChromeFrameList": {
2429 "RenderInHostList": {
2432 "ChromeFrameContentTypes": {
2438 "AdditionalLaunchParameters": {
2441 "SuppressChromeFrameTurndownPrompt": {
2444 "SkipMetadataCheck": {