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 },
328 { "pref": "user_experience_metrics.reporting_enabled",
334 "PasswordManagerEnabled": {
335 "os": ["win", "linux", "mac", "chromeos"],
336 "can_be_recommended": true,
337 "test_policy": { "PasswordManagerEnabled": false },
339 { "pref": "profile.password_manager_enabled",
341 { "policy": { "PasswordManagerEnabled": false } }
347 "PasswordManagerAllowShowPasswords": {
348 "os": ["win", "linux", "mac", "chromeos"],
349 "test_policy": { "PasswordManagerAllowShowPasswords": false },
351 { "pref": "profile.password_manager_allow_show_passwords" }
356 "os": ["win", "linux", "mac", "chromeos"],
357 "can_be_recommended": true,
358 "test_policy": { "AutoFillEnabled": false },
360 { "pref": "autofill.enabled",
362 { "policy": { "AutoFillEnabled": false } }
369 "os": ["win", "linux", "mac", "chromeos"],
370 "test_policy": { "DisabledPlugins": ["Flash"] },
372 { "pref": "plugins.plugins_disabled" }
377 "os": ["win", "linux", "mac", "chromeos"],
378 "test_policy": { "EnabledPlugins": ["Flash"] },
380 { "pref": "plugins.plugins_enabled" }
384 "DisabledPluginsExceptions": {
385 "os": ["win", "linux", "mac", "chromeos"],
386 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
388 { "pref": "plugins.plugins_disabled_exceptions" }
392 "DisablePluginFinder": {
393 "os": ["win", "linux", "mac", "chromeos"],
394 "test_policy": { "DisablePluginFinder": true },
396 { "pref": "plugins.disable_plugin_finder",
403 "os": ["win", "linux", "mac", "chromeos"],
404 "test_policy": { "SyncDisabled": true },
406 { "pref": "sync.managed" }
411 "os": ["win", "linux", "mac"],
412 "test_policy": { "SigninAllowed": true },
414 { "pref": "signin.allowed" }
418 "EnableWebBasedSignin": {
419 "os": ["win", "linux", "mac"],
420 "test_policy": { "EnableWebBasedSignin": false }
424 "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."
428 "os": ["win", "mac", "linux"],
429 "test_policy": { "DiskCacheDir": "${user_home}/test-cache" },
431 { "pref": "browser.disk_cache_dir" }
436 "os": ["win", "mac", "linux"],
437 "test_policy": { "DiskCacheSize": 100 },
439 { "pref": "browser.disk_cache_size" }
444 "os": ["win", "mac", "linux"],
445 "test_policy": { "MediaCacheSize": 200 },
447 { "pref": "browser.media_cache_size" }
451 "DownloadDirectory.0": {
452 "os": ["win", "mac", "linux", "chromeos"],
453 "can_be_recommended": true,
454 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
456 { "pref": "download.default_directory",
458 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
461 { "pref": "download.prompt_for_download",
462 "check_for_recommended" : false,
464 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
470 "DownloadDirectory.1": {
472 "test_policy": { "DownloadDirectory": "${google_drive}/downloads" },
474 { "pref": "gdata.disabled",
476 { "policy": { "DownloadDirectory": "${google_drive}/downloads" } }
482 "ClearSiteDataOnExit": {
483 "note": "This policy is retired, see http://crbug.com/133291."
487 "os": ["win", "mac", "linux"],
488 "test_policy": { "ProxyMode": "direct" },
492 { "policy": { "ProxyMode": "direct" } }
499 "os": ["win", "mac", "linux"],
500 "test_policy": { "ProxyServerMode": 0 },
504 { "policy": { "ProxyServerMode": 0 } }
511 "os": ["win", "mac", "linux"],
512 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" },
516 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" } }
523 "os": ["win", "mac", "linux"],
524 "test_policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" },
528 { "policy": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" } }
535 "os": ["win", "mac", "linux"],
536 "test_policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" },
540 { "policy": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" } }
547 "os": ["linux", "win"],
548 "test_policy": { "ProxySettings": { "ProxyMode": "direct" } },
552 { "policy": { "ProxySettings": { "ProxyMode": "direct" } } }
558 "EnableOriginBoundCerts": {
559 "note": "This policy is retired, see http://crbug.com/354749."
562 "DisableSSLRecordSplitting": {
563 "os": ["win", "linux", "mac", "chromeos"],
564 "test_policy": { "DisableSSLRecordSplitting": true },
566 { "pref": "ssl.ssl_record_splitting.disabled",
572 "EnableOnlineRevocationChecks": {
573 "os": ["win", "linux", "mac", "chromeos"],
574 "test_policy": { "EnableOnlineRevocationChecks": true },
576 { "pref": "ssl.rev_checking.enabled",
582 "RequireOnlineRevocationChecksForLocalAnchors": {
583 "os": ["win", "linux", "chromeos"],
584 "test_policy": { "RequireOnlineRevocationChecksForLocalAnchors": true },
586 { "pref": "ssl.rev_checking.required_for_local_anchors",
593 "os": ["win", "linux", "mac", "chromeos"],
594 "test_policy": { "AuthSchemes": "AuthSchemes" },
596 { "pref": "auth.schemes",
602 "DisableAuthNegotiateCnameLookup": {
603 "os": ["win", "linux", "mac", "chromeos"],
604 "test_policy": { "DisableAuthNegotiateCnameLookup": true },
606 { "pref": "auth.disable_negotiate_cname_lookup",
612 "EnableAuthNegotiatePort": {
613 "os": ["win", "linux", "mac", "chromeos"],
614 "test_policy": { "EnableAuthNegotiatePort": true },
616 { "pref": "auth.enable_negotiate_port",
622 "AuthServerWhitelist": {
623 "os": ["win", "linux", "mac", "chromeos"],
624 "test_policy": { "AuthServerWhitelist": "localhost" },
626 { "pref": "auth.server_whitelist",
632 "AuthNegotiateDelegateWhitelist": {
633 "os": ["win", "linux", "mac", "chromeos"],
634 "test_policy": { "AuthNegotiateDelegateWhitelist": "localhost" },
636 { "pref": "auth.negotiate_delegate_whitelist",
642 "GSSAPILibraryName": {
643 "os": ["mac", "linux"],
644 "test_policy": { "GSSAPILibraryName": "libwhatever.so" },
646 { "pref": "auth.gssapi_library_name",
652 "AllowCrossOriginAuthPrompt": {
653 "os": ["win", "mac", "linux"],
654 "test_policy": { "AllowCrossOriginAuthPrompt": true },
656 { "pref": "auth.allow_cross_origin_prompt",
662 "ExtensionInstallBlacklist": {
663 "os": ["win", "linux", "mac", "chromeos"],
664 "test_policy": { "ExtensionInstallBlacklist": ["*"] },
666 { "pref": "extensions.install.denylist" }
670 "ExtensionInstallWhitelist": {
671 "os": ["win", "linux", "mac", "chromeos"],
672 "test_policy": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"] },
674 { "pref": "extensions.install.allowlist" }
678 "ExtensionInstallForcelist": {
679 "os": ["win", "linux", "mac", "chromeos"],
680 "test_policy": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
682 { "pref": "extensions.install.forcelist" }
686 "ExtensionInstallSources": {
687 "os": ["win", "linux", "mac", "chromeos"],
688 "test_policy": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
690 { "pref": "extensions.allowed_install_sites" }
694 "ExtensionAllowedTypes": {
695 "os": ["win", "linux", "mac", "chromeos"],
696 "test_policy": { "ExtensionAllowedTypes": ["hosted_app"] },
698 { "pref": "extensions.allowed_types" }
703 "os": ["win", "linux", "mac", "chromeos"],
704 "can_be_recommended": true,
705 "test_policy": { "ShowHomeButton": true },
707 { "pref": "browser.show_home_button",
709 { "policy": { "ShowHomeButton": true } }
715 "DeveloperToolsDisabled": {
716 "os": ["win", "linux", "mac", "chromeos"],
717 "test_policy": { "DeveloperToolsDisabled": true },
719 { "pref": "devtools.disabled" }
723 "RestoreOnStartup": {
724 "os": ["win", "linux", "mac", "chromeos"],
725 "can_be_recommended": true,
726 "test_policy": { "RestoreOnStartup": 4 },
728 { "pref": "session.restore_on_startup",
730 { "policy": { "RestoreOnStartup": 1 },
732 { "policy": { "RestoreOnStartup": 4 },
734 { "policy": { "RestoreOnStartup": 5 },
741 "RestoreOnStartupURLs": {
742 "os": ["win", "linux", "mac", "chromeos"],
743 "can_be_recommended": true,
744 "test_policy": { "RestoreOnStartupURLs": ["chromium.org"] },
746 { "pref": "session.startup_urls",
748 { "policy": { "RestoreOnStartupURLs": ["chromium.org"] } }
754 "BlockThirdPartyCookies": {
755 "os": ["win", "linux", "mac", "chromeos"],
756 "can_be_recommended": true,
757 "test_policy": { "BlockThirdPartyCookies": true },
759 { "pref": "profile.block_third_party_cookies",
761 { "policy": { "BlockThirdPartyCookies": true } }
767 "DefaultSearchProviderEnabled": {
768 "os": ["win", "linux", "mac", "chromeos"],
769 "test_policy": { "DefaultSearchProviderEnabled": false },
771 { "pref": "default_search_provider_data.template_url_data",
773 { "policy": { "DefaultSearchProviderEnabled": false } },
774 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" } }
780 "DefaultSearchProviderName": {
781 "os": ["win", "linux", "mac", "chromeos"],
782 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderName": "google.com" },
784 { "pref": "default_search_provider_data.template_url_data" }
788 "DefaultSearchProviderKeyword": {
789 "os": ["win", "linux", "mac", "chromeos"],
790 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
792 { "pref": "default_search_provider_data.template_url_data" }
796 "DefaultSearchProviderSearchURL": {
797 "os": ["win", "linux", "mac", "chromeos"],
798 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google" },
800 { "pref": "default_search_provider_data.template_url_data",
801 "indicator_selector": "[setting=search-engine]",
803 { "policy": { "DefaultSearchProviderEnabled": true, "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}" } }
809 "DefaultSearchProviderSuggestURL": {
810 "os": ["win", "linux", "mac", "chromeos"],
811 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURL": "http://www.google.com/suggest?q={searchTerms}" },
813 { "pref": "default_search_provider_data.template_url_data" }
817 "DefaultSearchProviderInstantURL": {
818 "os": ["win", "linux", "mac", "chromeos"],
819 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURL": "http://www.google.com/instant?q={searchTerms}" },
821 { "pref": "default_search_provider_data.template_url_data" }
825 "DefaultSearchProviderNewTabURL": {
826 "os": ["win", "linux", "mac", "chromeos"],
827 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderNewTabURL": "http://www.google.com/newtab" },
829 { "pref": "default_search_provider_data.template_url_data" }
833 "DefaultSearchProviderIconURL": {
834 "os": ["win", "linux", "mac", "chromeos"],
835 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderIconURL": "http://www.google.com/favicon.ico" },
837 { "pref": "default_search_provider_data.template_url_data" }
841 "DefaultSearchProviderEncodings": {
842 "os": ["win", "linux", "mac", "chromeos"],
843 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderEncodings": ["UTF-8"] },
845 { "pref": "default_search_provider_data.template_url_data" }
849 "DefaultSearchProviderAlternateURLs": {
850 "os": ["win", "linux", "mac", "chromeos"],
851 "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}"] },
853 { "pref": "default_search_provider_data.template_url_data" }
857 "DefaultSearchProviderSearchTermsReplacementKey": {
858 "os": ["win", "linux", "mac", "chromeos"],
859 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchTermsReplacementKey": "espv" },
861 { "pref": "default_search_provider_data.template_url_data" }
865 "DefaultSearchProviderImageURL": {
866 "os": ["win", "linux", "mac", "chromeos"],
867 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURL": "http://www.google.com/searchbyimage/upload" },
869 { "pref": "default_search_provider_data.template_url_data" }
873 "DefaultSearchProviderSearchURLPostParams": {
874 "os": ["win", "linux", "mac", "chromeos"],
875 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSearchURLPostParams": "" },
877 { "pref": "default_search_provider_data.template_url_data" }
881 "DefaultSearchProviderSuggestURLPostParams": {
882 "os": ["win", "linux", "mac", "chromeos"],
883 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderSuggestURLPostParams": "" },
885 { "pref": "default_search_provider_data.template_url_data" }
889 "DefaultSearchProviderInstantURLPostParams": {
890 "os": ["win", "linux", "mac", "chromeos"],
891 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderInstantURLPostParams": "" },
893 { "pref": "default_search_provider_data.template_url_data" }
897 "DefaultSearchProviderImageURLPostParams": {
898 "os": ["win", "linux", "mac", "chromeos"],
899 "test_policy": { "DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}", "DefaultSearchProviderKeyword": "google", "DefaultSearchProviderImageURLPostParams": "image_content={imageThumbnail},image_url={imageURL},sbisrc={imageSearchSource}" },
901 { "pref": "default_search_provider_data.template_url_data" }
905 "DefaultCookiesSetting": {
906 "os": ["win", "linux", "mac", "chromeos"],
907 "test_policy": { "DefaultCookiesSetting": 2 },
909 { "pref": "profile.managed_default_content_settings.cookies",
910 "indicator_selector": "[content-setting=cookies]",
912 { "policy": { "DefaultCookiesSetting": 1 },
914 { "policy": { "DefaultCookiesSetting": 2 },
916 { "policy": { "DefaultCookiesSetting": 4 },
922 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
925 "DefaultImagesSetting": {
926 "os": ["win", "linux", "mac", "chromeos"],
927 "test_policy": { "DefaultImagesSetting": 2 },
929 { "pref": "profile.managed_default_content_settings.images",
930 "indicator_selector": "[content-setting=images]",
932 { "policy": { "DefaultImagesSetting": 1 },
934 { "policy": { "DefaultImagesSetting": 2 },
940 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
943 "DefaultJavaScriptSetting": {
944 "os": ["win", "linux", "mac", "chromeos"],
945 "test_policy": { "DefaultJavaScriptSetting": 2 },
947 { "pref": "profile.managed_default_content_settings.javascript",
948 "indicator_selector": "[content-setting=javascript]",
950 { "policy": { "DefaultJavaScriptSetting": 1 },
952 { "policy": { "DefaultJavaScriptSetting": 2 },
958 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
961 "DefaultPluginsSetting": {
962 "os": ["win", "linux", "mac", "chromeos"],
963 "test_policy": { "DefaultPluginsSetting": 2 },
965 { "pref": "profile.managed_default_content_settings.plugins",
966 "indicator_selector": "[content-setting=plugins]",
968 { "policy": { "DefaultPluginsSetting": 1 },
970 { "policy": { "DefaultPluginsSetting": 2 },
972 { "policy": { "DefaultPluginsSetting": 3 },
978 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
981 "DefaultPopupsSetting": {
982 "os": ["win", "linux", "mac", "chromeos"],
983 "test_policy": { "DefaultPopupsSetting": 2 },
985 { "pref": "profile.managed_default_content_settings.popups",
986 "indicator_selector": "[content-setting=popups]",
988 { "policy": { "DefaultPopupsSetting": 1 },
990 { "policy": { "DefaultPopupsSetting": 2 },
996 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
999 "DefaultNotificationsSetting": {
1000 "os": ["win", "linux", "mac", "chromeos"],
1001 "test_policy": { "DefaultNotificationsSetting": 2 },
1003 { "pref": "profile.managed_default_content_settings.notifications",
1004 "indicator_selector": "[content-setting=notifications]",
1005 "indicator_tests": [
1006 { "policy": { "DefaultNotificationsSetting": 1 },
1008 { "policy": { "DefaultNotificationsSetting": 2 },
1010 { "policy": { "DefaultNotificationsSetting": 3 },
1016 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1019 "DefaultGeolocationSetting": {
1020 "os": ["win", "linux", "mac", "chromeos"],
1021 "test_policy": { "DefaultGeolocationSetting": 2 },
1023 { "pref": "profile.managed_default_content_settings.geolocation",
1024 "indicator_selector": "[content-setting=location]",
1025 "indicator_tests": [
1026 { "policy": { "DefaultGeolocationSetting": 1 },
1028 { "policy": { "DefaultGeolocationSetting": 2 },
1030 { "policy": { "DefaultGeolocationSetting": 3 },
1036 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1039 "DefaultMediaStreamSetting": {
1040 "os": ["win", "linux", "mac", "chromeos"],
1041 "test_policy": { "DefaultMediaStreamSetting": 2 },
1043 { "pref": "profile.managed_default_content_settings.media_stream",
1044 "indicator_selector": "[content-setting=media-stream]",
1045 "indicator_tests": [
1046 { "policy": { "DefaultMediaStreamSetting": 2 },
1049 { "policy": { "DefaultMediaStreamSetting": 3 },
1056 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1059 "AudioCaptureAllowed": {
1060 "os": ["win", "linux", "mac", "chromeos"],
1061 "test_policy": { "AudioCaptureAllowed": false },
1063 { "pref": "hardware.audio_capture_enabled",
1064 "indicator_selector": "#media-indicator",
1065 "indicator_tests": [
1066 { "policy": { "AudioCaptureAllowed": false } }
1072 "AudioCaptureAllowedUrls": {
1073 "os": ["win", "linux", "mac", "chromeos"],
1074 "test_policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
1077 "pref": "hardware.audio_capture_allowed_urls"
1082 "VideoCaptureAllowed": {
1083 "os": ["win", "linux", "mac", "chromeos"],
1084 "test_policy": { "VideoCaptureAllowed": false },
1086 { "pref": "hardware.video_capture_enabled",
1087 "indicator_selector": "#media-indicator",
1088 "indicator_tests": [
1089 { "policy": { "VideoCaptureAllowed": false } }
1095 "VideoCaptureAllowedUrls": {
1096 "os": ["win", "linux", "mac", "chromeos"],
1097 "test_policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
1100 "pref": "hardware.video_capture_allowed_urls"
1105 "AutoSelectCertificateForUrls": {
1106 "os": ["win", "linux", "mac", "chromeos"],
1107 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://example.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1109 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1112 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1115 "CookiesAllowedForUrls": {
1116 "os": ["win", "linux", "mac", "chromeos"],
1117 "test_policy": { "CookiesAllowedForUrls": ["[*.]google.com"] },
1119 { "pref": "profile.managed_cookies_allowed_for_urls",
1120 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1121 "indicator_selector": "[content-exception=cookies]",
1122 "indicator_tests": [
1123 { "policy": { "CookiesAllowedForUrls": ["[*.]google.com"] } }
1128 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1131 "CookiesBlockedForUrls": {
1132 "os": ["win", "linux", "mac", "chromeos"],
1133 "test_policy": { "CookiesBlockedForUrls": ["[*.]google.com"] },
1135 { "pref": "profile.managed_cookies_blocked_for_urls",
1136 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1137 "indicator_selector": "[content-exception=cookies]",
1138 "indicator_tests": [
1139 { "policy": { "CookiesBlockedForUrls": ["[*.]google.com"] } }
1144 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1147 "CookiesSessionOnlyForUrls": {
1148 "os": ["win", "linux", "mac", "chromeos"],
1149 "test_policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
1151 { "pref": "profile.managed_cookies_sessiononly_for_urls",
1152 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
1153 "indicator_selector": "[content-exception=cookies]",
1154 "indicator_tests": [
1155 { "policy": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] } }
1160 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1163 "ImagesAllowedForUrls": {
1164 "os": ["win", "linux", "mac", "chromeos"],
1165 "test_policy": { "ImagesAllowedForUrls": ["[*.]google.com"] },
1167 { "pref": "profile.managed_images_allowed_for_urls",
1168 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1169 "indicator_selector": "[content-exception=images]",
1170 "indicator_tests": [
1171 { "policy": { "ImagesAllowedForUrls": ["[*.]google.com"] } }
1176 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1179 "ImagesBlockedForUrls": {
1180 "os": ["win", "linux", "mac", "chromeos"],
1181 "test_policy": { "ImagesBlockedForUrls": ["[*.]google.com"] },
1183 { "pref": "profile.managed_images_blocked_for_urls",
1184 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
1185 "indicator_selector": "[content-exception=images]",
1186 "indicator_tests": [
1187 { "policy": { "ImagesBlockedForUrls": ["[*.]google.com"] } }
1192 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1195 "JavaScriptAllowedForUrls": {
1196 "os": ["win", "linux", "mac", "chromeos"],
1197 "test_policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] },
1199 { "pref": "profile.managed_javascript_allowed_for_urls",
1200 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1201 "indicator_selector": "[content-exception=javascript]",
1202 "indicator_tests": [
1203 { "policy": { "JavaScriptAllowedForUrls": ["[*.]google.com"] } }
1208 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1211 "JavaScriptBlockedForUrls": {
1212 "os": ["win", "linux", "mac", "chromeos"],
1213 "test_policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] },
1215 { "pref": "profile.managed_javascript_blocked_for_urls",
1216 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
1217 "indicator_selector": "[content-exception=javascript]",
1218 "indicator_tests": [
1219 { "policy": { "JavaScriptBlockedForUrls": ["[*.]google.com"] } }
1224 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1227 "PluginsAllowedForUrls": {
1228 "os": ["win", "linux", "mac", "chromeos"],
1229 "test_policy": { "PluginsAllowedForUrls": ["[*.]google.com"] },
1231 { "pref": "profile.managed_plugins_allowed_for_urls",
1232 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1233 "indicator_selector": "[content-exception=plugins]",
1234 "indicator_tests": [
1235 { "policy": { "PluginsAllowedForUrls": ["[*.]google.com"] } }
1240 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1243 "PluginsBlockedForUrls": {
1244 "os": ["win", "linux", "mac", "chromeos"],
1245 "test_policy": { "PluginsBlockedForUrls": ["[*.]google.com"] },
1247 { "pref": "profile.managed_plugins_blocked_for_urls",
1248 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=plugins]').click();",
1249 "indicator_selector": "[content-exception=plugins]",
1250 "indicator_tests": [
1251 { "policy": { "PluginsBlockedForUrls": ["[*.]google.com"] } }
1256 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1259 "PopupsAllowedForUrls": {
1260 "os": ["win", "linux", "mac", "chromeos"],
1261 "test_policy": { "PopupsAllowedForUrls": ["[*.]google.com"] },
1263 { "pref": "profile.managed_popups_allowed_for_urls",
1264 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1265 "indicator_selector": "[content-exception=popups]",
1266 "indicator_tests": [
1267 { "policy": { "PopupsAllowedForUrls": ["[*.]google.com"] } }
1272 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1275 "PopupsBlockedForUrls": {
1276 "os": ["win", "linux", "mac", "chromeos"],
1277 "test_policy": { "PopupsBlockedForUrls": ["[*.]google.com"] },
1279 { "pref": "profile.managed_popups_blocked_for_urls",
1280 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
1281 "indicator_selector": "[content-exception=popups]",
1282 "indicator_tests": [
1283 { "policy": { "PopupsBlockedForUrls": ["[*.]google.com"] } }
1288 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1291 "NotificationsAllowedForUrls": {
1292 "os": ["win", "linux", "mac", "chromeos"],
1293 "test_policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] },
1295 { "pref": "profile.managed_notifications_allowed_for_urls",
1296 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1297 "indicator_selector": "[content-exception=notifications]",
1298 "indicator_tests": [
1299 { "policy": { "NotificationsAllowedForUrls": ["[*.]google.com"] } }
1304 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1307 "NotificationsBlockedForUrls": {
1308 "os": ["win", "linux", "mac", "chromeos"],
1309 "test_policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] },
1311 { "pref": "profile.managed_notifications_blocked_for_urls",
1312 "indicator_test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
1313 "indicator_selector": "[content-exception=notifications]",
1314 "indicator_tests": [
1315 { "policy": { "NotificationsBlockedForUrls": ["[*.]google.com"] } }
1320 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
1324 "os": ["win", "linux", "mac", "chromeos"],
1325 "test_policy": { "Disable3DAPIs": true },
1327 { "pref": "disable_3d_apis" }
1334 "TranslateEnabled": {
1335 "os": ["win", "linux", "mac", "chromeos"],
1336 "can_be_recommended": true,
1337 "test_policy": { "TranslateEnabled": false },
1339 { "pref": "translate.enabled",
1340 "indicator_tests": [
1341 { "policy": { "TranslateEnabled": true } }
1347 "AllowOutdatedPlugins": {
1348 "os": ["win", "linux", "mac", "chromeos"],
1349 "test_policy": { "AllowOutdatedPlugins": true },
1351 { "pref": "plugins.allow_outdated" }
1355 "AlwaysAuthorizePlugins": {
1356 "os": ["win", "linux", "mac", "chromeos"],
1357 "test_policy": { "AlwaysAuthorizePlugins": true },
1359 { "pref": "plugins.always_authorize" }
1363 "BookmarkBarEnabled": {
1364 "os": ["win", "linux", "mac", "chromeos"],
1365 "can_be_recommended": true,
1366 "test_policy": { "BookmarkBarEnabled": true },
1368 { "pref": "bookmark_bar.show_on_all_tabs",
1369 "indicator_tests": [
1370 { "policy": { "BookmarkBarEnabled": true } }
1376 "EditBookmarksEnabled": {
1377 "os": ["win", "linux", "mac", "chromeos"],
1378 "test_policy": { "EditBookmarksEnabled": false },
1380 { "pref": "bookmarks.editing_enabled" }
1384 "ShowAppsShortcutInBookmarkBar": {
1385 "os": ["win", "linux", "mac"],
1386 "test_policy": { "ShowAppsShortcutInBookmarkBar": false },
1388 { "pref": "bookmark_bar.show_apps_shortcut" }
1392 "AllowFileSelectionDialogs": {
1393 "os": ["win", "mac", "linux"],
1394 "test_policy": { "AllowFileSelectionDialogs": false },
1396 { "pref": "select_file_dialogs.allowed",
1399 { "pref": "download.prompt_for_download",
1400 "indicator_tests": [
1401 { "policy": { "AllowFileSelectionDialogs": false } }
1407 "ImportBookmarks": {
1408 "os": ["win", "mac", "linux"],
1409 "can_be_recommended": true,
1410 "test_policy": { "ImportBookmarks": false },
1412 { "pref": "import_bookmarks",
1413 "indicator_tests": [
1414 { "policy": { "ImportBookmarks": false } }
1421 "os": ["win", "mac", "linux"],
1422 "can_be_recommended": true,
1423 "test_policy": { "ImportHistory": false },
1425 { "pref": "import_history",
1426 "indicator_tests": [
1427 { "policy": { "ImportHistory": false } }
1434 "os": ["win", "mac", "linux"],
1435 "test_policy": { "ImportHomepage": false },
1437 { "pref": "import_home_page" }
1441 "ImportSearchEngine": {
1442 "os": ["win", "mac", "linux"],
1443 "can_be_recommended": true,
1444 "test_policy": { "ImportSearchEngine": false },
1446 { "pref": "import_search_engine",
1447 "indicator_tests": [
1448 { "policy": { "ImportSearchEngine": false } }
1454 "ImportSavedPasswords": {
1455 "os": ["win", "mac", "linux"],
1456 "can_be_recommended": true,
1457 "test_policy": { "ImportSavedPasswords": false },
1459 { "pref": "import_saved_passwords",
1460 "indicator_tests": [
1461 { "policy": { "ImportSavedPasswords": false } }
1467 "ImportAutofillFormData": {
1468 "os": ["win", "mac", "linux"],
1469 "can_be_recommended": true,
1470 "test_policy": { "ImportAutofillFormData": false },
1472 { "pref": "import_autofill_form_data",
1473 "indicator_tests": [
1474 { "policy": { "ImportAutofillFormData": false } }
1480 "MaxConnectionsPerProxy": {
1481 "os": ["win", "linux", "mac", "chromeos"],
1482 "test_policy": { "MaxConnectionsPerProxy": 16 },
1484 { "pref": "net.max_connections_per_proxy",
1490 "HideWebStorePromo": {
1494 "os": ["win", "linux", "mac", "chromeos"],
1495 "test_policy": { "URLBlacklist": ["google.com"] },
1497 { "pref": "policy.url_blacklist" }
1502 "os": ["win", "linux", "mac", "chromeos"],
1503 "test_policy": { "URLWhitelist": ["google.com"] },
1505 { "pref": "policy.url_whitelist" }
1509 "EnterpriseWebStoreURL": {
1510 "note": "This policy is retired, see http://crbug.com/178938."
1513 "EnterpriseWebStoreName": {
1514 "note": "This policy is retired, see http://crbug.com/178938."
1517 "EnableMemoryInfo": {
1518 "note": "This policy is retired, see http://crbug.com/350339."
1521 "DisablePrintPreview": {
1522 "os": ["win", "mac", "linux"],
1523 "test_policy": { "DisablePrintPreview": false },
1525 { "pref": "printing.print_preview_disabled" }
1529 "BackgroundModeEnabled": {
1530 "os": ["win", "linux"],
1531 "can_be_recommended": true,
1532 "test_policy": { "BackgroundModeEnabled": false },
1534 { "pref": "background_mode.enabled",
1535 "local_state": true,
1536 "indicator_tests": [
1537 { "policy": { "BackgroundModeEnabled": false } }
1543 "RestrictSigninToPattern": {
1544 "os": ["win", "mac", "linux"],
1545 "test_policy": { "RestrictSigninToPattern": ".*@google.com" },
1547 { "pref": "google.services.username_pattern",
1553 "DisableSafeBrowsingProceedAnyway": {
1554 "os": ["win", "linux", "mac", "chromeos"],
1555 "test_policy": { "DisableSafeBrowsingProceedAnyway": true },
1557 { "pref": "safebrowsing.proceed_anyway_disabled" }
1561 "SpellCheckServiceEnabled": {
1562 "os": ["win", "linux", "mac", "chromeos"],
1563 "official_only": true,
1564 "can_be_recommended": true,
1565 "test_policy": { "SpellCheckServiceEnabled": false },
1567 { "pref": "spellcheck.use_spelling_service",
1568 "indicator_tests": [
1569 { "policy": { "SpellCheckServiceEnabled": false } }
1575 "DisableScreenshots": {
1576 "os": ["win", "linux", "mac", "chromeos"],
1577 "test_policy": { "DisableScreenshots": true },
1579 { "pref": "disable_screenshots" }
1583 "BuiltInDnsClientEnabled": {
1584 "os": ["win", "linux", "mac"],
1585 "test_policy": { "BuiltInDnsClientEnabled": true },
1587 { "pref": "async_dns.enabled",
1593 "WPADQuickCheckEnabled": {
1594 "os": ["win", "linux", "mac", "chromeos"],
1595 "test_policy": { "WPADQuickCheckEnabled": true },
1597 { "pref": "proxy.quick_check_enabled",
1603 "RegisteredProtocolHandlers": {
1604 "os": ["win", "linux", "mac", "chromeos"],
1605 "can_be_recommended": true,
1606 "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": "http://example.com/%s", "default": "true"} },
1608 { "pref": "custom_handlers.policy.registered_protocol_handlers",
1609 "check_for_mandatory": false
1614 "HideWebStoreIcon": {
1615 "os": ["win", "linux", "mac", "chromeos"],
1616 "test_policy": { "HideWebStoreIcon": true },
1618 { "pref": "hide_web_store_icon" }
1622 "VariationsRestrictParameter": {
1623 "test_policy": { "VariationsRestrictParameter": "restricted" },
1625 { "pref": "variations_restrict_parameter",
1631 "DataCompressionProxyEnabled": {
1633 "test_policy": { "DataCompressionProxyEnabled": false },
1635 { "pref": "spdy_proxy.enabled" }
1639 "ForceEphemeralProfiles": {
1642 "UserAvatarImage": {
1645 "UserAvatarImage": {
1646 "url": "http://localhost/",
1647 "hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
1650 "indicator_selector": "#account-picture-indicator"
1657 "url": "http://localhost/",
1658 "hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf"
1661 "indicator_selector": "#wallpaper-indicator"
1664 "BrowserGuestModeEnabled": {
1665 "os": ["win", "linux", "mac"],
1666 "test_policy": { "BrowserGuestModeEnabled": true },
1668 { "pref": "profile.browser_guest_enabled",
1674 "BrowserAddPersonEnabled": {
1675 "os": ["win", "linux", "mac"],
1676 "test_policy": { "BrowserAddPersonEnabled": true },
1678 { "pref": "profile.add_person_enabled",
1684 "----- Chrome OS policies ------------------------------------------------": {},
1686 "ChromeOsLockOnIdleSuspend": {
1688 "can_be_recommended": true,
1689 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1691 { "pref": "settings.enable_screen_lock",
1692 "indicator_tests": [
1693 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
1699 "PolicyRefreshRate": {
1701 "test_policy": { "PolicyRefreshRate": 300000 },
1703 { "pref": "policy.user_refresh_rate",
1709 "MaxInvalidationFetchDelay": {
1710 "os": ["win", "linux", "mac", "chromeos"],
1711 "test_policy": { "PolicyRefreshRate": 15000 },
1715 "OpenNetworkConfiguration": {
1718 "SAMLOfflineSigninTimeLimit": {
1720 "test_policy": { "SAMLOfflineSigninTimeLimit": 0 },
1722 { "pref": "saml.offline_signin_time_limit" }
1728 "test_policy": { "DriveDisabled": true },
1730 { "pref": "gdata.disabled",
1731 "indicator_tests": [
1732 { "policy": { "DriveDisabled": true } }
1738 "DriveDisabledOverCellular": {
1740 "test_policy": { "DriveDisabledOverCellular": true },
1742 { "pref": "gdata.cellular.disabled" }
1746 "PinnedLauncherApps": {
1748 "can_be_recommended": true,
1749 "test_policy": { "PinnedLauncherApps": [] },
1751 { "pref": "pinned_launcher_apps" }
1755 "ExternalStorageDisabled": {
1757 "test_policy": { "ExternalStorageDisabled": true },
1759 { "pref": "hardware.external_storage_disabled" }
1763 "AudioOutputAllowed": {
1765 "test_policy": { "AudioOutputAllowed": true },
1767 { "pref": "hardware.audio_output_enabled",
1768 "local_state": true }
1772 "AudioCaptureAllowed": {
1774 "test_policy": { "AudioCaptureAllowed": true },
1776 { "pref": "hardware.audio_capture_enabled",
1777 "local_state": true }
1781 "ShowLogoutButtonInTray": {
1783 "test_policy": { "ShowLogoutButtonInTray": true },
1785 { "pref": "show_logout_button_in_tray" }
1789 "ShelfAutoHideBehavior": {
1791 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1793 { "pref": "auto_hide_behavior_local" }
1797 "UserDisplayName": {
1801 "SessionLengthLimit": {
1803 "test_policy": { "SessionLengthLimit": 3600000 },
1805 { "pref": "session.length_limit",
1806 "local_state": true }
1810 "ScreenDimDelayAC": {
1812 "test_policy": { "ScreenDimDelayAC": 420000 },
1814 { "pref": "power.ac_screen_dim_delay_ms" }
1818 "ScreenOffDelayAC": {
1820 "test_policy": { "ScreenOffDelayAC": 480000 },
1822 { "pref": "power.ac_screen_off_delay_ms" }
1826 "ScreenLockDelayAC": {
1828 "test_policy": { "ScreenLockDelayAC": 600000 },
1830 { "pref": "power.ac_screen_lock_delay_ms" }
1834 "IdleWarningDelayAC": {
1836 "test_policy": { "IdleWarningDelayAC": 1800000 },
1838 { "pref": "power.ac_idle_warning_delay_ms" }
1844 "test_policy": { "IdleDelayAC": 1800000 },
1846 { "pref": "power.ac_idle_delay_ms" }
1850 "ScreenDimDelayBattery": {
1852 "test_policy": { "ScreenDimDelayBattery": 300000 },
1854 { "pref": "power.battery_screen_dim_delay_ms" }
1858 "ScreenOffDelayBattery": {
1860 "test_policy": { "ScreenOffDelayBattery": 360000 },
1862 { "pref": "power.battery_screen_off_delay_ms" }
1866 "ScreenLockDelayBattery": {
1868 "test_policy": { "ScreenLockDelayBattery": 600000 },
1870 { "pref": "power.battery_screen_lock_delay_ms" }
1874 "IdleWarningDelayBattery": {
1876 "test_policy": { "IdleWarningDelayBattery": 600000 },
1878 { "pref": "power.battery_idle_warning_delay_ms" }
1882 "IdleDelayBattery": {
1884 "test_policy": { "IdleDelayBattery": 600000 },
1886 { "pref": "power.battery_idle_delay_ms" }
1892 "test_policy": { "IdleAction": 0 },
1894 { "pref": "power.ac_idle_action" },
1895 { "pref": "power.battery_idle_action" }
1901 "test_policy": { "IdleActionAC": 0 },
1903 { "pref": "power.ac_idle_action" }
1907 "IdleActionBattery": {
1909 "test_policy": { "IdleActionBattery": 0 },
1911 { "pref": "power.battery_idle_action" }
1917 "test_policy": { "LidCloseAction": 0 },
1919 { "pref": "power.lid_closed_action" }
1923 "PowerManagementUsesAudioActivity": {
1925 "test_policy": { "PowerManagementUsesAudioActivity": true },
1927 { "pref": "power.use_audio_activity" }
1931 "PowerManagementUsesVideoActivity": {
1933 "test_policy": { "PowerManagementUsesVideoActivity": true },
1935 { "pref": "power.use_video_activity" }
1939 "PresentationIdleDelayScale": {
1942 "PresentationScreenDimDelayScale": {
1944 "test_policy": { "PresentationScreenDimDelayScale": 200 },
1946 { "pref": "power.presentation_screen_dim_delay_factor" }
1950 "AllowScreenWakeLocks": {
1952 "test_policy": { "AllowScreenWakeLocks": false },
1954 { "pref": "power.allow_screen_wake_locks" }
1958 "UserActivityScreenDimDelayScale": {
1960 "test_policy": { "UserActivityScreenDimDelayScale": 200 },
1962 { "pref": "power.user_activity_screen_dim_delay_factor" }
1966 "WaitForInitialUserActivity": {
1968 "test_policy": { "WaitForInitialUserActivity": true },
1970 { "pref": "session.wait_for_initial_user_activity",
1971 "local_state": true },
1972 { "pref": "power.wait_for_initial_user_activity" }
1976 "PowerManagementIdleSettings": {
1978 "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"} } },
1980 { "pref": "power.ac_screen_dim_delay_ms" },
1981 { "pref": "power.ac_screen_off_delay_ms" },
1982 { "pref": "power.ac_idle_warning_delay_ms" },
1983 { "pref": "power.ac_idle_delay_ms" },
1984 { "pref": "power.battery_screen_dim_delay_ms" },
1985 { "pref": "power.battery_screen_off_delay_ms" },
1986 { "pref": "power.battery_idle_warning_delay_ms" },
1987 { "pref": "power.battery_idle_delay_ms" }
1991 "ScreenLockDelays": {
1993 "test_policy": { "ScreenLockDelays": { "AC": 6000, "Battery": 2000 } },
1995 { "pref": "power.ac_screen_lock_delay_ms" },
1996 { "pref": "power.battery_screen_lock_delay_ms" }
2000 "TermsOfServiceURL": {
2002 "test_policy": { "TermsOfServiceURL": "http://www.example.com/terms_of_service.txt" },
2004 { "pref": "terms_of_service.url" }
2008 "ShowAccessibilityOptionsInSystemTrayMenu": {
2010 "test_policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
2012 { "pref": "settings.a11y.enable_menu",
2013 "indicator_tests": [
2014 { "policy": { "ShowAccessibilityOptionsInSystemTrayMenu": true } }
2020 "LargeCursorEnabled": {
2022 "test_policy": { "LargeCursorEnabled": true },
2024 { "pref": "settings.a11y.large_cursor_enabled",
2025 "indicator_tests": [
2026 { "policy": { "LargeCursorEnabled": true } }
2032 "SpokenFeedbackEnabled": {
2034 "test_policy": { "SpokenFeedbackEnabled": true },
2036 { "pref": "settings.accessibility",
2037 "indicator_tests": [
2038 { "policy": { "SpokenFeedbackEnabled": true } }
2044 "HighContrastEnabled": {
2046 "test_policy": { "HighContrastEnabled": true },
2048 { "pref": "settings.a11y.high_contrast_enabled",
2049 "indicator_tests": [
2050 { "policy": { "HighContrastEnabled": true } }
2056 "ScreenMagnifierType": {
2058 "test_policy": { "ScreenMagnifierType": 1 },
2060 { "pref": "settings.a11y.screen_magnifier",
2061 "indicator_tests": [
2062 { "policy": { "ScreenMagnifierType": 1 } }
2065 { "pref": "settings.a11y.screen_magnifier_type2" }
2069 "VirtualKeyboardEnabled": {
2071 "test_policy": { "VirtualKeyboardEnabled": true },
2073 { "pref": "settings.a11y.virtual_keyboard",
2074 "indicator_tests": [
2075 { "policy": { "VirtualKeyboardEnabled": true } }
2081 "KeyboardDefaultToFunctionKeys": {
2083 "test_policy": { "KeyboardDefaultToFunctionKeys": true },
2085 { "pref": "settings.language.send_function_keys",
2086 "indicator_tests": [
2087 { "policy": { "KeyboardDefaultToFunctionKeys": true } }
2093 "AttestationEnabledForUser": {
2095 "test_policy": { "AttestationEnabledForUser": true },
2097 { "pref": "attestation.enabled" }
2101 "AttestationExtensionWhitelist": {
2103 "test_policy": { "AttestationExtensionWhitelist": ["test_ext_id1", "test_ext_id2"] },
2105 { "pref": "attestation.extension_whitelist" }
2109 "ContentPackDefaultFilteringBehavior": {
2112 "ContentPackManualBehaviorHosts": {
2115 "ContentPackManualBehaviorURLs": {
2118 "ManagedBookmarks": {
2121 "FullscreenAllowed": {
2122 "os": ["win", "linux", "chromeos"],
2123 "test_policy": { "FullscreenAllowed": false },
2125 { "pref": "fullscreen.allowed" },
2126 { "pref": "apps.fullscreen.allowed" }
2130 "ChromeOsMultiProfileUserBehavior": {
2132 "test_policy": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
2134 { "pref": "settings.multiprofile_user_behavior" }
2138 "NativeMessagingBlacklist": {
2139 "os": ["win", "linux", "mac"],
2140 "test_policy": { "NativeMessagingBlacklist": ["*"] },
2142 { "pref": "native_messaging.blacklist" }
2146 "NativeMessagingWhitelist": {
2147 "os": ["win", "linux", "mac"],
2148 "test_policy": { "NativeMessagingWhitelist": ["native.messaging.host.name"] },
2150 { "pref": "native_messaging.whitelist" }
2154 "NativeMessagingUserLevelHosts": {
2155 "os": ["win", "linux", "mac"],
2156 "test_policy": { "NativeMessagingUserLevelHosts": false },
2158 { "pref": "native_messaging.user_level_hosts" }
2162 "EnableDeprecatedWebPlatformFeatures": {
2163 "os": ["win", "linux", "mac", "chromeos"],
2165 "EnableDeprecatedWebPlatformFeatures": [
2166 "ShowModalDialog_EffectiveUntil20150430"
2170 { "pref": "enable_deprecated_web_platform_features" }
2174 "TouchVirtualKeyboardEnabled": {
2176 "test_policy": { "TouchVirtualKeyboardEnabled": false },
2178 { "pref": "ui.touch_virtual_keyboard_enabled" }
2182 "EasyUnlockAllowed": {
2184 "test_policy": { "EasyUnlockAllowed": false },
2186 { "pref": "easy_unlock.allowed" }
2192 "can_be_recommended": true
2195 "----- Chrome OS device policies ---------------------------------------": {},
2197 "DevicePolicyRefreshRate": {
2199 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2201 { "pref": "policy.device_refresh_rate",
2202 "local_state": true }
2206 "ChromeOsReleaseChannel": {
2209 "ChromeOsReleaseChannelDelegated": {
2212 "DeviceOpenNetworkConfiguration": {
2215 "ReportDeviceVersionInfo": {
2218 "ReportDeviceActivityTimes": {
2221 "ReportDeviceBootMode": {
2224 "ReportDeviceNetworkInterfaces": {
2227 "ReportDeviceUsers": {
2230 "DeviceAllowNewUsers": {
2233 "DeviceUserWhitelist": {
2236 "DeviceGuestModeEnabled": {
2239 "DeviceShowUserNamesOnSignin": {
2242 "DeviceDataRoamingEnabled": {
2245 "DeviceMetricsReportingEnabled": {
2247 "official_only": true,
2248 "test_policy": { "DeviceMetricsReportingEnabled": true },
2250 { "pref": "cros.metrics.reportingEnabled",
2251 "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}]); });",
2252 "indicator_tests": [
2253 { "policy": { "AlternateErrorPagesEnabled": true } }
2258 "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."
2261 "DeviceEphemeralUsersEnabled": {
2264 "DeviceIdleLogoutTimeout": {
2267 "DeviceIdleLogoutWarningDuration": {
2270 "DeviceLoginScreenSaverId": {
2273 "DeviceLoginScreenSaverTimeout": {
2276 "DeviceStartUpUrls": {
2282 "DeviceAutoUpdateDisabled": {
2285 "DeviceAutoUpdateP2PEnabled": {
2288 "DeviceTargetVersionPrefix": {
2291 "DeviceUpdateScatterFactor": {
2294 "DeviceUpdateAllowedConnectionTypes": {
2297 "DeviceUpdateHttpDownloadsEnabled": {
2300 "ReportDeviceLocation": {
2306 "SystemUse24HourClock": {
2309 "DeviceLocalAccounts": {
2312 "DeviceLocalAccountAutoLoginId": {
2315 "DeviceLocalAccountAutoLoginDelay": {
2318 "DeviceLocalAccountAutoLoginBailoutEnabled": {
2321 "DeviceLocalAccountPromptForNetworkWhenOffline": {
2324 "DeviceBlockDevmode": {
2327 "DeviceLoginScreenPowerManagement": {
2330 "DeviceAllowRedeemChromeOsRegistrationOffers": {
2333 "DeviceStartUpFlags": {
2336 "DeviceVariationsRestrictParameter" : {
2339 "DeviceLoginScreenDefaultLargeCursorEnabled" : {
2342 "DeviceLoginScreenDefaultSpokenFeedbackEnabled" : {
2345 "DeviceLoginScreenDefaultHighContrastEnabled" : {
2348 "DeviceLoginScreenDefaultScreenMagnifierType" : {
2351 "DeviceLoginScreenDefaultVirtualKeyboardEnabled" : {
2357 "RebootAfterUpdate": {
2360 "AttestationEnabledForDevice": {
2363 "AttestationForContentProtectionEnabled": {
2366 "SupervisedUsersEnabled": {
2369 "SupervisedUserCreationEnabled": {
2372 "AutoCleanUpStrategy": {
2375 "DeviceTransferSAMLCookies": {
2378 "----- Chrome Frame policies -------------------------------------------": {},
2380 "ChromeFrameRendererSettings": {
2383 "RenderInChromeFrameList": {
2386 "RenderInHostList": {
2389 "ChromeFrameContentTypes": {
2395 "AdditionalLaunchParameters": {
2398 "SuppressChromeFrameTurndownPrompt": {
2401 "SkipMetadataCheck": {