3 "intro": "Top-level entries map a policy name to its test parameters, described below.",
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 1": "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 2": "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 2": "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",
118 { "policy": { "DnsPrefetchingEnabled": false } }
125 "os": ["win", "linux", "mac", "chromeos"],
126 "test_policy": { "DisableSpdy": true },
128 { "pref": "spdy.disabled" }
133 "os": ["win", "linux", "mac", "chromeos"],
134 "test_policy": { "DisabledSchemes": ["file"] },
136 { "pref": "policy.url_blacklist" }
140 "JavascriptEnabled": {
141 "os": ["win", "linux", "mac", "chromeos"],
142 "test_policy": { "JavascriptEnabled": false },
144 { "pref": "profile.managed_default_content_settings.javascript",
145 "indicator_selector": "[content-setting=javascript]",
147 { "policy": { "JavascriptEnabled": false },
154 "IncognitoEnabled": {
155 "os": ["win", "linux", "mac", "chromeos"],
156 "test_policy": { "IncognitoEnabled": false },
158 { "pref": "incognito.mode_availability" }
162 "IncognitoModeAvailability": {
163 "os": ["win", "linux", "mac", "chromeos"],
164 "test_policy": { "IncognitoModeAvailability": 1 },
166 { "pref": "incognito.mode_availability" }
170 "SavingBrowserHistoryDisabled": {
171 "os": ["win", "linux", "mac", "chromeos"],
172 "test_policy": { "SavingBrowserHistoryDisabled": true },
174 { "pref": "history.saving_disabled" }
178 "AllowDeletingBrowserHistory": {
180 "test_policy": { "AllowDeletingBrowserHistory": false },
182 { "pref": "history.deleting_enabled" }
186 "RemoteAccessClientFirewallTraversal": {
189 "RemoteAccessHostFirewallTraversal": {
191 "test_policy": { "RemoteAccessHostFirewallTraversal": true },
193 { "pref": "remote_access.host_firewall_traversal" }
196 "note": "TODO(frankf): Enable on all OS after crbug.com/121066 is fixed."
199 "RemoteAccessHostRequireTwoFactor": {
201 "test_policy": { "RemoteAccessHostRequireTwoFactor": false },
203 { "pref": "remote_access.host_require_two_factor" }
207 "RemoteAccessHostDomain": {
209 "test_policy": { "RemoteAccessHostDomain": "" },
211 { "pref": "remote_access.host_domain" }
215 "RemoteAccessHostTalkGadgetPrefix": {
217 "test_policy": { "RemoteAccessHostTalkGadgetPrefix": "chromoting-host" },
219 { "pref": "remote_access.host_talkgadget_prefix" }
223 "RemoteAccessHostRequireCurtain": {
225 "test_policy": { "RemoteAccessHostRequireCurtain": false },
227 { "pref": "remote_access.host_require_curtain" }
231 "RemoteAccessHostAllowClientPairing": {
233 "test_policy": { "RemoteAccessHostAllowClientPairing": true },
235 { "pref": "remote_access.host_allow_client_pairing" }
239 "RemoteAccessHostAllowGnubbyAuth": {
241 "test_policy": { "RemoteAccessHostAllowGnubbyAuth": true },
243 { "pref": "remote_access.host_allow_gnubby_auth" }
248 "os": ["win", "linux", "mac", "chromeos"],
249 "test_policy": { "PrintingEnabled": false },
251 { "pref": "printing.enabled" }
255 "CloudPrintProxyEnabled": {
257 "test_policy": { "CloudPrintProxyEnabled": true },
259 { "pref": "cloud_print.enabled" }
263 "CloudPrintSubmitEnabled": {
264 "os": ["win", "mac", "linux"],
265 "test_policy": { "CloudPrintSubmitEnabled": false },
267 { "pref": "cloud_print.submit_enabled" }
271 "SafeBrowsingEnabled": {
272 "os": ["win", "linux", "mac", "chromeos"],
273 "can_be_recommended": true,
274 "test_policy": { "SafeBrowsingEnabled": false },
276 { "pref": "safebrowsing.enabled",
278 { "policy": { "SafeBrowsingEnabled": false } }
285 "pref": "settings.force_safesearch",
286 "test_policy": { "ForceSafeSearch": true },
287 "settings_pages": [],
288 "os": ["win", "linux", "mac", "chromeos"]
291 "MetricsReportingEnabled": {
292 "os": ["win", "mac", "linux"],
293 "official_only": true,
294 "can_be_recommended": true,
295 "test_policy": { "MetricsReportingEnabled": false },
297 { "pref": "user_experience_metrics.reporting_enabled",
300 { "policy": { "MetricsReportingEnabled": false } }
306 "PasswordManagerEnabled": {
307 "os": ["win", "linux", "mac", "chromeos"],
308 "can_be_recommended": true,
309 "test_policy": { "PasswordManagerEnabled": false },
311 { "pref": "profile.password_manager_enabled",
313 { "policy": { "PasswordManagerEnabled": false } }
319 "PasswordManagerAllowShowPasswords": {
320 "os": ["win", "linux", "mac", "chromeos"],
321 "test_policy": { "PasswordManagerAllowShowPasswords": false },
323 { "pref": "profile.password_manager_allow_show_passwords" }
328 "os": ["win", "linux", "mac", "chromeos"],
329 "can_be_recommended": true,
330 "test_policy": { "AutoFillEnabled": false },
332 { "pref": "autofill.enabled",
334 { "policy": { "AutoFillEnabled": false } }
341 "os": ["win", "linux", "mac", "chromeos"],
342 "test_policy": { "DisabledPlugins": ["Flash"] },
344 { "pref": "plugins.plugins_disabled" }
349 "os": ["win", "linux", "mac", "chromeos"],
350 "test_policy": { "EnabledPlugins": ["Flash"] },
352 { "pref": "plugins.plugins_enabled" }
356 "DisabledPluginsExceptions": {
357 "os": ["win", "linux", "mac", "chromeos"],
358 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
360 { "pref": "plugins.plugins_disabled_exceptions" }
364 "DisablePluginFinder": {
365 "os": ["win", "linux", "mac", "chromeos"],
366 "test_policy": { "DisablePluginFinder": true },
368 { "pref": "plugins.disable_plugin_finder",
375 "os": ["win", "linux", "mac", "chromeos"],
376 "test_policy": { "SyncDisabled": true },
378 { "pref": "sync.managed" }
383 "os": ["win", "linux", "mac"],
384 "test_policy": { "SigninAllowed": true },
386 { "pref": "signin.allowed" }
390 "EnableWebBasedSignin": {
391 "os": ["win", "linux", "mac"],
392 "test_policy": { "EnableWebBasedSignin": false }
396 "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."
400 "os": ["win", "mac", "linux"],
401 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
403 { "pref": "browser.disk_cache_dir" }
408 "os": ["win", "mac", "linux"],
409 "test_policy": { "DiskCacheSize": 100 },
411 { "pref": "browser.disk_cache_size" }
416 "os": ["win", "mac", "linux"],
417 "test_policy": { "MediaCacheSize": 200 },
419 { "pref": "browser.media_cache_size" }
423 "DownloadDirectory": {
424 "os": ["win", "mac", "linux", "chromeos"],
425 "can_be_recommended": true,
426 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
428 { "pref": "download.default_directory",
430 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
433 { "pref": "download.prompt_for_download",
434 "check_for_recommended" : false,
436 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
442 "ClearSiteDataOnExit": {
443 "note": "This policy is retired, see http://crbug.com/133291."
447 "os": ["win", "mac", "linux"],
448 "test_policy": { "ProxyMode": "direct" },
452 { "policy": { "ProxyMode": "direct" } }
459 "os": ["win", "mac", "linux"],
460 "test_policy": { "ProxyServerMode": 0 },
464 { "policy": { "ProxyServerMode": 0 } }
471 "os": ["win", "mac", "linux"],
472 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" },
476 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" } }
483 "os": ["win", "mac", "linux"],
484 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" },
488 { "policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" } }
495 "os": ["win", "mac", "linux"],
496 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" },
500 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" } }
507 "os": ["linux", "win"],
508 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } },
512 { "policy": { "ProxySettings": { "ProxyMode": "direct" } } }
518 "EnableOriginBoundCerts": {
519 "os": ["win", "mac", "linux"],
520 "test_policy": { "EnableOriginBoundCerts": true },
522 { "pref": "ssl.origin_bound_certs.enabled",
528 "DisableSSLRecordSplitting": {
529 "os": ["win", "linux", "mac", "chromeos"],
530 "test_policy": { "DisableSSLRecordSplitting": true },
532 { "pref": "ssl.ssl_record_splitting.disabled",
538 "EnableOnlineRevocationChecks": {
539 "os": ["win", "linux", "mac", "chromeos"],
540 "test_policy": { "EnableOnlineRevocationChecks": true },
542 { "pref": "ssl.rev_checking.enabled",
548 "RequireOnlineRevocationChecksForLocalAnchors": {
549 "os": ["win", "linux", "chromeos"],
550 "test_policy": { "RequireOnlineRevocationChecksForLocalAnchors": true },
552 { "pref": "ssl.rev_checking.required_for_local_anchors",
559 "os": ["win", "linux", "mac", "chromeos"],
560 "test_policy": { "AuthSchemes": "AuthSchemes" },
562 { "pref": "auth.schemes",
568 "DisableAuthNegotiateCnameLookup": {
569 "os": ["win", "linux", "mac", "chromeos"],
570 "test_policy": { "DisableAuthNegotiateCnameLookup": true },
572 { "pref": "auth.disable_negotiate_cname_lookup",
578 "EnableAuthNegotiatePort": {
579 "os": ["win", "linux", "mac", "chromeos"],
580 "test_policy": { "EnableAuthNegotiatePort": true },
582 { "pref": "auth.enable_negotiate_port",
588 "AuthServerWhitelist": {
589 "os": ["win", "linux", "mac", "chromeos"],
590 "test_policy": { "AuthServerWhitelist": "localhost" },
592 { "pref": "auth.server_whitelist",
598 "AuthNegotiateDelegateWhitelist": {
599 "os": ["win", "linux", "mac", "chromeos"],
600 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" },
602 { "pref": "auth.negotiate_delegate_whitelist",
608 "GSSAPILibraryName": {
609 "os": ["mac", "linux"],
610 "test_policy": { "GSSAPILibraryName": "libwhatever.so" },
612 { "pref": "auth.gssapi_library_name",
618 "AllowCrossOriginAuthPrompt": {
619 "os": ["win", "mac", "linux"],
620 "test_policy": { "AllowCrossOriginAuthPrompt": true },
622 { "pref": "auth.allow_cross_origin_prompt",
628 "ExtensionInstallBlacklist": {
629 "os": ["win", "linux", "mac", "chromeos"],
630 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
632 { "pref": "extensions.install.denylist" }
636 "ExtensionInstallWhitelist": {
637 "os": ["win", "linux", "mac", "chromeos"],
638 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"] },
640 { "pref": "extensions.install.allowlist" }
644 "ExtensionInstallForcelist": {
645 "os": ["win", "linux", "mac", "chromeos"],
646 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
648 { "pref": "extensions.install.forcelist" }
652 "ExtensionInstallSources": {
653 "os": ["win", "linux", "mac", "chromeos"],
654 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
656 { "pref": "extensions.allowed_install_sites" }
660 "ExtensionAllowedTypes": {
661 "os": ["win", "linux", "mac", "chromeos"],
662 "test_policy": { "ExtensionAllowedTypes": ["hosted_app"] },
664 { "pref": "extensions.allowed_types" }
669 "os": ["win", "linux", "mac", "chromeos"],
670 "can_be_recommended": true,
671 "test_policy": { "ShowHomeButton": true },
673 { "pref": "browser.show_home_button",
675 { "policy": { "ShowHomeButton": true } }
681 "DeveloperToolsDisabled": {
682 "os": ["win", "linux", "mac", "chromeos"],
683 "test_policy": { "DeveloperToolsDisabled": true },
685 { "pref": "devtools.disabled" }
689 "RestoreOnStartup": {
690 "os": ["win", "linux", "mac", "chromeos"],
691 "can_be_recommended": true,
692 "test_policy": { "RestoreOnStartup": 4 },
694 { "pref": "session.restore_on_startup",
696 { "policy": { "RestoreOnStartup": 1 },
698 { "policy": { "RestoreOnStartup": 4 },
700 { "policy": { "RestoreOnStartup": 5 },
707 "RestoreOnStartupURLs": {
708 "os": ["win", "linux", "mac", "chromeos"],
709 "can_be_recommended": true,
710 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
712 { "pref": "session.startup_urls",
714 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } }
720 "BlockThirdPartyCookies": {
721 "os": ["win", "linux", "mac", "chromeos"],
722 "can_be_recommended": true,
723 "test_policy": { "BlockThirdPartyCookies": true },
725 { "pref": "profile.block_third_party_cookies",
727 { "policy": { "BlockThirdPartyCookies": true } }
733 "DefaultSearchProviderEnabled": {
734 "os": ["win", "linux", "mac", "chromeos"],
735 "test_policy": { "DefaultSearchProviderEnabled": false },
737 { "pref": "default_search_provider.enabled",
739 { "policy": { "DefaultSearchProviderEnabled": false } },
740 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
746 "DefaultSearchProviderName": {
747 "os": ["win", "linux", "mac", "chromeos"],
748 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderName": "google.com" },
750 { "pref": "default_search_provider.name" }
754 "DefaultSearchProviderKeyword": {
755 "os": ["win", "linux", "mac", "chromeos"],
756 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
758 { "pref": "default_search_provider.keyword" }
762 "DefaultSearchProviderSearchURL": {
763 "os": ["win", "linux", "mac", "chromeos"],
764 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" },
766 { "pref": "default_search_provider.search_url",
767 "indicator_selector": "[setting=search-engine]",
769 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
775 "DefaultSearchProviderSuggestURL": {
776 "os": ["win", "linux", "mac", "chromeos"],
777 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSuggestURL": "http://www.google.com/suggest?q={searchTerms}" },
779 { "pref": "default_search_provider.suggest_url" }
783 "DefaultSearchProviderInstantURL": {
784 "os": ["win", "linux", "mac", "chromeos"],
785 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderInstantURL": "http://www.google.com/instant?q={searchTerms}" },
787 { "pref": "default_search_provider.instant_url" }
791 "DefaultSearchProviderNewTabURL": {
792 "os": ["win", "linux", "mac", "chromeos"],
793 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderNewTabURL": "http://www.google.com/newtab" },
795 { "pref": "default_search_provider.new_tab_url" }
799 "DefaultSearchProviderIconURL": {
800 "os": ["win", "linux", "mac", "chromeos"],
801 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.ico" },
803 { "pref": "default_search_provider.icon_url" }
807 "DefaultSearchProviderEncodings": {
808 "os": ["win", "linux", "mac", "chromeos"],
809 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderEncodings": ["UTF-8"] },
811 { "pref": "default_search_provider.encodings" }
815 "DefaultSearchProviderAlternateURLs": {
816 "os": ["win", "linux", "mac", "chromeos"],
817 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderAlternateURLs": ["http://www.google.com/#q={searchTerms}", "http://www.google.com/search#q={searchTerms}"] },
819 { "pref": "default_search_provider.alternate_urls" }
823 "DefaultSearchProviderSearchTermsReplacementKey": {
824 "os": ["win", "linux", "mac", "chromeos"],
825 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSearchTermsReplacementKey": "espv" },
827 { "pref": "default_search_provider.search_terms_replacement_key" }
831 "DefaultSearchProviderImageURL": {
832 "os": ["win", "linux", "mac", "chromeos"],
833 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderImageURL": "http://www.google.com/searchbyimage/upload" },
835 { "pref": "default_search_provider.image_url" }
839 "DefaultSearchProviderSearchURLPostParams": {
840 "os": ["win", "linux", "mac", "chromeos"],
841 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSearchURLPostParams": "" },
843 { "pref": "default_search_provider.search_url_post_params" }
847 "DefaultSearchProviderSuggestURLPostParams": {
848 "os": ["win", "linux", "mac", "chromeos"],
849 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderSuggestURLPostParams": "" },
851 { "pref": "default_search_provider.suggest_url_post_params" }
855 "DefaultSearchProviderInstantURLPostParams": {
856 "os": ["win", "linux", "mac", "chromeos"],
857 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderInstantURLPostParams": "" },
859 { "pref": "default_search_provider.instant_url_post_params" }
863 "DefaultSearchProviderImageURLPostParams": {
864 "os": ["win", "linux", "mac", "chromeos"],
865 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderImageURLPostParams": "image_content={imageThumbnail},image_url={imageURL},sbisrc={imageSearchSource}" },
867 { "pref": "default_search_provider.image_url_post_params" }
871 "DefaultCookiesSetting": {
872 "os": ["win", "linux", "mac", "chromeos"],
873 "test_policy": { "DefaultCookiesSetting": 2 },
875 { "pref": "profile.managed_default_content_settings.cookies",
876 "indicator_selector": "[content-setting=cookies]",
878 { "policy": { "DefaultCookiesSetting": 1 },
880 { "policy": { "DefaultCookiesSetting": 2 },
882 { "policy": { "DefaultCookiesSetting": 4 },
888 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
891 "DefaultImagesSetting": {
892 "os": ["win", "linux", "mac", "chromeos"],
893 "test_policy": { "DefaultImagesSetting": 2 },
895 { "pref": "profile.managed_default_content_settings.images",
896 "indicator_selector": "[content-setting=images]",
898 { "policy": { "DefaultImagesSetting": 1 },
900 { "policy": { "DefaultImagesSetting": 2 },
906 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
909 "DefaultJavaScriptSetting": {
910 "os": ["win", "linux", "mac", "chromeos"],
911 "test_policy": { "DefaultJavaScriptSetting": 2 },
913 { "pref": "profile.managed_default_content_settings.javascript",
914 "indicator_selector": "[content-setting=javascript]",
916 { "policy": { "DefaultJavaScriptSetting": 1 },
918 { "policy": { "DefaultJavaScriptSetting": 2 },
924 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
927 "DefaultPluginsSetting": {
928 "os": ["win", "linux", "mac", "chromeos"],
929 "test_policy": { "DefaultPluginsSetting": 2 },
931 { "pref": "profile.managed_default_content_settings.plugins",
932 "indicator_selector": "[content-setting=plugins]",
934 { "policy": { "DefaultPluginsSetting": 1 },
936 { "policy": { "DefaultPluginsSetting": 2 },
938 { "policy": { "DefaultPluginsSetting": 3 },
944 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
947 "DefaultPopupsSetting": {
948 "os": ["win", "linux", "mac", "chromeos"],
949 "test_policy": { "DefaultPopupsSetting": 2 },
951 { "pref": "profile.managed_default_content_settings.popups",
952 "indicator_selector": "[content-setting=popups]",
954 { "policy": { "DefaultPopupsSetting": 1 },
956 { "policy": { "DefaultPopupsSetting": 2 },
962 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
965 "DefaultNotificationsSetting": {
966 "os": ["win", "linux", "mac", "chromeos"],
967 "test_policy": { "DefaultNotificationsSetting": 2 },
969 { "pref": "profile.managed_default_content_settings.notifications",
970 "indicator_selector": "[content-setting=notifications]",
972 { "policy": { "DefaultNotificationsSetting": 1 },
974 { "policy": { "DefaultNotificationsSetting": 2 },
976 { "policy": { "DefaultNotificationsSetting": 3 },
982 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
985 "DefaultGeolocationSetting": {
986 "os": ["win", "linux", "mac", "chromeos"],
987 "test_policy": { "DefaultGeolocationSetting": 2 },
989 { "pref": "profile.managed_default_content_settings.geolocation",
990 "indicator_selector": "[content-setting=location]",
992 { "policy": { "DefaultGeolocationSetting": 1 },
994 { "policy": { "DefaultGeolocationSetting": 2 },
996 { "policy": { "DefaultGeolocationSetting": 3 },
1002 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1005 "DefaultMediaStreamSetting": {
1006 "os": ["win", "linux", "mac", "chromeos"],
1007 "test_policy": { "DefaultMediaStreamSetting": 2 },
1009 { "pref": "profile.managed_default_content_settings.media_stream",
1010 "indicator_selector": "[content-setting=media-stream]",
1011 "indicator_tests": [
1012 { "policy": { "DefaultMediaStreamSetting": 2 },
1015 { "policy": { "DefaultMediaStreamSetting": 3 },
1022 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1025 "AudioCaptureAllowed": {
1026 "os": ["win", "linux", "mac", "chromeos"],
1027 "test_policy": { "AudioCaptureAllowed": false },
1029 { "pref": "hardware.audio_capture_enabled",
1030 "indicator_selector": "#media-indicator",
1031 "indicator_tests": [
1032 { "policy": { "AudioCaptureAllowed": false } }
1038 "AudioCaptureAllowedUrls": {
1039 "os": ["win", "linux", "mac", "chromeos"],
1040 "test_policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
1043 "pref": "hardware.audio_capture_allowed_urls"
1048 "VideoCaptureAllowed": {
1049 "os": ["win", "linux", "mac", "chromeos"],
1050 "test_policy": { "VideoCaptureAllowed": false },
1052 { "pref": "hardware.video_capture_enabled",
1053 "indicator_selector": "#media-indicator",
1054 "indicator_tests": [
1055 { "policy": { "VideoCaptureAllowed": false } }
1061 "VideoCaptureAllowedUrls": {
1062 "os": ["win", "linux", "mac", "chromeos"],
1063 "test_policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
1066 "pref": "hardware.video_capture_allowed_urls"
1071 "AutoSelectCertificateForUrls": {
1072 "os": ["win", "linux", "mac", "chromeos"],
1073 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://example.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1075 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1078 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1081 "CookiesAllowedForUrls": {
1082 "os": ["win", "linux", "mac", "chromeos"],
1083 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
1085 { "pref": "profile.managed_cookies_allowed_for_urls",
1086 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1087 "indicator_selector": "[content-exception=cookies]",
1088 "indicator_tests": [
1089 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } }
1094 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1097 "CookiesBlockedForUrls": {
1098 "os": ["win", "linux", "mac", "chromeos"],
1099 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
1101 { "pref": "profile.managed_cookies_blocked_for_urls",
1102 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1103 "indicator_selector": "[content-exception=cookies]",
1104 "indicator_tests": [
1105 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } }
1110 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1113 "CookiesSessionOnlyForUrls": {
1114 "os": ["win", "linux", "mac", "chromeos"],
1115 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
1117 { "pref": "profile.managed_cookies_sessiononly_for_urls",
1118 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1119 "indicator_selector": "[content-exception=cookies]",
1120 "indicator_tests": [
1121 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } }
1126 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1129 "ImagesAllowedForUrls": {
1130 "os": ["win", "linux", "mac", "chromeos"],
1131 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
1133 { "pref": "profile.managed_images_allowed_for_urls",
1134 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1135 "indicator_selector": "[content-exception=images]",
1136 "indicator_tests": [
1137 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } }
1142 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1145 "ImagesBlockedForUrls": {
1146 "os": ["win", "linux", "mac", "chromeos"],
1147 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
1149 { "pref": "profile.managed_images_blocked_for_urls",
1150 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1151 "indicator_selector": "[content-exception=images]",
1152 "indicator_tests": [
1153 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } }
1158 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1161 "JavaScriptAllowedForUrls": {
1162 "os": ["win", "linux", "mac", "chromeos"],
1163 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
1165 { "pref": "profile.managed_javascript_allowed_for_urls",
1166 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1167 "indicator_selector": "[content-exception=javascript]",
1168 "indicator_tests": [
1169 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } }
1174 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1177 "JavaScriptBlockedForUrls": {
1178 "os": ["win", "linux", "mac", "chromeos"],
1179 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
1181 { "pref": "profile.managed_javascript_blocked_for_urls",
1182 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1183 "indicator_selector": "[content-exception=javascript]",
1184 "indicator_tests": [
1185 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1190 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1193 "PluginsAllowedForUrls": {
1194 "os": ["win", "linux", "mac", "chromeos"],
1195 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1197 { "pref": "profile.managed_plugins_allowed_for_urls",
1198 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1199 "indicator_selector": "[content-exception=plugins]",
1200 "indicator_tests": [
1201 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1206 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1209 "PluginsBlockedForUrls": {
1210 "os": ["win", "linux", "mac", "chromeos"],
1211 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
1213 { "pref": "profile.managed_plugins_blocked_for_urls",
1214 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1215 "indicator_selector": "[content-exception=plugins]",
1216 "indicator_tests": [
1217 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } }
1222 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1225 "PopupsAllowedForUrls": {
1226 "os": ["win", "linux", "mac", "chromeos"],
1227 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
1229 { "pref": "profile.managed_popups_allowed_for_urls",
1230 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1231 "indicator_selector": "[content-exception=popups]",
1232 "indicator_tests": [
1233 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } }
1238 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1241 "PopupsBlockedForUrls": {
1242 "os": ["win", "linux", "mac", "chromeos"],
1243 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
1245 { "pref": "profile.managed_popups_blocked_for_urls",
1246 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1247 "indicator_selector": "[content-exception=popups]",
1248 "indicator_tests": [
1249 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } }
1254 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1257 "NotificationsAllowedForUrls": {
1258 "os": ["win", "linux", "mac", "chromeos"],
1259 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
1261 { "pref": "profile.managed_notifications_allowed_for_urls",
1262 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1263 "indicator_selector": "[content-exception=notifications]",
1264 "indicator_tests": [
1265 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } }
1270 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1273 "NotificationsBlockedForUrls": {
1274 "os": ["win", "linux", "mac", "chromeos"],
1275 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
1277 { "pref": "profile.managed_notifications_blocked_for_urls",
1278 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1279 "indicator_selector": "[content-exception=notifications]",
1280 "indicator_tests": [
1281 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } }
1286 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1290 "os": ["win", "linux", "mac", "chromeos"],
1291 "test_policy": { "Disable3DAPIs": true },
1293 { "pref": "disable_3d_apis" }
1300 "TranslateEnabled": {
1301 "os": ["win", "linux", "mac", "chromeos"],
1302 "can_be_recommended": true,
1303 "test_policy": { "TranslateEnabled": false },
1305 { "pref": "translate.enabled",
1306 "indicator_tests": [
1307 { "policy": { "TranslateEnabled": true } }
1313 "AllowOutdatedPlugins": {
1314 "os": ["win", "linux", "mac", "chromeos"],
1315 "test_policy": { "AllowOutdatedPlugins": true },
1317 { "pref": "plugins.allow_outdated" }
1321 "AlwaysAuthorizePlugins": {
1322 "os": ["win", "linux", "mac", "chromeos"],
1323 "test_policy": { "AlwaysAuthorizePlugins": true },
1325 { "pref": "plugins.always_authorize" }
1329 "BookmarkBarEnabled": {
1330 "os": ["win", "linux", "mac", "chromeos"],
1331 "can_be_recommended": true,
1332 "test_policy": { "BookmarkBarEnabled": true },
1334 { "pref": "bookmark_bar.show_on_all_tabs",
1335 "indicator_tests": [
1336 { "policy": { "BookmarkBarEnabled": true } }
1342 "EditBookmarksEnabled": {
1343 "os": ["win", "linux", "mac", "chromeos"],
1344 "test_policy": { "EditBookmarksEnabled": false },
1346 { "pref": "bookmarks.editing_enabled" }
1350 "AllowFileSelectionDialogs": {
1351 "os": ["win", "mac", "linux"],
1352 "test_policy": { "AllowFileSelectionDialogs": false },
1354 { "pref": "select_file_dialogs.allowed",
1357 { "pref": "download.prompt_for_download",
1358 "indicator_tests": [
1359 { "policy": { "AllowFileSelectionDialogs": false } }
1365 "ImportBookmarks": {
1366 "os": ["win", "mac", "linux"],
1367 "can_be_recommended": true,
1368 "test_policy": { "ImportBookmarks": false },
1370 { "pref": "import_bookmarks",
1371 "indicator_tests": [
1372 { "policy": { "ImportBookmarks": false } }
1379 "os": ["win", "mac", "linux"],
1380 "can_be_recommended": true,
1381 "test_policy": { "ImportHistory": false },
1383 { "pref": "import_history",
1384 "indicator_tests": [
1385 { "policy": { "ImportHistory": false } }
1392 "os": ["win", "mac", "linux"],
1393 "test_policy": { "ImportHomepage": false },
1395 { "pref": "import_home_page" }
1399 "ImportSearchEngine": {
1400 "os": ["win", "mac", "linux"],
1401 "can_be_recommended": true,
1402 "test_policy": { "ImportSearchEngine": false },
1404 { "pref": "import_search_engine",
1405 "indicator_tests": [
1406 { "policy": { "ImportSearchEngine": false } }
1412 "ImportSavedPasswords": {
1413 "os": ["win", "mac", "linux"],
1414 "can_be_recommended": true,
1415 "test_policy": { "ImportSavedPasswords": false },
1417 { "pref": "import_saved_passwords",
1418 "indicator_tests": [
1419 { "policy": { "ImportSavedPasswords": false } }
1425 "MaxConnectionsPerProxy": {
1426 "os": ["win", "linux", "mac", "chromeos"],
1427 "test_policy": { "MaxConnectionsPerProxy": 16 },
1429 { "pref": "net.max_connections_per_proxy",
1435 "HideWebStorePromo": {
1439 "os": ["win", "linux", "mac", "chromeos"],
1440 "test_policy": { "URLBlacklist": ["google.com"] },
1442 { "pref": "policy.url_blacklist" }
1447 "os": ["win", "linux", "mac", "chromeos"],
1448 "test_policy": { "URLWhitelist": ["google.com"] },
1450 { "pref": "policy.url_whitelist" }
1454 "EnterpriseWebStoreURL": {
1455 "note": "This policy is retired, see http://crbug.com/178938."
1458 "EnterpriseWebStoreName": {
1459 "note": "This policy is retired, see http://crbug.com/178938."
1462 "EnableMemoryInfo": {
1463 "note": "This policy is retired, see http://crbug.com/350339."
1466 "DisablePrintPreview": {
1467 "os": ["win", "mac", "linux"],
1468 "test_policy": { "DisablePrintPreview": false },
1470 { "pref": "printing.print_preview_disabled" }
1474 "BackgroundModeEnabled": {
1475 "os": ["win", "linux"],
1476 "can_be_recommended": true,
1477 "test_policy": { "BackgroundModeEnabled": false },
1479 { "pref": "background_mode.enabled",
1480 "local_state": true,
1481 "indicator_tests": [
1482 { "policy": { "BackgroundModeEnabled": false } }
1488 "RestrictSigninToPattern": {
1489 "os": ["win", "mac", "linux"],
1490 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
1492 { "pref": "google.services.username_pattern",
1498 "DisableSafeBrowsingProceedAnyway": {
1499 "os": ["win", "linux", "mac", "chromeos"],
1500 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
1502 { "pref": "safebrowsing.proceed_anyway_disabled" }
1506 "SpellCheckServiceEnabled": {
1507 "os": ["win", "linux", "mac", "chromeos"],
1508 "official_only": true,
1509 "can_be_recommended": true,
1510 "test_policy": { "SpellCheckServiceEnabled": false },
1512 { "pref": "spellcheck.use_spelling_service",
1513 "indicator_tests": [
1514 { "policy": { "SpellCheckServiceEnabled": false } }
1520 "DisableScreenshots": {
1521 "os": ["win", "linux", "mac", "chromeos"],
1522 "test_policy": { "DisableScreenshots": true },
1524 { "pref": "disable_screenshots" }
1528 "BuiltInDnsClientEnabled": {
1529 "os": ["win", "linux", "mac"],
1530 "test_policy": { "BuiltInDnsClientEnabled": true },
1532 { "pref": "async_dns.enabled",
1538 "WPADQuickCheckEnabled": {
1539 "os": ["win", "linux", "mac", "chromeos"],
1540 "test_policy": { "WPADQuickCheckEnabled": true },
1542 { "pref": "proxy.quick_check_enabled",
1548 "HideWebStoreIcon": {
1549 "os": ["win", "linux", "mac", "chromeos"],
1550 "test_policy": { "HideWebStoreIcon": true },
1552 { "pref": "hide_web_store_icon" }
1556 "VariationsRestrictParameter": {
1557 "test_policy": { "VariationsRestrictParameter": "restricted" },
1559 { "pref": "variations_restrict_parameter",
1565 "DataCompressionProxyEnabled": {
1567 "test_policy": { "DataCompressionProxyEnabled": false },
1569 { "pref": "spdy_proxy.enabled" }
1573 "ForceEphemeralProfiles": {
1576 "UserAvatarImage": {
1579 "UserAvatarImage": {
1580 "url": "http://localhost/",
1581 "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
1584 "indicator_selector": "#account-picture-indicator"
1591 "url": "http://localhost/",
1592 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf"
1595 "indicator_selector": "#wallpaper-indicator"
1598 "----- Chrome OS policies ------------------------------------------------": {},
1600 "ChromeOsLockOnIdleSuspend": {
1602 "can_be_recommended": true,
1603 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1605 { "pref": "settings.enable_screen_lock",
1606 "indicator_tests": [
1607 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
1613 "PolicyRefreshRate": {
1615 "test_policy": { "PolicyRefreshRate": 300000 },
1617 { "pref": "policy.user_refresh_rate",
1623 "MaxInvalidationFetchDelay": {
1624 "os": ["win", "linux", "mac", "chromeos"],
1625 "test_policy": { "PolicyRefreshRate": 15000 },
1629 "OpenNetworkConfiguration": {
1632 "SAMLOfflineSigninTimeLimit": {
1634 "test_policy": { "SAMLOfflineSigninTimeLimit": 0 },
1636 { "pref": "saml.offline_signin_time_limit" }
1642 "test_policy": { "DriveDisabled": true },
1644 { "pref": "gdata.disabled",
1645 "indicator_tests": [
1646 { "policy": { "DriveDisabled": true } }
1652 "DriveDisabledOverCellular": {
1654 "test_policy": { "DriveDisabledOverCellular": true },
1656 { "pref": "gdata.cellular.disabled" }
1660 "PinnedLauncherApps": {
1662 "can_be_recommended": true,
1663 "test_policy": { "PinnedLauncherApps": [] },
1665 { "pref": "pinned_launcher_apps" }
1669 "ExternalStorageDisabled": {
1671 "test_policy": { "ExternalStorageDisabled": true },
1673 { "pref": "hardware.external_storage_disabled" }
1677 "AudioOutputAllowed": {
1679 "test_policy": { "AudioOutputAllowed": true },
1681 { "pref": "hardware.audio_output_enabled",
1682 "local_state": true }
1686 "AudioCaptureAllowed": {
1688 "test_policy": { "AudioCaptureAllowed": true },
1690 { "pref": "hardware.audio_capture_enabled",
1691 "local_state": true }
1695 "ShowLogoutButtonInTray": {
1697 "test_policy": { "ShowLogoutButtonInTray": true },
1699 { "pref": "show_logout_button_in_tray" }
1703 "ShelfAutoHideBehavior": {
1705 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1707 { "pref": "auto_hide_behavior_local" }
1711 "UserDisplayName": {
1715 "SessionLengthLimit": {
1717 "test_policy": { "SessionLengthLimit": 3600000 },
1719 { "pref": "session.length_limit",
1720 "local_state": true }
1724 "ScreenDimDelayAC": {
1726 "test_policy": { "ScreenDimDelayAC": 420000 },
1728 { "pref": "power.ac_screen_dim_delay_ms" }
1732 "ScreenOffDelayAC": {
1734 "test_policy": { "ScreenOffDelayAC": 480000 },
1736 { "pref": "power.ac_screen_off_delay_ms" }
1740 "ScreenLockDelayAC": {
1742 "test_policy": { "ScreenLockDelayAC": 600000 },
1744 { "pref": "power.ac_screen_lock_delay_ms" }
1748 "IdleWarningDelayAC": {
1750 "test_policy": { "IdleWarningDelayAC": 1800000 },
1752 { "pref": "power.ac_idle_warning_delay_ms" }
1758 "test_policy": { "IdleDelayAC": 1800000 },
1760 { "pref": "power.ac_idle_delay_ms" }
1764 "ScreenDimDelayBattery": {
1766 "test_policy": { "ScreenDimDelayBattery": 300000 },
1768 { "pref": "power.battery_screen_dim_delay_ms" }
1772 "ScreenOffDelayBattery": {
1774 "test_policy": { "ScreenOffDelayBattery": 360000 },
1776 { "pref": "power.battery_screen_off_delay_ms" }
1780 "ScreenLockDelayBattery": {
1782 "test_policy": { "ScreenLockDelayBattery": 600000 },
1784 { "pref": "power.battery_screen_lock_delay_ms" }
1788 "IdleWarningDelayBattery": {
1790 "test_policy": { "IdleWarningDelayBattery": 600000 },
1792 { "pref": "power.battery_idle_warning_delay_ms" }
1796 "IdleDelayBattery": {
1798 "test_policy": { "IdleDelayBattery": 600000 },
1800 { "pref": "power.battery_idle_delay_ms" }
1806 "test_policy": { "IdleAction": 0 },
1808 { "pref": "power.ac_idle_action" },
1809 { "pref": "power.battery_idle_action" }
1815 "test_policy": { "IdleActionAC": 0 },
1817 { "pref": "power.ac_idle_action" }
1821 "IdleActionBattery": {
1823 "test_policy": { "IdleActionBattery": 0 },
1825 { "pref": "power.battery_idle_action" }
1831 "test_policy": { "LidCloseAction": 0 },
1833 { "pref": "power.lid_closed_action" }
1837 "PowerManagementUsesAudioActivity": {
1839 "test_policy": { "PowerManagementUsesAudioActivity": true },
1841 { "pref": "power.use_audio_activity" }
1845 "PowerManagementUsesVideoActivity": {
1847 "test_policy": { "PowerManagementUsesVideoActivity": true },
1849 { "pref": "power.use_video_activity" }
1853 "PresentationIdleDelayScale": {
1856 "PresentationScreenDimDelayScale": {
1858 "test_policy": { "PresentationScreenDimDelayScale": 200 },
1860 { "pref": "power.presentation_screen_dim_delay_factor" }
1864 "AllowScreenWakeLocks": {
1866 "test_policy": { "AllowScreenWakeLocks": false },
1868 { "pref": "power.allow_screen_wake_locks" }
1872 "UserActivityScreenDimDelayScale": {
1874 "test_policy": { "UserActivityScreenDimDelayScale": 200 },
1876 { "pref": "power.user_activity_screen_dim_delay_factor" }
1880 "WaitForInitialUserActivity": {
1882 "test_policy": { "WaitForInitialUserActivity": true },
1884 { "pref": "session.wait_for_initial_user_activity",
1885 "local_state": true },
1886 { "pref": "power.wait_for_initial_user_activity" }
1890 "PowerManagementIdleSettings": {
1892 "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"} } },
1894 { "pref": "power.ac_screen_dim_delay_ms" },
1895 { "pref": "power.ac_screen_off_delay_ms" },
1896 { "pref": "power.ac_idle_warning_delay_ms" },
1897 { "pref": "power.ac_idle_delay_ms" },
1898 { "pref": "power.battery_screen_dim_delay_ms" },
1899 { "pref": "power.battery_screen_off_delay_ms" },
1900 { "pref": "power.battery_idle_warning_delay_ms" },
1901 { "pref": "power.battery_idle_delay_ms" }
1905 "ScreenLockDelays": {
1907 "test_policy": { "ScreenLockDelays": { "AC": 6000, "Battery": 2000 } },
1909 { "pref": "power.ac_screen_lock_delay_ms" },
1910 { "pref": "power.battery_screen_lock_delay_ms" }
1914 "TermsOfServiceURL": {
1916 "test_policy": { "TermsOfServiceURL": "http://www.example.com/terms_of_service.txt" },
1918 { "pref": "terms_of_service.url" }
1922 "ShowAccessibilityOptionsInSystemTrayMenu": {
1924 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
1926 { "pref": "settings.a11y.enable_menu",
1927 "indicator_tests": [
1928 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } }
1934 "LargeCursorEnabled": {
1936 "test_policy": { "LargeCursorEnabled": true },
1938 { "pref": "settings.a11y.large_cursor_enabled",
1939 "indicator_tests": [
1940 { "policy": { "LargeCursorEnabled": true } }
1946 "SpokenFeedbackEnabled": {
1948 "test_policy": { "SpokenFeedbackEnabled": true },
1950 { "pref": "settings.accessibility",
1951 "indicator_tests": [
1952 { "policy": { "SpokenFeedbackEnabled": true } }
1958 "HighContrastEnabled": {
1960 "test_policy": { "HighContrastEnabled": true },
1962 { "pref": "settings.a11y.high_contrast_enabled",
1963 "indicator_tests": [
1964 { "policy": { "HighContrastEnabled": true } }
1970 "ScreenMagnifierType": {
1972 "test_policy": { "ScreenMagnifierType": 1 },
1974 { "pref": "settings.a11y.screen_magnifier",
1975 "indicator_tests": [
1976 { "policy": { "ScreenMagnifierType": 1 } }
1979 { "pref": "settings.a11y.screen_magnifier_type2" }
1983 "VirtualKeyboardEnabled": {
1985 "test_policy": { "VirtualKeyboardEnabled": true },
1987 { "pref": "settings.a11y.virtual_keyboard",
1988 "indicator_tests": [
1989 { "policy": { "VirtualKeyboardEnabled": true } }
1995 "KeyboardDefaultToFunctionKeys": {
1997 "test_policy": { "KeyboardDefaultToFunctionKeys": true },
1999 { "pref": "settings.language.send_function_keys",
2000 "indicator_tests": [
2001 { "policy": { "KeyboardDefaultToFunctionKeys": true } }
2007 "AttestationEnabledForUser": {
2009 "test_policy": { "AttestationEnabledForUser": true },
2011 { "pref": "attestation.enabled" }
2015 "AttestationExtensionWhitelist": {
2017 "test_policy": { "AttestationExtensionWhitelist": ["test_ext_id1", "test_ext_id2"] },
2019 { "pref": "attestation.extension_whitelist" }
2023 "ContentPackDefaultFilteringBehavior": {
2026 "ContentPackManualBehaviorHosts": {
2029 "ContentPackManualBehaviorURLs": {
2032 "ManagedBookmarks": {
2035 "FullscreenAllowed": {
2036 "os": ["win", "linux", "chromeos"],
2037 "test_policy": { "FullscreenAllowed": false },
2039 { "pref": "fullscreen.allowed" },
2040 { "pref": "apps.fullscreen.allowed" }
2044 "ChromeOsMultiProfileUserBehavior": {
2046 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
2048 { "pref": "settings.multiprofile_user_behavior" }
2052 "NativeMessagingBlacklist": {
2053 "os": ["win", "linux", "mac"],
2054 "test_policy": { "NativeMessagingBlacklist": ["*"] },
2056 { "pref": "native_messaging.blacklist" }
2060 "NativeMessagingWhitelist": {
2061 "os": ["win", "linux", "mac"],
2062 "test_policy": { "NativeMessagingWhitelist": ["native.messaging.host.name"] },
2064 { "pref": "native_messaging.whitelist" }
2068 "NativeMessagingUserLevelHosts": {
2069 "os": ["win", "linux", "mac"],
2070 "test_policy": { "NativeMessagingUserLevelHosts": false },
2072 { "pref": "native_messaging.user_level_hosts" }
2076 "----- Chrome OS device policies ---------------------------------------": {},
2078 "DevicePolicyRefreshRate": {
2080 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2082 { "pref": "policy.device_refresh_rate",
2083 "local_state": true }
2087 "ChromeOsReleaseChannel": {
2090 "ChromeOsReleaseChannelDelegated": {
2093 "DeviceOpenNetworkConfiguration": {
2096 "ReportDeviceVersionInfo": {
2099 "ReportDeviceActivityTimes": {
2102 "ReportDeviceBootMode": {
2105 "ReportDeviceNetworkInterfaces": {
2108 "ReportDeviceUsers": {
2111 "DeviceAllowNewUsers": {
2114 "DeviceUserWhitelist": {
2117 "DeviceGuestModeEnabled": {
2120 "DeviceShowUserNamesOnSignin": {
2123 "DeviceDataRoamingEnabled": {
2126 "DeviceMetricsReportingEnabled": {
2128 "official_only": true,
2129 "test_policy": { "DeviceMetricsReportingEnabled": true },
2131 { "pref": "cros.metrics.reportingEnabled",
2132 "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}]); });",
2133 "indicator_tests": [
2134 { "policy": { "AlternateErrorPagesEnabled": true } }
2139 "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."
2142 "DeviceEphemeralUsersEnabled": {
2145 "DeviceIdleLogoutTimeout": {
2148 "DeviceIdleLogoutWarningDuration": {
2151 "DeviceLoginScreenSaverId": {
2154 "DeviceLoginScreenSaverTimeout": {
2157 "DeviceStartUpUrls": {
2163 "DeviceAutoUpdateDisabled": {
2166 "DeviceAutoUpdateP2PEnabled": {
2169 "DeviceTargetVersionPrefix": {
2172 "DeviceUpdateScatterFactor": {
2175 "DeviceUpdateAllowedConnectionTypes": {
2178 "DeviceUpdateHttpDownloadsEnabled": {
2181 "ReportDeviceLocation": {
2187 "SystemUse24HourClock": {
2190 "DeviceLocalAccounts": {
2193 "DeviceLocalAccountAutoLoginId": {
2196 "DeviceLocalAccountAutoLoginDelay": {
2199 "DeviceLocalAccountAutoLoginBailoutEnabled": {
2202 "DeviceLocalAccountPromptForNetworkWhenOffline": {
2205 "DeviceLoginScreenPowerManagement": {
2208 "DeviceAllowRedeemChromeOsRegistrationOffers": {
2211 "DeviceStartUpFlags": {
2214 "DeviceVariationsRestrictParameter" : {
2217 "DeviceLoginScreenDefaultLargeCursorEnabled" : {
2220 "DeviceLoginScreenDefaultSpokenFeedbackEnabled" : {
2223 "DeviceLoginScreenDefaultHighContrastEnabled" : {
2226 "DeviceLoginScreenDefaultScreenMagnifierType" : {
2229 "DeviceLoginScreenDefaultVirtualKeyboardEnabled" : {
2235 "RebootAfterUpdate": {
2238 "AttestationEnabledForDevice": {
2241 "AttestationForContentProtectionEnabled": {
2244 "SupervisedUsersEnabled": {
2247 "SupervisedUserCreationEnabled": {
2250 "AutoCleanUpStrategy": {
2253 "----- Chrome Frame policies -------------------------------------------": {},
2255 "ChromeFrameRendererSettings": {
2258 "RenderInChromeFrameList": {
2261 "RenderInHostList": {
2264 "ChromeFrameContentTypes": {
2270 "AdditionalLaunchParameters": {
2273 "SuppressChromeFrameTurndownPrompt": {
2276 "SkipMetadataCheck": {