blob: b3e2ba7037689e96c07fc6d9755ef3669dc38ba3 [file] [log] [blame]
{
"-- Template --": {
"intro": "This file is interpreted by chrome/browser/policy/policy_prefs_browsertest.cc",
"intro": "Tests that policies map to prefs properly and whether the corresponding Chrome settings UI behaves properly, e.g. if a policy is managed, the UI should be readonly and an icon with a properly worded tooltip should show up.",
"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.",
"intro": "To run tests from this file use 'browser_tests --gtest_filter=*PolicyPrefsTest*' command.",
"os": [
"List of operating systems that support this policy. Valid values:",
"win",
"linux",
"mac",
"chromeos",
"android",
"Defaults to empty if not specified."
],
"official_only": "Whether this policy exists in official builds only. Defaults to |false| if not specified.",
"can_be_recommended": "Whether a recommended value may be set for the policy. Defaults to |false| if not specified.",
"note": "If the policy affects any preferences, the following array should be specified with one entry per such preference.",
"policy_pref_mapping_tests": [
{
"policies": "A policy dictionary that should affect |prefs| when set as mandatory or recommended policy.",
"required_preprocessor_macros": [
"List of preprocessor macros that must be defined for the test to make sense. Macros are mapped into strings by PreprocessorMacroChecker in policy_prefs_browsertest.cc. If a test depends on a new macro, please add it there and to this list. Currently supported macros:",
"USE_CUPS"
],
"prefs": {
"${pref}": {
"value": "The value that |pref| should take on.",
"expect_default": "Whether or not the pref value should be the default one.",
"location": "The location where the pref is registered, possible values are ['user_profile', 'signin_profile', 'local_state']. Defaults to 'user_profile' if not specified.",
"check_for_mandatory": "Should the preference be tested when a mandatory value is set for the policy? Defaults to |true| if not specified.",
"check_for_recommended": "Should the preference be tested when a recommended value is set for the policy? Defaults to |true| if not specified."
}
},
"indicator_tests": [
{
"pref": "The affected preference's name.",
"test_url": "The URL to navigate to in order to test the indicators. Defaults to |chrome://extensions-frame/| if not specified.",
"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).",
"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]'.",
"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).",
"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)."
}
]
}
]
},
"OverrideSecurityRestrictionsOnInsecureOrigin": {
"os": ["win", "linux", "mac", "android", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"OverrideSecurityRestrictionsOnInsecureOrigin": [
"http://example.com/",
"*.example.com"
]
},
"prefs": { "unsafely_treat_insecure_origin_as_secure": { "location": "local_state" } }
}
]
},
"UnsafelyTreatInsecureOriginAsSecure": {
"note": "This policy is deprecated.",
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"UnsafelyTreatInsecureOriginAsSecure": [
"http://example.com/",
"*.example.com"
]
},
"prefs": { "unsafely_treat_insecure_origin_as_secure": { "location": "local_state" } }
}
]
},
"HomepageLocation": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "HomepageLocation": "http://chromium.org" },
"prefs": { "homepage": {} }
}
]
},
"HomepageIsNewTabPage": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "HomepageIsNewTabPage": true }
}
]
},
"NewTabPageLocation": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "NewTabPageLocation": "http://.org" },
"prefs": { "newtab_page_location_override": {} }
}
]
},
"DefaultBrowserSettingEnabled": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultBrowserSettingEnabled": true },
"prefs": { "browser.default_browser_setting_enabled": { "location": "local_state" } }
}
]
},
"ApplicationLocaleValue": {
"os": ["win"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "ApplicationLocaleValue": "fr" },
"prefs": { "intl.app_locale": { "location": "local_state" } }
}
]
},
"AlternateErrorPagesEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "AlternateErrorPagesEnabled": false },
"prefs": { "alternate_error_pages.enabled": {} }
}
]
},
"SearchSuggestEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "SearchSuggestEnabled": false },
"prefs": { "search.suggest_enabled": {} }
}
]
},
"DnsPrefetchingEnabled": {
"note": "This policy has been removed. See https://bugs.chromium.org/p/chromium/issues/detail?id=624095"
},
"DnsOverHttpsMode": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "DnsOverHttpsMode": "off" },
"prefs": { "dns_over_https.mode": { "location": "local_state" } }
}
]
},
"DnsOverHttpsTemplates": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DnsOverHttpsMode": "automatic",
"DnsOverHttpsTemplates": "https://cloudflare-dns.com/dns-query https://dns.quad9.net/dns-query{?dns}"
},
"prefs": { "dns_over_https.templates": { "location": "local_state" } }
}
]
},
"NetworkPredictionOptions": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "NetworkPredictionOptions": 2 },
"prefs": { "net.network_prediction_options": {} }
}
]
},
"DisableSpdy": {
"note": "This policy has been removed. See https://bugs.chromium.org/p/chromium/issues/detail?id=624095"
},
"QuicAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [{ "policies": { "QuicAllowed": true } }]
},
"DisabledSchemes": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DisabledSchemes": ["file"] },
"prefs": { "policy.url_blacklist": {} }
}
]
},
"Http09OnNonDefaultPortsEnabled": {},
"JavascriptEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "JavascriptEnabled": false },
"prefs": { "profile.managed_default_content_settings.javascript": {}},
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.javascript",
"selector": "[content-setting=javascript]",
"value": "block"
}
]
}
]
},
"IncognitoEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "IncognitoEnabled": false },
"prefs": { "incognito.mode_availability": {} }
}
]
},
"IncognitoModeAvailability": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "IncognitoModeAvailability": 1 },
"prefs": { "incognito.mode_availability": {} }
}
]
},
"SavingBrowserHistoryDisabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SavingBrowserHistoryDisabled": true },
"prefs": { "history.saving_disabled": {} }
}
]
},
"AllowDeletingBrowserHistory": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AllowDeletingBrowserHistory": false },
"prefs": { "history.deleting_enabled": {} }
}
]
},
"RemoteAccessClientFirewallTraversal": {},
"RemoteAccessClientFirewallTraversal": {},
"RemoteAccessHostClientDomain": {},
"RemoteAccessHostClientDomainList": {},
"RemoteAccessHostFirewallTraversal": {},
"RemoteAccessHostRequireTwoFactor": {},
"RemoteAccessHostDomain": {},
"RemoteAccessHostDomainList": {},
"RemoteAccessHostTalkGadgetPrefix": {},
"RemoteAccessHostRequireCurtain": {},
"RemoteAccessHostAllowClientPairing": {},
"RemoteAccessHostAllowGnubbyAuth": {},
"RemoteAccessHostAllowRelayedConnection": {},
"RemoteAccessHostUdpPortRange": {},
"RemoteAccessHostMatchUsername": {},
"RemoteAccessHostTokenUrl": {},
"RemoteAccessHostTokenValidationUrl": {},
"RemoteAccessHostTokenValidationCertificateIssuer": {},
"RemoteAccessHostDebugOverridePolicies": {},
"RemoteAccessHostAllowUiAccessForRemoteAssistance": {},
"RemoteAccessHostAllowFileTransfer": {},
"RemoteAccessHostEnableUserInterface": {},
"PrintingEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintingEnabled": false },
"prefs": { "printing.enabled": {} }
}
]
},
"PrintHeaderFooter": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintHeaderFooter": true },
"prefs": { "printing.print_header_footer": {} }
}
]
},
"PrintRasterizationMode": {
"os": ["win"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintRasterizationMode": 1 },
"prefs": { "printing.rasterization_mode": {} }
}
]
},
"PrinterTypeDenyList": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrinterTypeDenyList": [ "value1" ]},
"prefs": { "printing.printer_type_deny_list": {} }
}
]
},
"CloudPrintProxyEnabled": {
"os": [],
"policy_pref_mapping_tests": [
{
"policies": { "CloudPrintProxyEnabled": true },
"prefs": { "cloud_print.enabled": {} }
}
]
},
"PrintingAllowedColorModes": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintingAllowedColorModes": "monochrome" },
"prefs": { "printing.allowed_color_modes": {} }
}
]
},
"PrintingAllowedDuplexModes": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintingAllowedDuplexModes": "duplex" },
"prefs": { "printing.allowed_duplex_modes": {} }
}
]
},
"PrintingAllowedPinModes": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintingAllowedPinModes": "pin" },
"prefs": { "printing.allowed_pin_modes": {} }
}
]
},
"PrintingAllowedBackgroundGraphicsModes": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintingAllowedBackgroundGraphicsModes": "enabled" },
"prefs": { "printing.allowed_background_graphics_modes": {} }
}
]
},
"PrintingColorDefault": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintingColorDefault": "monochrome" },
"prefs": { "printing.color_default": {} }
}
]
},
"PrintingDuplexDefault": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintingDuplexDefault": "long-edge" },
"prefs": { "printing.duplex_default": {} }
}
]
},
"PrintingPinDefault": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintingPinDefault": "pin" },
"prefs": { "printing.pin_default": {} }
}
]
},
"PrintingBackgroundGraphicsDefault": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintingBackgroundGraphicsDefault": "enabled" },
"prefs": { "printing.background_graphics_default": {} }
}
]
},
"PrintingPaperSizeDefault": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PrintingPaperSizeDefault": {
"name": "custom",
"custom_size": {
"width": 210000,
"height": 297000
}
}
},
"prefs": { "printing.paper_size_default": {} }
}
]
},
"PrintingSendUsernameAndFilenameEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintingSendUsernameAndFilenameEnabled": true },
"prefs": { "printing.send_username_and_filename_enabled": {} }
}
]
},
"PrintingMaxSheetsAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"PrintingMaxSheetsAllowed": 10},
"prefs": { "printing.max_sheets_allowed": {} }
}
]
},
"PrintJobHistoryExpirationPeriod": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"PrintJobHistoryExpirationPeriod": 90},
"prefs": { "printing.print_job_history_expiration_period": {} }
}
]
},
"DeletePrintJobHistoryAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"DeletePrintJobHistoryAllowed": false},
"prefs": { "printing.delete_print_job_history_allowed": {} }
}
]
},
"PrintingAPIExtensionsWhitelist": {
"note": "This policy is deprecated, see http://crbug.com/1119444.",
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"required_preprocessor_macros": [ "USE_CUPS" ],
"policies": { "PrintingAPIExtensionsWhitelist": [ "value1" ]},
"prefs": { "printing.printing_api_extensions_whitelist": {} }
}
]
},
"PrintingAPIExtensionsAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"required_preprocessor_macros": [ "USE_CUPS" ],
"policies": { "PrintingAPIExtensionsAllowlist": [ "value1" ]},
"prefs": { "printing.printing_api_extensions_whitelist": {} }
}
]
},
"CloudPrintSubmitEnabled": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": {"CloudPrintSubmitEnabled": false},
"prefs": { "cloud_print.submit_enabled": {} }
}
]
},
"CloudPrintWarningsSuppressed": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {"CloudPrintWarningsSuppressed": true},
"prefs": { "cloud_print.deprecation_warnings_suppressed": {} }
}
]
},
"ExternalPrintServers": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ExternalPrintServers": {
"id": "id123",
"url": "https://example.com/policyfile",
"hash": "deadbeefdeadbeefdeadbeef"
}
}
}
]
},
"ExternalPrintServersWhitelist": {
"note": "This policy is deprecated, see http://crbug.com/1098046.",
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ExternalPrintServersWhitelist": ["id4", "id7", "id10"]},
"prefs": { "native_printing.external_print_servers_whitelist": {} }
}
]
},
"ExternalPrintServersAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ExternalPrintServersAllowlist": ["id4", "id7", "id10"]},
"prefs": { "native_printing.external_print_servers_whitelist": {} }
}
]
},
"AllowNativeNotifications" : {
"os": ["linux"],
"policy_pref_mapping_tests": [
{
"policies": { "AllowNativeNotifications": true },
"prefs": { "native_notifications.allowed": {} }
}
]
},
"NativePrinters": {
"note": "This policy is deprecated by 'Printers' policy. See http://crbug.com/1113362.",
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NativePrinters": [
{
"display_name": "Break Room",
"description": "The blue one",
"manufacturer": "PrtrMfgr",
"model": "MegaLazer",
"uri": "ipps://192.168.2.14",
"uuid": "aaaa-aaaa-eeee-eeee-1234",
"ppd_resource": {
"effective_manufacturer": "Printers, Ink",
"effective_model": "LaserMaster 2100"
}
}
]
},
"prefs": { "native_printing.recommended_printers": {} }
}
]
},
"Printers": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"Printers": [
{
"display_name": "Break Room",
"description": "The blue one",
"manufacturer": "PrtrMfgr",
"model": "MegaLazer",
"uri": "ipps://192.168.2.14",
"uuid": "aaaa-aaaa-eeee-eeee-1234",
"ppd_resource": {
"effective_manufacturer": "Printers, Ink",
"effective_model": "LaserMaster 2100"
}
}
]
},
"prefs": { "native_printing.recommended_printers": {} }
}
]
},
"NativePrintersBulkConfiguration": {
"note": "This policy is deprecated, see http://crbug.com/1113366.",
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NativePrintersBulkConfiguration": {
"url": "https://example.com/policyfile",
"hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
}
}
]
},
"PrintersBulkConfiguration": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PrintersBulkConfiguration": {
"url": "https://example.com/policyfile",
"hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
}
}
]
},
"NativePrintersBulkAccessMode": {
"note": "This policy is deprecated, see http://crbug.com/1113370.",
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "NativePrintersBulkAccessMode": 1 },
"prefs": { "native_printing.recommended_printers_access_mode": {} }
}
]
},
"PrintersBulkAccessMode": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintersBulkAccessMode": 1 },
"prefs": { "native_printing.recommended_printers_access_mode": {} }
}
]
},
"NativePrintersBulkBlacklist": {
"note": "This policy is deprecated, see http://crbug.com/1098049.",
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "NativePrintersBulkBlacklist": ["id4", "id7", "id10"] },
"prefs": { "native_printing.recommended_printers_blacklist": {} }
}
]
},
"PrintersBulkBlocklist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintersBulkBlocklist": ["id4", "id7", "id10"] },
"prefs": { "native_printing.recommended_printers_blacklist": {} }
}
]
},
"NativePrintersBulkWhitelist": {
"note": "This policy is deprecated, see http://crbug.com/1098047.",
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "NativePrintersBulkWhitelist": ["id4", "id7", "id10"] },
"prefs": { "native_printing.recommended_printers_whitelist": {} }
}
]
},
"PrintersBulkAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrintersBulkAllowlist": ["id4", "id7", "id10"] },
"prefs": { "native_printing.recommended_printers_whitelist": {} }
}
]
},
"UserNativePrintersAllowed": {
"note": "This policy is deprecated, see http://crbug.com/1113371.",
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "UserNativePrintersAllowed": true },
"prefs": { "native_printing.user_native_printers_allowed": {} }
}
]
},
"UserPrintersAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "UserPrintersAllowed": true },
"prefs": { "native_printing.user_native_printers_allowed": {} }
}
]
},
"LocalDiscoveryEnabled" : {
"note": "This policy is deprecated."
},
"SafeBrowsingEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "SafeBrowsingEnabled": false },
"prefs": { "safebrowsing.enabled": {} }
}
]
},
"SafeBrowsingProtectionLevel": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "SafeBrowsingProtectionLevel": 2 },
"prefs": {
"safebrowsing.enabled": { "value": true },
"safebrowsing.enhanced": { "value": true }
}
}
]
},
"ForceSafeSearch": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "ForceSafeSearch": true }
}
]
},
"ForceGoogleSafeSearch": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "ForceGoogleSafeSearch": true },
"prefs": { "settings.force_google_safesearch": {} }
}
]
},
"ForceLegacyDefaultReferrerPolicy": {
"note": "This policy is deprecated. This test tests its migration path."
},
"ForceYouTubeSafetyMode": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "ForceYouTubeSafetyMode": true }
}
]
},
"ForceYouTubeRestrict": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "ForceYouTubeRestrict": 1 },
"prefs": { "settings.force_youtube_restrict": {} }
}
]
},
"MetricsReportingEnabled": {
"os": ["win", "mac", "linux"],
"official_only": true,
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "MetricsReportingEnabled": false },
"prefs": { "user_experience_metrics.reporting_enabled": { "location": "local_state" } },
"indicator_tests": [
{
"pref": "user_experience_metrics.reporting_enabled",
"selector": "#metrics-reporting-disabled-icon"
}
]
}
]
},
"PasswordManagerEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "PasswordManagerEnabled": false },
"prefs": { "credentials_enable_service": {} }
}
]
},
"PasswordManagerAllowShowPasswords": {
"note": "This policy is retired, see http://crbug.com/598698."
},
"PasswordLeakDetectionEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "PasswordLeakDetectionEnabled": false },
"prefs": { "profile.password_manager_leak_detection": {} }
}
]
},
"ContextualSearchEnabled": {
"os": [
"android"
]
},
"AutoFillEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "AutoFillEnabled": false },
"prefs": { "autofill.enabled": {} }
}
]
},
"AutofillAddressEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "AutofillAddressEnabled": false },
"prefs": { "autofill.profile_enabled": {} }
}
]
},
"AutofillCreditCardEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "AutofillCreditCardEnabled": false },
"prefs": { "autofill.credit_card_enabled": {} }
}
]
},
"DisabledPlugins.0": {
"note": "This policy is deprecated. This test tests its migration path."
},
"DisabledPlugins.1": {
"note": "This policy is deprecated. This test tests its migration path."
},
"EnabledPlugins.0": {
"note": "This policy is deprecated. This test tests its migration path."
},
"EnabledPlugins.1": {
"note": "This policy is deprecated. This test tests its migration path."
},
"DisabledPluginsExceptions": {
"note": "This policy is deprecated it doesn't map to a pref value anymore."
},
"AlwaysOpenPdfExternally": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "AlwaysOpenPdfExternally": true },
"prefs": { "plugins.always_open_pdf_externally": {} }
}
]
},
"DisablePluginFinder": {
"note": "This policy is not in use anymore since Chrome 65."
},
"SyncDisabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "SyncDisabled": true },
"prefs": { "sync.managed": {} }
}
]
},
"SyncTypesListDisabled": {
"os": ["win", "linux", "mac", "android", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SyncTypesListDisabled": ["preferences", "bookmarks"] },
"prefs": {
"sync.preferences": { "value": false },
"sync.bookmarks": { "value": false}
}
}
]
},
"SigninAllowed": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "SigninAllowed": true },
"prefs": { "signin.allowed_on_next_startup": {} }
}
]
},
"EnableDeprecatedWebBasedSignin": {
"note": "This policy has been removed in Chrome 42."
},
"UserDataDir": {
"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."
},
"DiskCacheDir": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": { "DiskCacheDir": "${user_home}/test-cache" },
"prefs": { "browser.disk_cache_dir": { "location": "local_state" } }
}
]
},
"DiskCacheSize": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": { "DiskCacheSize": 100 },
"prefs": { "browser.disk_cache_size": { "location": "local_state" } }
}
]
},
"MediaCacheSize": {
"note": "This policy has been removed, see https://crbug.com/974387."
},
"DownloadRestrictions": {
"os": ["win", "mac", "linux", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "DownloadRestrictions": 3 },
"prefs": { "download_restrictions": {} }
}
]
},
"SafeBrowsingForTrustedSourcesEnabled": {
"os": ["win"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "SafeBrowsingForTrustedSourcesEnabled": false },
"prefs": { "safebrowsing_for_trusted_sources_enabled": {} }
}
]
},
"DownloadDirectory.0": {
"os": ["win", "mac", "linux", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "DownloadDirectory": "${user_home}/test-downloads" },
"prefs": {
"download.default_directory": {},
"download.prompt_for_download": { "check_for_recommended": false }
}
}
]
},
"DownloadDirectory.1": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DownloadDirectory": "${google_drive}/downloads" },
"prefs": { "gdata.disabled": {} }
}
]
},
"AutoOpenFileTypes" : {
"os": ["win", "mac", "linux", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AutoOpenFileTypes": ["exe", ".txt", "pdf"] },
"prefs": {
"download.extensions_to_open_by_policy": {"value" : ["exe", "pdf"] }
}
}
]
},
"AutoOpenAllowedForURLs": {
"os": ["win", "mac", "linux", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AutoOpenAllowedForURLs": ["google.com"] },
"prefs": {
"download.allowed_urls_for_open_by_policy": {"value" : ["google.com"] }
}
}
]
},
"ClearSiteDataOnExit": {
"note": "This policy is retired, see http://crbug.com/133291."
},
"CaptivePortalAuthenticationIgnoresProxy": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "CaptivePortalAuthenticationIgnoresProxy": true },
"prefs": { "proxy.captive_portal_ignores_proxy": {} }
}
]
},
"ProxyMode": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": { "ProxyMode": "direct" },
"prefs": { "proxy": {} }
}
]
},
"ProxyServerMode": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": { "ProxyServerMode": 0 },
"prefs": { "proxy": {} }
}
]
},
"ProxyServer": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" },
"prefs": { "proxy": {} }
}
]
},
"ProxyPacUrl": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" },
"prefs": { "proxy": {} }
}
]
},
"ProxyBypassList": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" },
"prefs": { "proxy": {} }
}
]
},
"ProxySettings": {
"os": ["linux", "win"],
"policy_pref_mapping_tests": [
{
"policies": { "ProxySettings": { "ProxyMode": "direct" } },
"prefs": { "proxy": {} }
}
]
},
"DisableSSLRecordSplitting": {
"note": "This policy is retired, see https://bugs.chromium.org/p/chromium/issues/detail?id=485097#c17."
},
"EnableOnlineRevocationChecks": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "EnableOnlineRevocationChecks": true },
"prefs": { "ssl.rev_checking.enabled": { "location": "local_state" } }
}
]
},
"RequireOnlineRevocationChecksForLocalAnchors": {
"os": ["win", "linux", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"RequireOnlineRevocationChecksForLocalAnchors": true
},
"prefs": {
"ssl.rev_checking.required_for_local_anchors": {
"location": "local_state"
}
}
}
]
},
"EnableSha1ForLocalAnchors": {
"note": "This policy is deprecated and removed since Chrome 72."
},
"EnableCommonNameFallbackForLocalAnchors": {
"note": "This policy is deprecated and removed since Chrome 66."
},
"EnableSymantecLegacyInfrastructure": {
"note": "This policy is deprecated and removed since Chrome 75."
},
"BuiltinCertificateVerifierEnabled": {
"os": ["mac" ],
"policy_pref_mapping_tests": [
{
"policies": { "BuiltinCertificateVerifierEnabled": true },
"prefs": { "builtin_certificate_verifier_enabled": { "location": "local_state" } }
}
]
},
"AuthSchemes": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "AuthSchemes": "AuthSchemes" },
"prefs": { "auth.schemes": { "location": "local_state" } }
}
]
},
"DisableAuthNegotiateCnameLookup": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "DisableAuthNegotiateCnameLookup": true },
"prefs": { "auth.disable_negotiate_cname_lookup": { "location": "local_state" } }
}
]
},
"EnableAuthNegotiatePort": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "EnableAuthNegotiatePort": true },
"prefs": { "auth.enable_negotiate_port": { "location": "local_state" } }
}
]
},
"BasicAuthOverHttpEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "BasicAuthOverHttpEnabled": false },
"prefs": { "auth.basic_over_http_enabled": { "location": "local_state" } }
}
]
},
"AuthServerWhitelist": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "AuthServerWhitelist": "localhost" },
"prefs": { "auth.server_allowlist": { "location": "local_state" } }
}
]
},
"AuthServerAllowlist": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "AuthServerAllowlist": "localhost" },
"prefs": { "auth.server_allowlist": { "location": "local_state" } }
}
]
},
"AuthNegotiateDelegateWhitelist": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "AuthNegotiateDelegateWhitelist": "localhost" },
"prefs": { "auth.negotiate_delegate_whitelist": { "location": "local_state" } }
}
]
},
"AuthNegotiateDelegateAllowlist": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "AuthNegotiateDelegateAllowlist": "localhost" },
"prefs": { "auth.negotiate_delegate_whitelist": { "location": "local_state" } }
}
]
},
"AuthNegotiateDelegateByKdcPolicy": {
"os": ["linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AuthNegotiateDelegateByKdcPolicy": true },
"prefs": { "auth.negotiate_delegate_by_kdc_policy": { "location": "local_state" } }
}
]
},
"GSSAPILibraryName": {
"os": ["linux"],
"policy_pref_mapping_tests": [
{
"policies": { "GSSAPILibraryName": "libwhatever.so" },
"prefs": { "auth.gssapi_library_name": { "location": "local_state" } }
}
]
},
"AuthAndroidNegotiateAccountType": {
"os": ["android"],
"policy_pref_mapping_tests": [
{
"policies": { "AuthAndroidNegotiateAccountType": "com.example.spnego" },
"prefs": { "auth.android_negotiate_account_type": { "location": "local_state" } }
}
]
},
"AllowCrossOriginAuthPrompt": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": { "AllowCrossOriginAuthPrompt": true },
"prefs": { "auth.allow_cross_origin_prompt": { "location": "local_state" } }
}
]
},
"NtlmV2Enabled": {
"os": ["linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "NtlmV2Enabled": true },
"prefs": { "auth.ntlm_v2_enabled": { "location": "local_state" } }
}
]
},
"KerberosEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "KerberosEnabled": true },
"prefs": { "kerberos.enabled": { "location": "local_state" } }
}
]
},
"KerberosRememberPasswordEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "KerberosRememberPasswordEnabled": false },
"prefs": { "kerberos.remember_password_enabled": { "location": "local_state" } }
}
]
},
"KerberosAddAccountsAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "KerberosAddAccountsAllowed": false },
"prefs": { "kerberos.add_accounts_allowed": { "location": "local_state" } }
}
]
},
"KerberosAccounts": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"KerberosAccounts": [
{
"principal": "user1@realm",
"password": "password1",
"remember_password": true
},
{
"principal": "${LOGIN_EMAIL}"
},
{
"principal": "${LOGIN_ID}",
"password": "${PASSWORD}",
"krb5conf": [
"line1",
"line2"
]
}
]
},
"prefs": { "kerberos.accounts": { "location": "local_state" } }
}
]
},
"PromptForDownloadLocation": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PromptForDownloadLocation": false },
"prefs": { "download.prompt_for_download": {} }
}
]
},
"IsolateOrigins": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "IsolateOrigins": "" },
"note": "There is a pref behind this setting, but due to the fact that tests override the default with a command-line flag on some trybots, this setting cannot be verified with the common test."
}
]
},
"SitePerProcess": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SitePerProcess": false },
"note": "There is a pref behind this setting, but due to the fact that tests override the default with a command-line flag on some trybots, this setting cannot be verified with the common test."
}
]
},
"IsolateOriginsAndroid": {
"os": [
"android"
],
"policy_pref_mapping_tests": [
{
"policies": { "IsolateOriginsAndroid": "" },
"note": "There is a pref behind this setting, but due to the fact that tests override the default with a command-line flag on some trybots, this setting cannot be verified with the common test."
}
]
},
"SitePerProcessAndroid": {
"os": ["android"],
"policy_pref_mapping_tests": [
{
"policies": { "SitePerProcessAndroid": false },
"note": "There is a pref behind this setting, but due to the fact that tests override the default with a command-line flag on some trybots, this setting cannot be verified with the common test."
}
]
},
"WebDriverOverridesIncompatiblePolicies": {
"note": "This policy has been removed since Chrome 79."
},
"DefaultDownloadDirectory": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultDownloadDirectory": "${user_home}/test-downloads" },
"can_be_recommended": true,
"prefs": {
"download.default_directory": { "check_for_mandatory": false, "check_for_recommended": true },
"savefile.default_directory": { "check_for_mandatory": false, "check_for_recommended": true }
}
}
]
},
"SpellcheckLanguage": {
"os": ["win", "linux", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SpellcheckLanguage": ["fr"] },
"prefs": { "spellcheck.forced_dictionaries": {} }
}
]
},
"SpellcheckLanguageBlacklist": {
"os": ["win", "linux", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SpellcheckLanguageBlacklist": ["fr"]},
"prefs": { "spellcheck.blacklisted_dictionaries": {} }
}
]
},
"SpellcheckLanguageBlocklist": {
"os": ["win", "linux", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SpellcheckLanguageBlocklist": ["fr"]},
"prefs": { "spellcheck.blacklisted_dictionaries": {} }
}
]
},
"ThirdPartyBlockingEnabled": {
"os": ["win"],
"official_only": true,
"policy_pref_mapping_tests": [
{
"policies": { "ThirdPartyBlockingEnabled": false },
"prefs": { "third_party_blocking_enabled": { "location": "local_state" } }
}
]
},
"SpellcheckEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SpellcheckEnabled": false },
"prefs": { "browser.enable_spellchecking": {} }
}
]
},
"ExtensionAllowInsecureUpdates": {
"note": "Deprecated since Chrome 78."
},
"ExtensionInstallBlacklist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ExtensionInstallBlacklist": ["*"] },
"prefs": { "extensions.install.denylist": {} }
}
]
},
"ExtensionInstallBlocklist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ExtensionInstallBlocklist": ["*"] },
"prefs": { "extensions.install.denylist": {} }
}
]
},
"ExtensionInstallWhitelist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"]},
"prefs": { "extensions.install.allowlist": {} }
}
]
},
"ExtensionInstallAllowlist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ExtensionInstallAllowlist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"]},
"prefs": { "extensions.install.allowlist": {} }
}
]
},
"ExtensionInstallForcelist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
"prefs": { "extensions.install.forcelist": {} }
}
]
},
"ExtensionInstallSources": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
"prefs": { "extensions.allowed_install_sites": {} }
}
]
},
"ExtensionAllowedTypes": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ExtensionAllowedTypes": ["hosted_app"]},
"prefs": { "extensions.allowed_types": {} }
}
]
},
"ExtensionSettings": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ExtensionSettings": {
"abcdefghijklmnopabcdefghijklmnop": {
"installation_mode": "allowed",
"blocked_permissions": [
"history"
],
"toolbar_pin": "force_pinned"
},
"bcdefghijklmnopabcdefghijklmnopa": {
"installation_mode": "force_installed",
"update_url": "https://clients2.google.com/service/update2/crx",
"allowed_permissions": ["downloads"]
},
"*": {
"installation_mode": "blocked",
"blocked_permissions": ["downloads", "bookmarks", "u2fDevices"],
"install_sources": [
"http://company-intranet/chromeapps"
],
"allowed_types": ["hosted_app"]
}
}
},
"prefs": { "extensions.management": {} }
}
]
},
"BlockExternalExtensions": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "BlockExternalExtensions": true },
"prefs": { "extensions.block_external_extensions": {} }
}
]
},
"ShowHomeButton": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "ShowHomeButton": true },
"prefs": { "browser.show_home_button": {} }
}
]
},
"DeveloperToolsDisabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DeveloperToolsDisabled": true },
"prefs": { "devtools.availability": { "value": 2 }},
"indicator_tests": [{ "pref": "devtools.availability", "test_url": "chrome://extensions-frame/", "selector": "#dev-toggle-disabled-by-policy-indicator", "value": 2 }]
}
]
},
"DeveloperToolsAvailability": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DeveloperToolsAvailability": 2 },
"prefs": { "devtools.availability": { "value": 2 }},
"indicator_tests": [{ "pref": "devtools.availability", "test_url": "chrome://extensions-frame/", "selector": "#dev-toggle-disabled-by-policy-indicator", "value": 2 }]
}
]
},
"RestoreOnStartup": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "RestoreOnStartup": 1 },
"prefs": { "session.restore_on_startup": { "value": 1 } }
},
{
"policies": { "RestoreOnStartup": 2 },
"prefs": { "session.restore_on_startup": { "value": 2 } }
},
{
"policies": { "RestoreOnStartup": 3 },
"prefs": { "session.restore_on_startup": { "value": 3 } }
},
{
"policies": { "RestoreOnStartup": 4 },
"prefs": { "session.restore_on_startup": { "value": 4 } }
},
{
"policies": { "RestoreOnStartup": 5 },
"prefs": { "session.restore_on_startup": { "value": 5 } }
}
]
},
"RestoreOnStartupURLs": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "RestoreOnStartupURLs": ["chromium.org"]},
"prefs": { "session.startup_urls": {} }
}
]
},
"BlockThirdPartyCookies": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "BlockThirdPartyCookies": false },
"prefs": { "profile.cookie_controls_mode": { "value": 0} }
},
{
"policies": { "BlockThirdPartyCookies": true },
"prefs": { "profile.cookie_controls_mode": { "value": 1} }
}
]
},
"DefaultSearchProviderContextMenuAccessAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderContextMenuAccessAllowed": true
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultSearchProviderEnabled": false },
"prefs": { "default_search_provider_data.template_url_data": {} }
},
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google"
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderName": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderName": "google.com"
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderKeyword": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}"
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderSearchURL": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google"
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderSuggestURL": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderSuggestURL": "http://www.google.com/suggest?q={searchTerms}"
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderInstantURL": {
"note": "Deprecated since Chrome 63. See https://crbug.com/476079"
},
"DefaultSearchProviderNewTabURL": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderNewTabURL": "http://www.google.com/newtab"
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderIconURL": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderIconURL": "http://www.google.com/favicon.ico"
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderEncodings": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderEncodings": [
"UTF-8"
]
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderAlternateURLs": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderAlternateURLs": [
"http://www.google.com/#q={searchTerms}",
"http://www.google.com/search#q={searchTerms}"
]
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderSearchTermsReplacementKey": {
"note": "Deprecated since Chrome 63. See https://crbug.com/476079"
},
"DefaultSearchProviderImageURL": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderImageURL": "http://www.google.com/searchbyimage/upload"
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderSearchURLPostParams": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderSearchURLPostParams": ""
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultSearchProviderSuggestURLPostParams": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderSuggestURLPostParams": ""
},
"prefs": { "default_search_provider_data.template_url_data": {}}
}
]
},
"DefaultSearchProviderInstantURLPostParams": {
"note": "Deprecated since Chrome 63. See https://crbug.com/476079"
},
"DefaultSearchProviderImageURLPostParams": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderSearchURL": "http://www.google.com/?q={searchTerms}",
"DefaultSearchProviderKeyword": "google",
"DefaultSearchProviderImageURLPostParams": "image_content={imageThumbnail},image_url={imageURL},sbisrc={imageSearchSource}"
},
"prefs": { "default_search_provider_data.template_url_data": {} }
}
]
},
"DefaultCookiesSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultCookiesSetting": 1 },
"prefs": { "profile.managed_default_content_settings.cookies": { "value": 1 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.cookies", "selector": "[content-setting=cookies]", "value": 1 }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultCookiesSetting": 2 },
"prefs": { "profile.managed_default_content_settings.cookies": { "value": 2 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.cookies", "selector": "[content-setting=cookies]", "value": "block" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultCookiesSetting": 3 },
"prefs": { "profile.managed_default_content_settings.cookies": { "value": 3 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.cookies", "selector": "[content-setting=cookies]", "value": "session_only" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"DefaultImagesSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultImagesSetting": 1 },
"prefs": { "profile.managed_default_content_settings.images": { "value": 1 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.images", "selector": "[content-setting=images]", "value": "allow" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultImagesSetting": 2 },
"prefs": { "profile.managed_default_content_settings.images": { "value": 2 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.images", "selector": "[content-setting=images]", "value": "block" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"DefaultInsecureContentSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultInsecureContentSetting": 2 },
"prefs": { "profile.managed_default_content_settings.insecure_content": { "value": 2 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.insecure_content", "selector": "[content-setting=mixed-script]", "value": "block" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultInsecureContentSetting": 3 },
"prefs": { "profile.managed_default_content_settings.insecure_content": { "value": 3 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.insecure_content", "selector": "[content-setting=mixed-script]", "value": "ask" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"DefaultJavaScriptSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultJavaScriptSetting": 1 },
"prefs": { "profile.managed_default_content_settings.javascript": { "value": 1 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.javascript", "selector": "[content-setting=javascript]", "value": "allow" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultJavaScriptSetting": 2 },
"prefs": { "profile.managed_default_content_settings.javascript": { "value": 2 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.javascript", "selector": "[content-setting=javascript]", "value": "block" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"DefaultKeygenSetting": {
"note": "This policy is retired, see https://crbug.com/568184."
},
"LegacySameSiteCookieBehaviorEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "LegacySameSiteCookieBehaviorEnabled": 1 },
"prefs": { "profile.managed_default_content_settings.legacy_cookie_access": {} }
}
]
},
"LegacySameSiteCookieBehaviorEnabledForDomainList": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "LegacySameSiteCookieBehaviorEnabledForDomainList": ["[*.]google.com"] },
"prefs": { "profile.managed_legacy_cookie_access_allowed_for_domains": {} }
}
]
},
"InsecurePrivateNetworkRequestsAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {},
"prefs": { "profile.managed_default_content_settings.insecure_private_network": { "expect_default": true } }
},
{
"policies": { "InsecurePrivateNetworkRequestsAllowed": false },
"prefs": { "profile.managed_default_content_settings.insecure_private_network": { "value": 2 } }
},
{
"policies": { "InsecurePrivateNetworkRequestsAllowed": true },
"prefs": { "profile.managed_default_content_settings.insecure_private_network": { "value": 1 } }
}
]
},
"InsecurePrivateNetworkRequestsAllowedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "InsecurePrivateNetworkRequestsAllowedForUrls": ["[*.]google.com", "http://example.com:1234"] },
"prefs": {
"profile.managed_insecure_private_network_allowed_for_urls": {
"value": ["[*.]google.com", "http://example.com:1234"]
}
}
}
]
},
"DefaultPluginsSetting": {
"note": "Deprecated since Chrome 88. See https://crbug.com/1083496"
},
"DefaultPopupsSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultPopupsSetting": 1 },
"prefs": { "profile.managed_default_content_settings.popups": { "value": 1 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.popups", "selector": "[content-setting=popups]", "value": "allow" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultPopupsSetting": 2 },
"prefs": { "profile.managed_default_content_settings.popups": {} },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.popups","selector": "[content-setting=popups]", "value": "block" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"DefaultNotificationsSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultNotificationsSetting": 1 },
"prefs": { "profile.managed_default_content_settings.notifications": { "value": 1 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.notifications", "selector": "[content-setting=notifications]", "value": "allow" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultNotificationsSetting": 2 },
"prefs": { "profile.managed_default_content_settings.notifications": { "value": 2 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.notifications", "selector": "[content-setting=notifications]", "value": "block" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultNotificationsSetting": 3 },
"prefs": { "profile.managed_default_content_settings.notifications": { "value": 3 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.notifications", "selector": "[content-setting=notifications]", "value": "ask" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"DefaultGeolocationSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultGeolocationSetting": 1 },
"prefs": { "profile.managed_default_content_settings.geolocation": { "value": 1 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.geolocation", "selector": "[content-setting=location]","value": "allow"}],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultGeolocationSetting": 2 },
"prefs": { "profile.managed_default_content_settings.geolocation": { "value": 2 } },
"indicator_tests": [{"pref": "profile.managed_default_content_settings.geolocation", "selector": "[content-setting=location]", "value": "block" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultGeolocationSetting": 3 },
"prefs": { "profile.managed_default_content_settings.geolocation": { "value": 3 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.geolocation", "selector": "[content-setting=location]", "value": "ask" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"DefaultMediaStreamSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultMediaStreamSetting": 2 },
"prefs": { "profile.managed_default_content_settings.media_stream": { "value": 2 } },
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.media_stream",
"selector": "[content-setting=media-stream-mic],[content-setting=media-stream-camera]",
"value": "block"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultMediaStreamSetting": 3 },
"prefs": { "profile.managed_default_content_settings.media_stream": { "value": 3 } },
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.media_stream",
"selector": "[content-setting=media-stream-mic],[content-setting=media-stream-camera]",
"value": "ask"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"DefaultMediaStreamSetting.OverriddenByAudioCaptureAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AudioCaptureAllowed": false },
"prefs": { "profile.managed_default_content_settings.media_stream": { "value": 0, "expect_default": true } },
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.media_stream",
"selector": "[content-setting=media-stream-mic]",
"value": "block"
}
]
},
{
"policies": { "DefaultMediaStreamSetting": 2, "AudioCaptureAllowed": true },
"prefs": { "profile.managed_default_content_settings.media_stream": { "value": 2 } },
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.media_stream",
"selector": "[content-setting=media-stream-mic]",
"value": "block"
}
]
},
{
"policies": { "DefaultMediaStreamSetting": 3, "AudioCaptureAllowed": true },
"prefs": { "profile.managed_default_content_settings.media_stream": { "value": 3 } },
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.media_stream",
"selector": "[content-setting=media-stream-mic]",
"value": "ask"
}
]
}
]
},
"DefaultMediaStreamSetting.OverriddenByVideoCaptureAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "VideoCaptureAllowed": false },
"prefs": { "profile.managed_default_content_settings.media_stream": { "value": 0, "expect_default": true }},
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.media_stream",
"selector": "[content-setting=media-stream-mic]",
"value": "block"
}
]
},
{
"policies": { "DefaultMediaStreamSetting": 2, "VideoCaptureAllowed": true },
"prefs": { "profile.managed_default_content_settings.media_stream": { "value": 2 } },
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.media_stream",
"selector": "[content-setting=media-stream-mic]",
"value": "block"
}
]
},
{
"policies": { "DefaultMediaStreamSetting": 3, "VideoCaptureAllowed": true },
"prefs": { "profile.managed_default_content_settings.media_stream": { "value": 3 } },
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.media_stream",
"selector": "[content-setting=media-stream-mic]",
"value": "ask"
}
]
}
]
},
"DefaultSensorsSetting": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultSensorsSetting": 1 },
"prefs": { "profile.managed_default_content_settings.sensors": { "value": 1 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.sensors", "selector": "[content-setting=sensors]", "value": "allow" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultSensorsSetting": 2 },
"prefs": { "profile.managed_default_content_settings.sensors": { "value": 2 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.sensors", "selector": "[content-setting=sensors]", "value": "block" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"AudioCaptureAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AudioCaptureAllowed": false },
"prefs": { "hardware.audio_capture_enabled": { "value": false } },
"indicator_tests": [
{
"pref": "hardware.audio_capture_enabled",
"selector": "[content-setting=media-stream-mic][value=block]",
"value": "block"
}
]
}
]
},
"AudioCaptureAllowedUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
"prefs": { "hardware.audio_capture_allowed_urls": {}},
"indicator_tests": [{ "pref": "hardware.audio_capture_allowed_urls", "selector": "[content-exception=media-stream-mic]" }]
}
]
},
"VideoCaptureAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "VideoCaptureAllowed": false },
"prefs": { "hardware.video_capture_enabled": { "value": false }},
"indicator_tests": [
{
"pref": "hardware.video_capture_enabled",
"selector": "[content-setting=media-stream-camera][value=block]",
"value": "block"
}
]
}
]
},
"VideoCaptureAllowedUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
"prefs": { "hardware.video_capture_allowed_urls": {}},
"indicator_tests": [{ "pref": "hardware.video_capture_allowed_urls", "selector": "[content-exception=media-stream-camera]" }]
}
]
},
"ScreenCaptureAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ScreenCaptureAllowed": false },
"prefs": { "hardware.screen_capture_enabled": {} }
}
]
},
"DefaultWebBluetoothGuardSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultWebBluetoothGuardSetting": 2 },
"prefs": { "profile.managed_default_content_settings.web_bluetooth_guard": {} }
}
]
},
"DefaultWebUsbGuardSetting": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultWebUsbGuardSetting": 2 },
"prefs": { "profile.managed_default_content_settings.web_usb_guard": {} }
}
]
},
"DefaultSerialGuardSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultSerialGuardSetting": 2 },
"prefs": { "profile.managed_default_content_settings.serial_guard": { "value": 2 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings_serial_ports", "selector": "[content-setting=serial-ports]", "value": "block" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
},
{
"policies": { "DefaultSerialGuardSetting": 3 },
"prefs": { "profile.managed_default_content_settings.serial_guard": { "value": 3 } },
"indicator_tests": [{ "pref": "profile.managed_default_content_settings.serial_ports", "selector": "[content-setting=serial-ports]", "value": "ask" }],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"AutoSelectCertificateForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"AutoSelectCertificateForUrls": [
"{'pattern':'https://example.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"
]
},
"prefs": { "profile.managed_auto_select_certificate_for_urls": {}},
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"CookiesAllowedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "CookiesAllowedForUrls": ["[*.]google.com"] },
"prefs": { "profile.managed_cookies_allowed_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_cookies_allowed_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
"selector": "[content-exception=cookies]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"CookiesBlockedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "CookiesBlockedForUrls": [ "[*.]google.com" ] },
"prefs": { "profile.managed_cookies_blocked_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_cookies_blocked_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
"selector": "[content-exception=cookies]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"CookiesSessionOnlyForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "CookiesSessionOnlyForUrls": ["[*.]google.com"] },
"prefs": { "profile.managed_cookies_sessiononly_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_cookies_sessiononly_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=cookies]').click();",
"selector": "[content-exception=cookies]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"ImagesAllowedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ImagesAllowedForUrls": ["[*.]google.com"] },
"prefs": { "profile.managed_images_allowed_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_images_allowed_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
"selector": "[content-exception=images]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"ImagesBlockedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ImagesBlockedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_images_blocked_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_images_blocked_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=images]').click();",
"selector": "[content-exception=images]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"InsecureContentAllowedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"InsecureContentAllowedForUrls": ["[*.]google.com"]
},
"prefs": { "profile.managed_insecure_content_allowed_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_insecure_content_allowed_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=mixed-script]').click();",
"selector": "[content-exception=mixed-script]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"InsecureContentBlockedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"InsecureContentBlockedForUrls": ["[*.]google.com"]
},
"prefs": { "profile.managed_insecure_content_blocked_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_insecure_content_blocked_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=mixed-script]').click();",
"selector": "[content-exception=mixed-script]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"JavaScriptAllowedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"JavaScriptAllowedForUrls": ["[*.]google.com"]
},
"prefs": { "profile.managed_javascript_allowed_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_javascript_allowed_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
"selector": "[content-exception=javascript]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"JavaScriptBlockedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "JavaScriptBlockedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_javascript_blocked_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_javascript_blocked_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=javascript]').click();",
"selector": "[content-exception=javascript]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"KeygenAllowedForUrls": {
"note": "This policy is retired, see https://crbug.com/568184."
},
"KeygenBlockedForUrls": {
"note": "This policy is retired, see https://crbug.com/568184."
},
"PluginsAllowedForUrls": {
"note": "Deprecated since Chrome 88. See https://crbug.com/1083496"
},
"PluginsBlockedForUrls": {
"note": "Deprecated since Chrome 88. See https://crbug.com/1083496"
},
"PopupsAllowedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PopupsAllowedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_popups_allowed_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_popups_allowed_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
"selector": "[content-exception=popups]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"PopupsBlockedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PopupsBlockedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_popups_blocked_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_popups_blocked_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=popups]').click();",
"selector": "[content-exception=popups]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"NotificationsAllowedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "NotificationsAllowedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_notifications_allowed_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_notifications_allowed_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
"selector": "[content-exception=notifications]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"NotificationsBlockedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "NotificationsBlockedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_notifications_blocked_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.managed_notifications_blocked_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=notifications]').click();",
"selector": "[content-exception=notifications]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"SensorsAllowedForUrls": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "SensorsAllowedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_sensors_allowed_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.sensors_allowed_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=sensors]').click();",
"selector": "[content-exception=sensors]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"SensorsBlockedForUrls": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "SensorsBlockedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_sensors_blocked_for_urls": {} },
"indicator_tests": [
{
"pref": "profile.sensors_blocked_for_urls",
"test_setup_js": "document.querySelector('button.exceptions-list-button[contentType=sensors]').click();",
"selector": "[content-exception=sensors]"
}
],
"note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"WebUsbAllowDevicesForUrls": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"WebUsbAllowDevicesForUrls": [
{
"devices": [
{
"vendor_id": 1234,
"product_id": 5678
}
],
"urls": [
"https://google.com,https://google.com",
"https://www.youtube.com"
]
}
]
},
"prefs": { "profile.managed_web_usb_allow_devices_for_urls": {} }
}
]
},
"DeviceLoginScreenWebUsbAllowDevicesForUrls": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceLoginScreenWebUsbAllowDevicesForUrls": [
{
"devices": [
{
"vendor_id": 1234,
"product_id": 5678
}
],
"urls": [
"https://google.com",
"https://requesting.com,https://embedded.com"
]
}
]
},
"prefs": {
"profile.managed_web_usb_allow_devices_for_urls": {
"location": "signin_profile"
}
}
}
]
},
"WebUsbAskForUrls": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {"WebUsbAskForUrls": ["[*.].com"]},
"prefs": { "profile.managed_web_usb_ask_for_urls": {}},
"note": "TODO(reillyg): Add indicator tests. TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"WebUsbBlockedForUrls": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {"WebUsbBlockedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_web_usb_blocked_for_urls": {} },
"note": "TODO(reillyg): Add indicator tests. TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"SerialAskForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"SerialAskForUrls": ["[*.].com"]},
"prefs": { "profile.managed_serial_ask_for_urls": {}},
"note": "TODO(reillyg): Add indicator tests. TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"SerialBlockedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"SerialBlockedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_serial_blocked_for_urls": {} },
"note": "TODO(reillyg): Add indicator tests. TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"Disable3DAPIs": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"Disable3DAPIs": true },
"prefs": { "disable_3d_apis": {}}
}
]
},
"InstantEnabled": {},
"TranslateEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {"TranslateEnabled": false},
"prefs": { "translate.enabled": {} }
}
]
},
"AppRecommendationZeroStateEnabled": {
"os:": [
"chromeos"
],
"policy_pref_mapping_tests": [
{
"policies": {"AppRecommendationZeroStateEnabled": false},
"prefs": { "zero_state_app_install_recommendation.enabled": {}}
}
]
},
"AllowOutdatedPlugins": {
"note": "Deprecated since Chrome 88. See https://crbug.com/1083496"
},
"AlwaysAuthorizePlugins": {
"note": "This policy has been removed since Chrome 65."
},
"RunAllFlashInAllowMode": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"RunAllFlashInAllowMode": true},
"prefs": { "plugins.run_all_flash_in_allow_mode": {}}
}
]
},
"BookmarkBarEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {"BookmarkBarEnabled": true},
"prefs": { "bookmark_bar.show_on_all_tabs": {}}
}
]
},
"EditBookmarksEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"EditBookmarksEnabled": false},
"prefs": { "bookmarks.editing_enabled": {}}
}
]
},
"ShowAppsShortcutInBookmarkBar": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {"ShowAppsShortcutInBookmarkBar": false},
"prefs": { "bookmark_bar.show_apps_shortcut": {}}
}
]
},
"AllowFileSelectionDialogs": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": {"AllowFileSelectionDialogs": false},
"prefs": {
"select_file_dialogs.allowed": { "location": "local_state" },
"download.prompt_for_download": {}
}
}
]
},
"SecurityKeyPermitAttestation": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SecurityKeyPermitAttestation": [
"https://example.com",
"example.net"
]
},
"prefs": { "securitykey.permit_attestation": {}}
}
]
},
"ImportBookmarks": {
"os": ["win", "mac", "linux"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {"ImportBookmarks": false},
"prefs": { "import_dialog_bookmarks": {}}
}
]
},
"ImportHistory": {
"os": ["win", "mac", "linux"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {"ImportHistory": false},
"prefs": { "import_dialog_history": {}}
}
]
},
"ImportHomepage": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": {"ImportHomepage": false},
"prefs": { "import_home_page": {}}
}
]
},
"ImportSearchEngine": {
"os": ["win", "mac", "linux"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {"ImportSearchEngine": false},
"prefs": { "import_dialog_search_engine": {}}
}
]
},
"ImportSavedPasswords": {
"os": ["win", "mac", "linux"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {"ImportSavedPasswords": false},
"prefs": { "import_dialog_saved_passwords": {}}
}
]
},
"ImportAutofillFormData": {
"os": ["win", "mac", "linux"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {"ImportAutofillFormData": false},
"prefs": { "import_dialog_autofill_form_data": {}}
}
]
},
"MaxConnectionsPerProxy": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {"MaxConnectionsPerProxy": 16},
"prefs": { "net.max_connections_per_proxy": { "location": "local_state" }}
}
]
},
"HideWebStorePromo": {},
"URLBlacklist": {
"note": "This policy is deprecated, see http://crbug.com/1095230.",
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {"URLBlacklist": ["google.com"]},
"prefs": { "policy.url_blacklist": {}}
}
]
},
"URLBlocklist": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {"URLBlocklist": ["google.com"]},
"prefs": { "policy.url_blacklist": {}}
}
]
},
"URLWhitelist": {
"note": "This policy is deprecated, see http://crbug.com/1095230.",
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {"URLWhitelist": ["google.com"]},
"prefs": { "policy.url_whitelist": {}}
}
]
},
"URLAllowlist": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {"URLAllowlist": ["google.com"]},
"prefs": { "policy.url_whitelist": {}}
}
]
},
"PolicyListMultipleSourceMergeList": {
"note": "This policy has no pref as it is only directly read by the policy system."
},
"PolicyDictionaryMultipleSourceMergeList": {
"note": "This policy has no pref as it is only directly read by the policy system."
},
"EnableExperimentalPolicies":{
"note": "This policy has no pref as it is only directly read by the policy system."
},
"PolicyAtomicGroupsEnabled": {
"note": "This policy has no pref as it is only directly read by the policy system."
},
"EnterpriseWebStoreURL": {
"note": "This policy is retired, see http://crbug.com/178938."
},
"EnterpriseWebStoreName": {
"note": "This policy is retired, see http://crbug.com/178938."
},
"DisablePrintPreview": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": {"DisablePrintPreview": false},
"prefs": { "printing.print_preview_disabled": {}}
}
]
},
"DefaultPrinterSelection": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DefaultPrinterSelection": "{ 'kind': 'local', 'namePattern': '.*' }"
},
"prefs": { "printing.default_destination_selection_rules": {}}
}
]
},
"PrintPreviewUseSystemDefaultPrinter": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": {"PrintPreviewUseSystemDefaultPrinter": false},
"prefs": { "printing.use_system_default_printer": {}}
}
]
},
"BackgroundModeEnabled": {
"os": [
"win",
"linux"
],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {"BackgroundModeEnabled": false},
"prefs": { "background_mode.enabled": { "location": "local_state" }}
}
]
},
"RestrictSigninToPattern": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_tests": [
{
"policies": {"RestrictSigninToPattern": ".*@google.com"},
"prefs": { "google.services.username_pattern": { "location": "local_state" }}
}
]
},
"DisableSafeBrowsingProceedAnyway": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"DisableSafeBrowsingProceedAnyway": true},
"prefs": { "safebrowsing.proceed_anyway_disabled": {}}
}
]
},
"SafeBrowsingExtendedReportingOptInAllowed": {
"note": "This policy has been removed."
},
"SpellCheckServiceEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"official_only": true,
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {"SpellCheckServiceEnabled": false},
"prefs": { "spellcheck.use_spelling_service": {}}
}
]
},
"DisableScreenshots": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DisableScreenshots": true },
"prefs": { "disable_screenshots": {} }
}
]
},
"BuiltInDnsClientEnabled": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BuiltInDnsClientEnabled": true
},
"prefs": { "async_dns.enabled": { "location": "local_state" } }
}
]
},
"WPADQuickCheckEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"WPADQuickCheckEnabled": true
},
"prefs": { "proxy.quick_check_enabled": { "location": "local_state" } }
}
]
},
"PacHttpsUrlStrippingEnabled": {
"note": "This policy has been removed, see https://crbug.com/939760."
},
"RegisteredProtocolHandlers": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {
"RegisteredProtocolHandlers": {
"protocol": "test",
"url": "http://example.com/%s",
"default": "true"
}
},
"prefs": { "custom_handlers.policy.registered_protocol_handlers": { "check_for_mandatory": false }}
}
]
},
"HideWebStoreIcon": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"HideWebStoreIcon": true
},
"prefs": { "hide_web_store_icon": {} }
}
]
},
"VariationsRestrictParameter": {
"policy_pref_mapping_tests": [
{
"policies": {
"VariationsRestrictParameter": "restricted"
},
"prefs": { "variations_restrict_parameter": { "location": "local_state" } }
}
]
},
"ChromeVariations": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"ChromeVariations": 1
},
"prefs": { "variations_restrictions_by_policy": { "location": "local_state" } }
}
]
},
"DataCompressionProxyEnabled": {
"os": [
"android"
],
"policy_pref_mapping_tests": [
{
"policies": {
"DataCompressionProxyEnabled": false
},
"prefs": { "spdy_proxy.enabled": {} }
}
]
},
"ForceEphemeralProfiles": {},
"UserAvatarImage": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"UserAvatarImage": {
"url": "http://localhost/",
"hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
}
}
]
},
"WallpaperImage": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"WallpaperImage": {
"url": "http://localhost/",
"hash": "baddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecafbaddecaf"
}
}
}
]
},
"BrowserGuestModeEnabled": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserGuestModeEnabled": true
},
"prefs": { "profile.browser_guest_enabled": { "location": "local_state" } }
}
]
},
"BrowserGuestModeEnforced": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserGuestModeEnforced": true
},
"prefs": { "profile.browser_guest_enforced": { "location": "local_state" } }
}
]
},
"BrowserAddPersonEnabled": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserAddPersonEnabled": true
},
"prefs": { "profile.add_person_enabled": { "location": "local_state" } }
}
]
},
"ForceBrowserSignin": {
"os": ["win"],
"policy_pref_mapping_tests": [
{
"policies": {
"ForceBrowserSignin": false
},
"prefs": { "profile.force_browser_signin": { "location": "local_state" } }
}
]
},
"BrowserSignin.DesktopNoForce": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSignin": 1
},
"prefs": { "signin.allowed_on_next_startup": {} }
}
]
},
"BrowserSignin.DesktopForce": {
"os": [
"win",
"mac"
],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSignin": 2
},
"prefs": {
"signin.allowed_on_next_startup": {},
"profile.force_browser_signin": { "location": "local_state" },
"profile.browser_guest_enabled": { "location": "local_state" }
}
}
]
},
"BrowserSignin.LinuxForceNotSupported": {
"os": [
"linux"
],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSignin": 2
},
"prefs": { "signin.allowed_on_next_startup": {} }
}
]
},
"BrowserSignin.AndroidForce": {
"os": [
"android"
],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSignin": 2
},
"prefs": {
"signin.allowed": {},
"profile.force_browser_signin": { "location": "local_state" }
}
}
]
},
"MachineLevelUserCloudPolicyEnrollmentToken": {
"note": "This policy was replaced with CloudManagementEnrollmentToken in Chrome 72 and has been removed altogether in Chrome 81"
},
"CloudManagementEnrollmentToken": {},
"CloudManagementEnrollmentMandatory": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "CloudManagementEnrollmentMandatory": true },
"prefs": { "policy.cloud_management_enrollment_mandatory": { "location": "local_state" } }
}
]
},
"SSLVersionMin": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SSLVersionMin": "tls1.1" },
"prefs": { "ssl.version_min": { "location": "local_state" } }
}
]
},
"SSLVersionFallbackMin": {
"note": "This policy is retired, see https://crbug.com/621780."
},
"SSLVersionMax": {
"note": "This policy has been removed, see https://crbug.com/939760."
},
"CertificateTransparencyEnforcementDisabledForUrls": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"CertificateTransparencyEnforcementDisabledForUrls": [
"example.com"
]
},
"prefs": { "certificate_transparency.excluded_hosts": {} }
}
]
},
"CertificateTransparencyEnforcementDisabledForCas": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"CertificateTransparencyEnforcementDisabledForCas": [
"sha256/AAAAAAAAAAAAAAAAAAAAAA=="
]
},
"prefs": { "certificate_transparency.excluded_spkis": {} }
}
]
},
"CertificateTransparencyEnforcementDisabledForLegacyCas": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"CertificateTransparencyEnforcementDisabledForLegacyCas": [
"sha256/AAAAAAAAAAAAAAAAAAAAAA=="
]
},
"prefs": { "certificate_transparency.excluded_legacy_spkis": {} }
}
]
},
"RC4Enabled": {
"note": "This policy is retired, see https://crbug.com/375342."
},
"DHEEnabled": {
"note": "This policy is retired, see https://crbug.com/619194."
},
"WelcomePageOnOSUpgradeEnabled": {
"note": "This policy is retired, see https://crbug.com/978349."
},
"SuppressUnsupportedOSWarning": {
"os": [
"chromeos",
"linux",
"mac",
"win"
],
"policy_pref_mapping_tests": [
{
"policies": {
"SuppressUnsupportedOSWarning": true
},
"prefs": { "browser.suppress_unsupported_os_warning": { "location": "local_state" } }
}
]
},
"AllowedDomainsForApps": {
"policy_pref_mapping_tests": [
{
"policies": {
"AllowedDomainsForApps": "google.com,mit.edu"
},
"os": [
"win",
"linux",
"mac",
"chromeos",
"android"
],
"prefs": { "settings.allowed_domains_for_apps": {} }
}
]
},
"EnableMediaRouter": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"EnableMediaRouter": true
},
"prefs": { "media_router.enable_media_router": {} }
}
]
},
"ShowCastIconInToolbar": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ShowCastIconInToolbar": false
},
"prefs": { "media_router.show_cast_icon_in_toolbar": {} }
}
]
},
"MediaRouterCastAllowAllIPs": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"MediaRouterCastAllowAllIPs": false
},
"prefs": { "media_router.cast_allow_all_ips": { "location": "local_state" } }
}
]
},
"NTPCardsVisible": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NTPCardsVisible": false
},
"prefs": { "NewTabPage.ModulesVisible": {} }
}
]
},
"NTPContentSuggestionsEnabled": {
"os": [
"android"
],
"policy_pref_mapping_tests": [
{
"policies": {
"NTPContentSuggestionsEnabled": false
},
"prefs": { "ntp_snippets.enable": {} }
}
]
},
"NTPCustomBackgroundEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NTPCustomBackgroundEnabled": false
},
"prefs": { "ntp.custom_background_dict": {} }
}
]
},
"WebRtcUdpPortRange": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"WebRtcUdpPortRange": "10000-11999"
},
"prefs": { "webrtc.udp_port_range": {} }
}
]
},
"WebRtcLocalIpsAllowedUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"WebRtcLocalIpsAllowedUrls": [
"https://www.example.com",
"*example.com*"
]
},
"prefs": { "webrtc.local_ips_allowed_urls": {} }
}
]
},
"ComponentUpdatesEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ComponentUpdatesEnabled": true
},
"prefs": { "component_updates.component_updates_enabled": { "location": "local_state" } }
}
]
},
"RoamingProfileSupportEnabled": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"RoamingProfileSupportEnabled": true
},
"prefs": { "sync.enable_local_sync_backend": {} }
}
]
},
"RoamingProfileLocation": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"RoamingProfileLocation": "${roaming_app_data}"
},
"prefs": { "sync.local_sync_backend_dir": {} }
}
]
},
"RelaunchNotification": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"RelaunchNotification": 1
},
"prefs": { "browser.relaunch_notification": { "location": "local_state" } }
}
]
},
"RelaunchNotificationPeriod": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"RelaunchNotificationPeriod": 86400000
},
"prefs": { "browser.relaunch_notification_period": { "location": "local_state" } }
}
]
},
"RelaunchHeadsUpPeriod": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"RelaunchHeadsUpPeriod": 86400000
},
"prefs": { "browser.relaunch_heads_up_period": { "location": "local_state" } }
}
]
},
"PromotionalTabsEnabled": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"PromotionalTabsEnabled": false
},
"prefs": { "browser.promotional_tabs_enabled": { "location": "local_state" } }
}
]
},
"AllowPopupsDuringPageUnload": {
"note": "This policy has been removed, as of M88."
},
"CommandLineFlagSecurityWarningsEnabled": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"CommandLineFlagSecurityWarningsEnabled": true
},
"prefs": { "browser.command_line_flag_security_warnings_enabled": { "location": "local_state" } }
}
]
},
"AllowSyncXHRInPageDismissal": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"AllowSyncXHRInPageDismissal": true
},
"prefs": { "allow_sync_xhr_in_page_dismissal": {} }
}
]
},
"ExternalProtocolDialogShowAlwaysOpenCheckbox": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"ExternalProtocolDialogShowAlwaysOpenCheckbox": true
},
"prefs": {
"external_protocol_dialog.show_always_open_checkbox": {
"value": true
}
}
}
]
},
"AutoLaunchProtocolsFromOrigins": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"AutoLaunchProtocolsFromOrigins": [
{ "protocol" : "calc", "allowed_origins" : [ "*" ] },
{ "protocol" : "invalid://", "allowed_origins" : [ "*" ] },
{ "protocol" : "notes", "allowed_origins" : [ ] },
{ "protocol" : "no.valid.origins", "allowed_origins" : ["http://a.com/path", "http://a.com/?b=1"] }
]
},
"prefs": {
"protocol_handler.policy.auto_launch_protocols_from_origins": {
"value" : [
{ "protocol" : "calc", "allowed_origins" : [ "*" ] }
]
}
}
}
]
},
"WebComponentsV0Enabled": {
"note": "This policy has been removed, as of M85."
},
"UseLegacyFormControls": {
"note": "This policy has been removed, as of M85."
},
"ScrollToTextFragmentEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "ScrollToTextFragmentEnabled": true },
"prefs": {
"scroll_to_text_fragment_enabled": {
"value": true
}
}
}
]
},
"TargetBlankImpliesNoOpener": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "TargetBlankImpliesNoOpener": false },
"prefs": {
"policy.target_blank_implies_noopener": {
"location": "local_state",
"value": false
}
}
}
]
},
"FullscreenAlertEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"FullscreenAlertEnabled": false},
"prefs": {"ash.fullscreen_alert_enabled": {}}
}
]
},
"GloballyScopeHTTPAuthCacheEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"GloballyScopeHTTPAuthCacheEnabled": true
},
"prefs": {
"auth.globally_scoped_http_auth_cache_enabled": {
"value": true
}
}
}
]
},
"PaymentMethodQueryEnabled" : {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"PaymentMethodQueryEnabled": false
},
"prefs": {
"payments.can_make_payment_enabled": {
"value": false
}
}
}
]
},
"DNSInterceptionChecksEnabled": {
"os": ["chromeos", "linux", "mac", "win"],
"policy_pref_mapping_tests": [
{
"policies": {
"DNSInterceptionChecksEnabled": false
},
"prefs": {
"browser.dns_interception_checks_enabled": {
"location": "local_state",
"value": false
}
}
}
]
},
"IntranetRedirectBehavior": {
"os": ["chromeos", "linux", "mac", "win"],
"policy_pref_mapping_tests": [
{
"policies": { "IntranetRedirectBehavior": 0 },
"prefs": {
"browser.intranet_redirect_behavior": {
"location": "local_state",
"value": 0
}
}
}
]
},
"----- Chrome OS policies ------------------------------------------------": {},
"ChromeOsLockOnIdleSuspend": {
"os": ["chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {
"ChromeOsLockOnIdleSuspend": true
},
"prefs": { "settings.enable_screen_lock": {} }
}
]
},
"PolicyRefreshRate": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PolicyRefreshRate": 300000
},
"prefs": { "policy.user_refresh_rate": { "location": "local_state" } }
}
]
},
"MaxInvalidationFetchDelay": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PolicyRefreshRate": 15000
}
}
]
},
"OpenNetworkConfiguration": {},
"SAMLOfflineSigninTimeLimit": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SAMLOfflineSigninTimeLimit": 0
},
"prefs": { "saml.offline_signin_time_limit": {} }
}
]
},
"DriveDisabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DriveDisabled": true
},
"prefs": { "gdata.disabled": {} }
}
]
},
"DriveDisabledOverCellular": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DriveDisabledOverCellular": true
},
"prefs": { "gdata.cellular.disabled": {} }
}
]
},
"PinnedLauncherApps": {
"os": ["chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {
"PinnedLauncherApps": []
},
"prefs": { "policy_pinned_launcher_apps": {} }
}
]
},
"ExternalStorageDisabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ExternalStorageDisabled": true
},
"prefs": { "hardware.external_storage_disabled": {} }
}
]
},
"ExternalStorageReadOnly": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ExternalStorageReadOnly": true
},
"prefs": { "hardware.external_storage_read_only": {} }
}
]
},
"AudioOutputAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"AudioOutputAllowed": true
},
"prefs": { "hardware.audio_output_enabled": { "location": "local_state" } }
}
]
},
"ShowLogoutButtonInTray": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ShowLogoutButtonInTray": true
},
"prefs": { "show_logout_button_in_tray": {} }
}
]
},
"ShelfAutoHideBehavior": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ShelfAutoHideBehavior": "Always"
},
"prefs": { "auto_hide_behavior_local": {} }
}
]
},
"ShelfAlignment": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ShelfAlignment": "Left"
},
"prefs": { "shelf_alignment_local": {} }
}
]
},
"ManagedGuestSessionAutoLaunchNotificationReduced": {
"note": "This policy has been removed."
},
"ManagedGuestSessionPrivacyWarningsEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ManagedGuestSessionPrivacyWarningsEnabled": false
},
"prefs": {
"managed_session.privacy_warning_enabled": { "location": "local_state" }
}
}
]
},
"FloatingAccessibilityMenuEnabled": {
"os": ["chromeos"],
"pref_mappings": [
{
"pref": "settings.a11y.floating_menu",
"indicator_tests": [
{ "policy": {"FloatingAccessibilityMenuEnabled": true}}
]
}
]
},
"UserDisplayName": {
"os": [
"chromeos"
]
},
"SystemFeaturesDisableList": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SystemFeaturesDisableList": ["os_settings", "scanning"]
},
"prefs": { "policy.system_features_disable_list": { "location": "local_state" },
"os_settings_enabled": { "location": "local_state" } }
}
]
},
"SystemFeaturesDisableMode": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SystemFeaturesDisableMode": "hidden" },
"prefs": { "policy.system_features_disable_mode": { "location": "local_state" } }
}
]
},
"SessionLengthLimit": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SessionLengthLimit": 3600000
},
"prefs": { "session.length_limit": { "location": "local_state" } }
}
]
},
"ScreenDimDelayAC": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ScreenDimDelayAC": 420000
},
"prefs": { "power.ac_screen_dim_delay_ms": {} }
}
]
},
"ScreenOffDelayAC": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ScreenOffDelayAC": 480000
},
"prefs": { "power.ac_screen_off_delay_ms": {} }
}
]
},
"ScreenLockDelayAC": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ScreenLockDelayAC": 600000
},
"prefs": { "power.ac_screen_lock_delay_ms": {} }
}
]
},
"IdleWarningDelayAC": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"IdleWarningDelayAC": 1800000
},
"prefs": { "power.ac_idle_warning_delay_ms": {} }
}
]
},
"IdleDelayAC": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"IdleDelayAC": 1800000
},
"prefs": { "power.ac_idle_delay_ms": {} }
}
]
},
"ScreenDimDelayBattery": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ScreenDimDelayBattery": 300000
},
"prefs": { "power.battery_screen_dim_delay_ms": {} }
}
]
},
"ScreenOffDelayBattery": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ScreenOffDelayBattery": 360000
},
"prefs": { "power.battery_screen_off_delay_ms": {} }
}
]
},
"ScreenLockDelayBattery": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ScreenLockDelayBattery": 600000
},
"prefs": { "power.battery_screen_lock_delay_ms": {} }
}
]
},
"IdleWarningDelayBattery": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"IdleWarningDelayBattery": 600000
},
"prefs": { "power.battery_idle_warning_delay_ms": {} }
}
]
},
"IdleDelayBattery": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "IdleDelayBattery": 600000 },
"prefs": { "power.battery_idle_delay_ms": {} }
}
]
},
"IdleAction": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "IdleAction": 0 },
"prefs": { "power.ac_idle_action": {}, "power.battery_idle_action": {} }
}
]
},
"IdleActionAC": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "IdleActionAC": 0 },
"prefs": { "power.ac_idle_action": {} }
}
]
},
"IdleActionBattery": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "IdleActionBattery": 0 },
"prefs": { "power.battery_idle_action": {} }
}
]
},
"LidCloseAction": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "LidCloseAction": 0 },
"prefs": { "power.lid_closed_action": {} }
}
]
},
"PowerManagementUsesAudioActivity": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PowerManagementUsesAudioActivity": true },
"prefs": { "power.use_audio_activity": {} }
}
]
},
"PowerManagementUsesVideoActivity": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PowerManagementUsesVideoActivity": true },
"prefs": { "power.use_video_activity": {} }
}
]
},
"PresentationIdleDelayScale": {},
"PresentationScreenDimDelayScale": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PresentationScreenDimDelayScale": 200 },
"prefs": { "power.presentation_screen_dim_delay_factor": {} }
}
]
},
"AllowWakeLocks": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AllowWakeLocks": false },
"prefs": { "power.allow_wake_locks": {} }
}
]
},
"AllowScreenWakeLocks": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AllowScreenWakeLocks": false },
"prefs": { "power.allow_screen_wake_locks": {} }
}
]
},
"UserActivityScreenDimDelayScale": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "UserActivityScreenDimDelayScale": 200 },
"prefs": { "power.user_activity_screen_dim_delay_factor": {} }
}
]
},
"WaitForInitialUserActivity": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"WaitForInitialUserActivity": true
},
"prefs": {
"session.wait_for_initial_user_activity": { "location": "local_state" },
"power.wait_for_initial_user_activity": {}
}
}
]
},
"PowerManagementIdleSettings": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"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"
}
}
},
"prefs": {
"power.ac_screen_dim_delay_ms": {},
"power.ac_screen_off_delay_ms": {},
"power.ac_idle_warning_delay_ms": {},
"power.ac_idle_delay_ms": {},
"power.battery_screen_dim_delay_ms": {},
"power.battery_screen_off_delay_ms": {},
"power.battery_idle_warning_delay_ms": {},
"power.battery_idle_delay_ms": {}
}
}
]
},
"ScreenLockDelays": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ScreenLockDelays": {
"AC": 6000,
"Battery": 2000
}
},
"prefs": {
"power.ac_screen_lock_delay_ms": {},
"power.battery_screen_lock_delay_ms": {}
}
}
]
},
"SecurityTokenSessionBehavior": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SecurityTokenSessionBehavior": "LOGOUT"
},
"prefs": {
"security_token_session_behavior": { "value": "LOGOUT" }
}
},
{
"policies": {},
"prefs": {
"security_token_session_behavior": {
"value": "IGNORE",
"expect_default": true
}
}
}
]
},
"SecurityTokenSessionNotificationSeconds": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SecurityTokenSessionNotificationSeconds": 10
},
"prefs": {
"security_token_session_notification_seconds": { "value": 10 }
}
},
{
"policies": {},
"prefs": {
"security_token_session_notification_seconds": {
"value": 0,
"expect_default": true
}
}
}
]
},
"TermsOfServiceURL": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"TermsOfServiceURL": "http://www.example.com/terms_of_service.txt" },
"prefs": { "terms_of_service.url": {} }
}
]
},
"ShowAccessibilityOptionsInSystemTrayMenu": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ShowAccessibilityOptionsInSystemTrayMenu": true },
"prefs": { "settings.a11y.enable_menu": {} }
}
]
},
"LargeCursorEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "LargeCursorEnabled": true },
"prefs": { "settings.a11y.large_cursor_enabled": {} }
}
]
},
"StickyKeysEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "StickyKeysEnabled": true },
"prefs": { "settings.a11y.sticky_keys_enabled": {} }
}
]
},
"SpokenFeedbackEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SpokenFeedbackEnabled": true },
"prefs": { "settings.accessibility": {} }
}
]
},
"DictationEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DictationEnabled": true },
"prefs": { "settings.a11y.dictation": {} }
}
]
},
"PrimaryMouseButtonSwitch": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrimaryMouseButtonSwitch": true },
"prefs": { "settings.mouse.primary_right": {} },
"indicator_tests": [
{ "pref": "settings" }
]
}
]
},
"KeyboardFocusHighlightEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "KeyboardFocusHighlightEnabled": true },
"prefs": { "settings.a11y.focus_highlight": {} }
}
]
},
"CursorHighlightEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "CursorHighlightEnabled": true },
"prefs": { "settings.a11y.cursor_highlight": {} }
}
]
},
"CaretHighlightEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "CaretHighlightEnabled": true },
"prefs": { "settings.a11y.caret_highlight": {} }
}
]
},
"MonoAudioEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "MonoAudioEnabled": true },
"prefs": { "settings.a11y.mono_audio": {} }
}
]
},
"AutoclickEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AutoclickEnabled": true },
"prefs": { "settings.a11y.autoclick": {} }
}
]
},
"HighContrastEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "HighContrastEnabled": true },
"prefs": { "settings.a11y.high_contrast_enabled": {} }
}
]
},
"AccessibilityShortcutsEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AccessibilityShortcutsEnabled": true },
"prefs": { "settings.a11y.shortcuts_enabled": {} }
}
]
},
"SelectToSpeakEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SelectToSpeakEnabled": true },
"prefs": { "settings.a11y.select_to_speak": {} }
}
]
},
"ScreenMagnifierType": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ScreenMagnifierType": 1 },
"prefs": {
"settings.a11y.screen_magnifier": {},
"ash.docked_magnifier.enabled": {}
}
}
]
},
"VirtualKeyboardEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "VirtualKeyboardEnabled": true },
"prefs": { "settings.a11y.virtual_keyboard": {} }
}
]
},
"VirtualKeyboardFeatures": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"VirtualKeyboardFeatures": {
"auto_complete_enabled": true,
"auto_correct_enabled": true,
"handwriting_enabled": true,
"spell_check_enabled": false,
"voice_input_enabled": false
}
},
"prefs": { "settings.a11y.virtual_keyboard_features": {} }
}
]
},
"KeyboardDefaultToFunctionKeys": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"KeyboardDefaultToFunctionKeys": true },
"prefs": { "settings.language.send_function_keys": {} }
}
]
},
"AttestationEnabledForUser": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AttestationEnabledForUser": true },
"prefs": { "attestation.enabled": {} }
}
]
},
"AttestationExtensionAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"AttestationExtensionAllowlist": [
"test_ext_id1",
"test_ext_id2"
]
},
"prefs": { "attestation.extension_allowlist": {} }
}
]
},
"AttestationExtensionWhitelist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"AttestationExtensionWhitelist": [
"test_ext_id1",
"test_ext_id2"
]
},
"prefs": { "attestation.extension_allowlist": {} }
}
]
},
"ManagedBookmarks": {},
"FullscreenAllowed": {
"os": ["win", "linux", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "FullscreenAllowed": false },
"prefs": {
"fullscreen.allowed": {},
"apps.fullscreen.allowed": {}
}
}
]
},
"ChromeOsMultiProfileUserBehavior": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ChromeOsMultiProfileUserBehavior": "unrestricted" },
"prefs": { "settings.multiprofile_user_behavior": {} }
}
]
},
"SecondaryGoogleAccountSigninAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SecondaryGoogleAccountSigninAllowed": false },
"prefs": { "account_manager.secondary_google_account_signin_allowed": {} }
}
]
},
"NativeMessagingBlacklist": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "NativeMessagingBlacklist": ["*"] },
"prefs": { "native_messaging.blacklist": {} }
}
]
},
"NativeMessagingBlocklist": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "NativeMessagingBlocklist": ["*"] },
"prefs": { "native_messaging.blacklist": {} }
}
]
},
"NativeMessagingWhitelist": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "NativeMessagingWhitelist": ["native.messaging.host.name"]},
"prefs": { "native_messaging.whitelist": {} }
}
]
},
"NativeMessagingAllowlist": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "NativeMessagingAllowlist": ["native.messaging.host.name"]},
"prefs": { "native_messaging.whitelist": {} }
}
]
},
"NativeMessagingUserLevelHosts": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "NativeMessagingUserLevelHosts": false },
"prefs": { "native_messaging.user_level_hosts": {} }
}
]
},
"EnableDeprecatedWebPlatformFeatures": {
"note": "This policy has been removed, as of M88."
},
"TouchVirtualKeyboardEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "TouchVirtualKeyboardEnabled": false },
"prefs": { "ui.touch_virtual_keyboard_enabled": {} }
}
]
},
"EasyUnlockAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "EasyUnlockAllowed": false },
"prefs": { "easy_unlock.allowed": {} }
}
]
},
"SessionLocales": {
"os": ["chromeos"],
"can_be_recommended": true
},
"ForceMaximizeOnFirstRun": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ForceMaximizeOnFirstRun": true },
"prefs": { "ui.force_maximize_on_first_run": {} }
}
]
},
"SSLErrorOverrideAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SSLErrorOverrideAllowed": true },
"prefs": { "ssl.error_override_allowed": {} }
}
]
},
"AllowDinosaurEasterEgg": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AllowDinosaurEasterEgg": true },
"prefs": { "allow_dinosaur_easter_egg": {} }
}
]
},
"KeyPermissions": {},
"HardwareAccelerationModeEnabled": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "HardwareAccelerationModeEnabled": true },
"prefs": { "hardware_acceleration_mode.enabled": { "location": "local_state" } }
}
]
},
"UnifiedDesktopEnabledByDefault": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": { "UnifiedDesktopEnabledByDefault": true },
"prefs": { "settings.display.unified_desktop_enabled_by_default": {} }
}
]
},
"UserFeedbackAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": { "UserFeedbackAllowed": false },
"prefs": { "feedback_allowed": {} }
}
]
},
"ArcEnabled": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": { "ArcEnabled": false },
"prefs": { "arc.enabled": {} }
}
]
},
"ArcPolicy": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": { "ArcPolicy": "" }
}
]
},
"AllowScreenLock": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AllowScreenLock": true },
"prefs": { "allow_screen_lock": {} }
}
]
},
"QuickUnlockModeAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "QuickUnlockModeAllowlist": ["PIN"] },
"prefs": { "quick_unlock_mode_whitelist": { "value": ["PIN"]} }
}
]
},
"QuickUnlockModeWhitelist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "QuickUnlockModeWhitelist": ["PIN"] },
"prefs": { "quick_unlock_mode_whitelist": { "value": ["PIN"]} }
}
]
},
"QuickUnlockTimeout": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "QuickUnlockTimeout": 0 },
"prefs": { "quick_unlock_timeout": {} }
}
]
},
"PinUnlockMinimumLength": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PinUnlockMinimumLength": 4 },
"prefs": { "pin_unlock_minimum_length": {} }
}
]
},
"PinUnlockMaximumLength": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PinUnlockMaximumLength": 0 },
"prefs": { "pin_unlock_maximum_length": {} }
}
]
},
"PinUnlockWeakPinsAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PinUnlockWeakPinsAllowed": true },
"prefs": { "pin_unlock_weak_pins_allowed": {} }
}
]
},
"PinUnlockAutosubmitEnabled": {
"os": ["chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": {
"PinUnlockAutosubmitEnabled": true
},
"prefs": { "pin_unlock_autosubmit_enabled": {} }
}
]
},
"ArcCertificatesSyncMode": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": { "ArcCertificatesSyncMode": 0 }
}
]
},
"ArcBackupRestoreEnabled": {
"note": "This policy has been removed. See https://bugs.chromium.org/p/chromium/issues/detail?id=845962"
},
"ArcLocationServiceEnabled": {
"note": "This policy has been removed. See https://bugs.chromium.org/p/chromium/issues/detail?id=845962"
},
"ReportArcStatusEnabled": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": { "ReportArcStatusEnabled": false },
"prefs": { "arc.status_reporting_enabled": {} }
}
]
},
"ReportCrostiniUsageEnabled": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": { "ReportCrostiniUsageEnabled": false },
"prefs": { "crostini.usage_reporting_enabled": {} }
}
]
},
"SmsMessagesAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SmsMessagesAllowed": false },
"prefs": { "multidevice.sms_connect_allowed": {} }
}
]
},
"WifiSyncAndroidAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "WifiSyncAndroidAllowed": false },
"prefs": { "wifi_sync.allowed": {} }
}
]
},
"SmartLockSigninAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "SmartLockSigninAllowed": false },
"prefs": { "smart_lock_signin.allowed": {} }
}
]
},
"InstantTetheringAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"InstantTetheringAllowed": false
},
"prefs": { "tether.allowed": {} }
}
]
},
"PhoneHubAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PhoneHubAllowed": false },
"prefs": { "phone_hub.allowed": {} }
}
]
},
"PhoneHubNotificationsAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PhoneHubNotificationsAllowed": false },
"prefs": { "phone_hub_notifications.allowed": {} }
}
]
},
"PhoneHubTaskContinuationAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PhoneHubTaskContinuationAllowed": false },
"prefs": { "phone_hub_task_continuation.allowed": {} }
}
]
},
"NearbyShareAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NearbyShareAllowed": false
},
"prefs": { "nearby_sharing.enabled": { "value": false } }
}
]
},
"EcryptfsMigrationStrategy": {
"note": "This policy is deprecated and removed since Chrome 88."
},
"SchedulerConfiguration": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SchedulerConfiguration": "performance"
},
"prefs": { "chromeos.scheduler_configuration": { "location": "local_state" } }
}
]
},
"CloudPolicyOverridesPlatformPolicy": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"CloudPolicyOverridesPlatformPolicy": false
},
"prefs": { "policy.cloud_override": { "location": "local_state" } }
}
]
},
"AllowedLanguages": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"AllowedLanguages": [
"en-US",
"de"
]
},
"prefs": { "intl.allowed_languages": {} }
}
]
},
"AllowedInputMethods": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"AllowedInputMethods": [
"xkb:us::en"
]
},
"prefs": { "settings.language.allowed_input_methods": {} }
}
]
},
"UrlKeyedAnonymizedDataCollectionEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"UrlKeyedAnonymizedDataCollectionEnabled": false
},
"prefs": { "url_keyed_anonymized_data_collection.enabled": {} }
}
]
},
"NetworkFileSharesAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NetworkFileSharesAllowed": false
},
"prefs": { "network_file_shares.allowed": {} }
}
]
},
"WebRtcEventLogCollectionAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"WebRtcEventLogCollectionAllowed": false
},
"prefs": { "webrtc.event_logs_collection": {} }
}
]
},
"PowerSmartDimEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PowerSmartDimEnabled": false
},
"prefs": { "power.smart_dim_enabled": {} }
}
]
},
"CoalesceH2ConnectionsWithClientCertificatesForHosts": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"CoalesceH2ConnectionsWithClientCertificatesForHosts": [
"example.com"
]
},
"prefs": { "ssl.client_certs.h2_coalescing_hosts": { "location": "local_state" } }
}
]
},
"NetBiosShareDiscoveryEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NetBiosShareDiscoveryEnabled": true
},
"prefs": { "network_file_shares.netbios_discovery.enabled": {} }
}
]
},
"EnterpriseHardwarePlatformAPIEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"EnterpriseHardwarePlatformAPIEnabled": false
},
"prefs": { "enterprise_hardware_platform_api.enabled": {} }
}
]
},
"NTLMShareAuthenticationEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NTLMShareAuthenticationEnabled": true
},
"prefs": { "network_file_shares.ntlm_share_authentication.enabled": {} }
}
]
},
"AmbientAuthenticationInPrivateModesEnabled":{
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"AmbientAuthenticationInPrivateModesEnabled": 0
},
"prefs": { "auth.ambient_auth_in_private_modes": {"location": "local_state" } }
}
]
},
"NetworkFileSharesPreconfiguredShares": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NetworkFileSharesPreconfiguredShares": [
{
"share_url": "smb://server/share",
"mode": "drop_down"
},
{
"share_url": "\\\\server\\share",
"mode": "drop_down"
},
{
"share_url": "smb://server/share",
"mode": "pre_mount"
},
{
"share_url": "\\\\server\\share",
"mode": "pre_mount"
}
]
},
"prefs": { "network_file_shares.preconfigured_shares": {} }
}
]
},
"ScreenBrightnessPercent": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ScreenBrightnessPercent": {
"BrightnessAC": 100,
"BrightnessBattery": 90
}
},
"prefs": {
"power.ac_screen_brightness_percent": {},
"power.battery_screen_brightness_percent": {}
}
}
]
},
"UserPluginVmAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"UserPluginVmAllowed": true
},
"prefs": { "plugin_vm.allowed": {} }
}
]
},
"PluginVmImage": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PluginVmImage": {
"url": "http://localhost/",
"hash": "842841a4c75a55ad050d686f4ea5f77e83ae059877fe9b6946aa63d3d057ed32"
}
},
"prefs": { "plugin_vm.image": {} }
}
]
},
"PluginVmUserId": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PluginVmUserId": "USER_ID"
},
"prefs": { "plugin_vm.user_id": {"value": "USER_ID"} }
}
]
},
"PluginVmDataCollectionAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PluginVmDataCollectionAllowed": false
},
"prefs": { "plugin_vm.data_collection_allowed": {} }
}
]
},
"PluginVmRequiredFreeDiskSpace": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PluginVmRequiredFreeDiskSpace": 25
},
"prefs": { "plugin_vm.required_free_disk_space": {} }
}
]
},
"VoiceInteractionHotwordEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"VoiceInteractionHotwordEnabled": true
},
"prefs": { "settings.voice_interaction.hotword.enabled": {} }
}
]
},
"SignedHTTPExchangeEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"SignedHTTPExchangeEnabled": false
},
"prefs": { "web_package.signed_exchange.enabled": {} }
}
]
},
"SamlInSessionPasswordChangeEnabled": {
"os": [],
"policy_pref_mapping_tests": [
{
"policies": {
"SamlInSessionPasswordChangeEnabled": true
},
"prefs": { "saml.in_session_password_change_enabled": {} }
}
]
},
"SamlPasswordExpirationAdvanceWarningDays": {
"os": [],
"policy_pref_mapping_tests": [
{
"policies": {
"SamlPasswordExpirationAdvanceWarningDays": 7
},
"prefs": { "saml.password_expiration_advance_warning_days": {} }
}
]
},
"SamlLockScreenReauthenticationEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SamlLockScreenReauthenticationEnabled": true
},
"prefs": { "saml.lock_screen_reauthentication_enabled": {
"value": true }
}
},
{
"policies": {
"SamlLockScreenReauthenticationEnabled": false
},
"prefs": {"saml.lock_screen_reauthentication_enabled": {
"value": false }
}
}
]
},
"VmManagementCliAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"VmManagementCliAllowed": false
},
"prefs": { "crostini.vm_management_cli_allowed_by_policy": {} }
}
]
},
"SharedClipboardEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"SharedClipboardEnabled": false
},
"prefs": { "browser.shared_clipboard_enabled": {} }
}
]
},
"ClickToCallEnabled" : {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ClickToCallEnabled": false
},
"prefs": {
"browser.click_to_call_enabled": {
"value": false
}
}
}
]
},
"AudioSandboxEnabled": {
"note": "This policy is used directly through the policy service instead of through a pref."
},
"LoginDisplayPasswordButtonEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"LoginDisplayPasswordButtonEnabled": false
},
"prefs": { "login_display_password_button_enabled": {} }
}
]
},
"SuggestedContentEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SuggestedContentEnabled": false
},
"prefs": {
"settings.suggested_content_enabled": {
"value": false
}
}
}
]
},
"----- Chrome OS device policies ---------------------------------------": {},
"DevicePolicyRefreshRate": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DevicePolicyRefreshRate": 300000
},
"prefs": { "policy.device_refresh_rate": { "location": "local_state" } }
}
]
},
"DisplayRotationDefault": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"DisplayRotationDefault": 1
}
}
]
},
"DeviceDisplayResolution": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceDisplayResolution": {
"external_width": 1920,
"external_height": 1080,
"external_scale_percentage": 100,
"internal_scale_percentage": 50,
"recommended": true
}
}
}
]
},
"ChromeOsReleaseChannel": {},
"ChromeOsReleaseChannelDelegated": {},
"DeviceReleaseLtsTag": {},
"DeviceOpenNetworkConfiguration": {},
"HeartbeatEnabled": {},
"HeartbeatFrequency": {},
"LogUploadEnabled": {},
"ReportDeviceVersionInfo": {},
"ReportDeviceActivityTimes": {},
"ReportDeviceBootMode": {},
"ReportDeviceNetworkInterfaces": {},
"ReportDeviceUsers": {},
"ReportDeviceHardwareStatus": {},
"ReportDeviceOsUpdateStatus": {},
"ReportDeviceSessionStatus": {},
"ReportDeviceGraphicsStatus": {},
"ReportDeviceCrashReportInfo": {},
"ReportDevicePowerStatus": {},
"ReportDeviceStorageStatus": {},
"ReportDeviceBoardStatus": {},
"ReportDeviceCpuInfo": {},
"ReportDeviceTimezoneInfo": {},
"ReportDeviceMemoryInfo": {},
"ReportDeviceBacklightInfo": {},
"ReportDeviceAppInfo": {},
"ReportDeviceBluetoothInfo": {},
"ReportDeviceFanInfo": {},
"ReportDeviceVpdInfo": {},
"ReportDeviceSystemInfo": {},
"ReportUploadFrequency": {},
"DeviceAllowNewUsers": {},
"DeviceUserWhitelist": {},
"DeviceUserAllowlist": {},
"DeviceGuestModeEnabled": {},
"DeviceShowUserNamesOnSignin": {},
"DeviceFamilyLinkAccountsAllowed": {},
"DeviceDataRoamingEnabled": {},
"DeviceMetricsReportingEnabled": {
"os": ["chromeos"],
"official_only": true,
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceMetricsReportingEnabled": true
},
"prefs": { "cros.metrics.reportingEnabled": {} },
"indicator_tests": [
{
"pref": "cros.metrics.reportingEnabled",
"test_setup_js": "var controllingPref = 'spellcheck.use_spelling_service'; var testedPref = 'cros.metrics.reportingEnabled'; Preferences.prefsChangedCallback([testedPref, Preferences.getInstance().registeredPreferences_[controllingPref].orig]); Preferences.getInstance().addEventListener(controllingPref, function(event) {Preferences.prefsChangedCallback([testedPref, {value: event.value.value, controlledBy: event.value.controlledBy, disabled: event.value.disabled}]);});"
}
],
"note": "TODO(bartfab): The |test_setup_js| above is a hack that makes |cros.metrics.reportingEnabled| track the status of the entirely unrelated |spellcheck.use_spelling_service| pref. This is because cros settings cannot currently be made policy-controlled in browser tests. Remove this hack once that restriction is lifted."
}
]
},
"DeviceEphemeralUsersEnabled": {},
"DeviceRebootOnShutdown": {},
"DeviceIdleLogoutTimeout": {},
"DeviceIdleLogoutWarningDuration": {},
"DeviceLoginScreenSaverId": {},
"DeviceLoginScreenSaverTimeout": {},
"DeviceStartUpUrls": {},
"DeviceAppPack": {},
"DeviceAutoUpdateDisabled": {},
"DeviceAutoUpdateP2PEnabled": {},
"DeviceRollbackAllowedMilestones": {
"os": ["chromeos"],
"note": "Chrome OS device policy used by update_engine only, not used in Chrome."
},
"DeviceRollbackToTargetVersion": {
"os": ["chromeos"],
"note": "Chrome OS device policy used by update_engine only, not used in Chrome."
},
"DeviceTargetVersionPrefix": {},
"DeviceUpdateScatterFactor": {},
"DeviceUpdateAllowedConnectionTypes": {},
"DeviceUpdateHttpDownloadsEnabled": {},
"ReportDeviceLocation": {},
"SystemTimezone": {},
"SystemUse24HourClock": {},
"DeviceLocalAccounts": {},
"DeviceLocalAccountAutoLoginId": {},
"DeviceLocalAccountAutoLoginDelay": {},
"DeviceLocalAccountAutoLoginBailoutEnabled": {},
"DeviceLocalAccountManagedSessionEnabled": {},
"DeviceLocalAccountPromptForNetworkWhenOffline": {},
"DeviceBlockDevmode": {},
"DeviceLoginScreenPowerManagement": {},
"DeviceAllowRedeemChromeOsRegistrationOffers": {},
"DeviceStartUpFlags": {},
"DeviceVariationsRestrictParameter": {},
"DeviceLoginScreenDefaultLargeCursorEnabled": {},
"DeviceLoginScreenLargeCursorEnabled": {},
"DeviceLoginScreenShowOptionsInSystemTrayMenu" : {},
"DeviceLoginScreenDefaultSpokenFeedbackEnabled" : {},
"DeviceLoginScreenPrimaryMouseButtonSwitch" : {},
"DeviceLoginScreenSpokenFeedbackEnabled": {},
"DeviceLoginScreenDefaultHighContrastEnabled": {},
"DeviceLoginScreenHighContrastEnabled": {},
"DeviceLoginScreenAccessibilityShortcutsEnabled": {},
"DeviceLoginScreenDefaultScreenMagnifierType": {},
"DeviceLoginScreenScreenMagnifierType": {},
"DeviceLoginScreenDefaultVirtualKeyboardEnabled": {},
"DeviceLoginScreenVirtualKeyboardEnabled": {},
"DeviceLoginScreenDictationEnabled": {},
"DeviceLoginScreenSelectToSpeakEnabled": {},
"DeviceLoginScreenCursorHighlightEnabled": {},
"DeviceLoginScreenCaretHighlightEnabled": {},
"DeviceLoginScreenMonoAudioEnabled": {},
"DeviceLoginScreenAutoclickEnabled": {},
"DeviceLoginScreenStickyKeysEnabled": {},
"DeviceLoginScreenKeyboardFocusHighlightEnabled": {},
"DeviceLoginScreenLocales": {},
"DeviceLoginScreenInputMethods": {},
"DeviceLoginScreenSystemInfoEnforced": {},
"DeviceChromeVariations": {},
"DeviceShowNumericKeyboardForPassword": {},
"UptimeLimit": {},
"RebootAfterUpdate": {},
"AttestationEnabledForDevice": {},
"AttestationForContentProtectionEnabled": {},
"SupervisedUsersEnabled": {},
"SupervisedUserCreationEnabled": {},
"SupervisedUserContentProviderEnabled": {},
"AutoCleanUpStrategy": {},
"DeviceTransferSAMLCookies": {},
"ExtensionCacheSize": {},
"DeviceShowLowDiskSpaceNotification": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ShowLowDiskSpaceNotification": false
},
"prefs": { "cros.device.show_low_disk_space_notification": {"value": false} }
}
]
},
"DeviceLoginScreenDomainAutoComplete": {},
"AllowKioskAppControlChromeVersion": {},
"LoginAuthenticationBehavior": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"LoginAuthenticationBehavior": 1
},
"prefs": { "cros.device.login_authentication_behavior": {} }
}
]
},
"UsbDetachableWhitelist": {},
"UsbDetachableAllowlist": {},
"DeviceAllowBluetooth": {},
"DeviceWiFiAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceWiFiAllowed": false
},
"prefs": { "cros.device.device_wifi_allowed": {} }
}
]
},
"DeviceQuirksDownloadEnabled": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceQuirksDownloadEnabled": true
},
"prefs": { "cros.device.quirks_download_enabled": {} }
}
]
},
"SystemTimezoneAutomaticDetection": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SystemTimezoneAutomaticDetection": 1
},
"prefs": { "cros.device.system_timezone_automatic_detection": {} }
}
]
},
"WebRestrictionsAuthority": {},
"TaskManagerEndProcessEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"TaskManagerEndProcessEnabled": false
},
"prefs": { "task_manager.end_process_enabled": { "location": "local_state" } }
}
]
},
"NetworkThrottlingEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NetworkThrottlingEnabled": {
"enabled": "true",
"upload_rate_kbits": "5600",
"download_rate_kbits": "5600"
}
},
"prefs": { "net.throttling_enabled": { "location": "local_state" } }
}
]
},
"DeviceWiFiFastTransitionEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceWiFiFastTransitionEnabled": true
},
"prefs": { "net.device_wifi_fast_transition_enabled": { "location": "local_state" } }
}
]
},
"LoginVideoCaptureAllowedUrls": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"LoginVideoCaptureAllowedUrls": [
"https://example.com"
]
},
"prefs": { "cros.device.login_video_capture_allowed_urls": {} }
}
]
},
"DeviceLoginScreenExtensions": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceLoginScreenExtensions": [
"abcdefghijklmnopabcdefghijklmnop",
"aaabbbcccdddeeefffggghhhiiijjjkk;https://url.com/update_manifest.xml"
]
},
"prefs": {
"extensions.install.forcelist": {
"value": {
"abcdefghijklmnopabcdefghijklmnop": {
"external_update_url": "https://clients2.google.com/service/update2/crx"
},
"aaabbbcccdddeeefffggghhhiiijjjkk": {
"external_update_url": "https://url.com/update_manifest.xml"
}
},
"location": "signin_profile"
}
}
}
]
},
"DeviceWallpaperImage": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceWallpaperImage": {
"url": "http://localhost/",
"hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
},
"prefs": { "cros.device_wallpaper_image": {} }
}
]
},
"BrowserNetworkTimeQueriesEnabled": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserNetworkTimeQueriesEnabled": true
},
"prefs": { "network_time.network_time_queries_enabled": { "location": "local_state" } }
}
]
},
"DeviceSecondFactorAuthentication": {
"os": [
"chromeos"
]
},
"DeviceEcryptfsMigrationStrategy": {
"note": "This policy is deprecated and removed since Chrome 61."
},
"NoteTakingAppsLockScreenWhitelist": {
"note": "This policy is deprecated, see http://crbug.com/1095910.",
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NoteTakingAppsLockScreenWhitelist": []
},
"prefs": { "settings.note_taking_apps_lock_screen_whitelist": {} }
}
]
},
"NoteTakingAppsLockScreenAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"NoteTakingAppsLockScreenAllowlist": []
},
"prefs": { "settings.note_taking_apps_lock_screen_whitelist": {} }
}
]
},
"CastReceiverEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"CastReceiverEnabled": true
},
"prefs": { "cast_receiver.enabled": {} }
}
]
},
"CastReceiverName": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"CastReceiverName": "Hallway"
},
"prefs": { "cros.device.cast_receiver.name": { "location": "local_state" } }
}
]
},
"DeviceNativePrinters": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceNativePrinters": {
"url": "https://example.com/policyfile",
"hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
}
}
]
},
"DeviceNativePrintersAccessMode": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceNativePrintersAccessMode": 1
},
"prefs": { "cros.device.native_printers_access_mode": {} }
}
]
},
"DeviceNativePrintersBlacklist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceNativePrintersBlacklist": ["id4", "id7", "id10"]
},
"prefs": { "cros.device.native_printers_blacklist": {} }
}
]
},
"DeviceNativePrintersWhitelist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceNativePrintersWhitelist": ["id4", "id7", "id10"]
},
"prefs": { "cros.device.native_printers_whitelist": {} }
}
]
},
"DeviceExternalPrintServers": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceExternalPrintServers": {
"url": "https://example.com/policyfile",
"hash": "deadbeefdeadbeefdeadbeef"
}
}
}
]
},
"DeviceExternalPrintServersAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DeviceExternalPrintServersAllowlist": ["id4", "id7", "id10"]},
"prefs": {
"native_printing.device_external_print_servers_allowlist": {
"location": "local_state",
"value": ["id4", "id7", "id10"]
}
}
}
]
},
"DevicePrinters": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DevicePrinters": {
"url": "https://example.com/policyfile",
"hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
}
}
]
},
"DevicePrintersAccessMode": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DevicePrintersAccessMode": 1
},
"prefs": { "cros.device.native_printers_access_mode": {} }
}
]
},
"DevicePrintersBlocklist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DevicePrintersBlocklist": ["id4", "id7", "id10"]
},
"prefs": { "cros.device.native_printers_blacklist": {} }
}
]
},
"DevicePrintersAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DevicePrintersAllowlist": ["id4", "id7", "id10"]
},
"prefs": { "cros.device.native_printers_whitelist": {} }
}
]
},
"TPMFirmwareUpdateSettings": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"allow-user-initiated-powerwash": true,
"auto-update-mode": 2
},
"prefs": { "cros.tpm_firmware_update_settings": {} }
}
]
},
"MinimumRequiredChromeVersion": {
"note": "This policy is deprecated in M82 and doesn't map to a pref value anymore."
},
"DeviceMinimumVersion": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceMinimumVersion": {
"requirements": [
{"chromeos_version" : "13121.0.0", "warning_period" : 0, "aue_warning_period" : 14}
],
"unmanaged_user_restricted": true
}
},
"prefs": {
"cros.device.min_version": {
"value": {
"requirements": [
{"chromeos_version" : "13121.0.0", "warning_period" : 0, "aue_warning_period" : 14}
],
"unmanaged_user_restricted": true
}
}
}
}
]
},
"DeviceMinimumVersionAueMessage": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceMinimumVersionAueMessage": "Please return your device."
},
"prefs": {
"cros.device.min_version_aue_message": {
"value": "Please return this device."
}
}
}
]
},
"DeviceLoginScreenAutoSelectCertificateForUrls": {},
"UnaffiliatedArcAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"unaffiliated_arc_allowed": false
},
"prefs": { "cros.unaffiliated_arc_allowed": {} }
}
]
},
"DeviceHostnameTemplate": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceHostnameTemplate": "chromebook-${ASSET_ID}"
},
"prefs": { "cros.network.hostname_template": {} }
}
]
},
"DeviceQuickFixBuildToken": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceQuickFixBuildToken": "sometoken"
}
}
]
},
"AbusiveExperienceInterventionEnforce": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"AbusiveExperienceInterventionEnforce": false
},
"prefs": { "abusive_experience_intervention_enforce": {} }
}
]
},
"AdsSettingForIntrusiveAdsSites": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AdsSettingForIntrusiveAdsSites": 1 },
"prefs": { "profile.managed_default_content_settings.ads": { "value": 1 }},
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.ads",
"selector": "[content-setting=ads]",
"value": "allow"
}
]
},
{
"policies": { "AdsSettingForIntrusiveAdsSites": 2 },
"prefs": { "profile.managed_default_content_settings.ads":{ "value": 2 }},
"indicator_tests": [
{
"pref": "profile.managed_default_content_settings.ads",
"selector": "[content-setting=ads]",
"value": "block"
}
]
}
]
},
"SafeBrowsingExtendedReportingEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": {
"SafeBrowsingExtendedReportingEnabled": true
},
"prefs": { "safebrowsing.scout_reporting_enabled": {} }
}
]
},
"RestrictAccountsToPatterns": {},
"PasswordProtectionWarningTrigger": {},
"DeviceOffHours": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceOffHours": {
"intervals": [
{
"start": {
"day_of_week": 1,
"time": 12840000
},
"end": {
"day_of_week": 1,
"time": 21720000
}
}
],
"timezone": "GMT",
"ignored_policy_proto_tags": [
8,
3
]
}
}
}
]
},
"DeviceKerberosEncryptionTypes": {
"os": ["chromeos"],
"note": "Chrome OS device policy used by authpolicyd only, not used in Chrome"
},
"DeviceUserPolicyLoopbackProcessingMode": {
"os": ["chromeos"],
"note": "Chrome OS device policy used by authpolicyd only, not used in Chrome"
},
"DeviceMachinePasswordChangeRate": {
"os": ["chromeos"],
"note": "Chrome OS device policy used by authpolicyd only, not used in Chrome"
},
"DeviceGpoCacheLifetime": {
"os": ["chromeos"],
"note": "Chrome OS device policy used by authpolicyd only, not used in Chrome"
},
"DeviceAuthDataCacheLifetime": {
"os": ["chromeos"],
"note": "Chrome OS device policy used by authpolicyd only, not used in Chrome"
},
"DeviceLoginScreenIsolateOrigins": {
"note": "This policy has been removed in Chrome 77, see https://crbug.com/964068 ."
},
"DeviceLoginScreenSitePerProcess": {
"note": "This policy has been removed in Chrome 77, see https://crbug.com/964068 ."
},
"VirtualMachinesAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"virtual_machines_allowed": true
},
"prefs": { "cros.device.virtual_machines_allowed": {} }
}
]
},
"CrostiniAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"CrostiniAllowed": false
},
"prefs": { "crostini.user_allowed_by_policy": {} }
}
]
},
"DeviceUnaffiliatedCrostiniAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"device_unaffiliated_crostini_allowed": false
},
"prefs": { "cros.device.unaffiliated_crostini_allowed": {} }
}
]
},
"CrostiniExportImportUIAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"CrostiniExportImportUIAllowed": false
},
"prefs": { "crostini.user_export_import_ui_allowed_by_policy": {} }
}
]
},
"CrostiniRootAccessAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"CrostiniRootAccessAllowed": false
},
"prefs": { "crostini.user_root_access_allowed_by_policy": {} }
}
]
},
"CrostiniAnsiblePlaybook": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"CrostiniAnsiblePlaybook": {
"url": "https://example.com/ansibleplaybook",
"hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
}
}
]
},
"CrostiniArcAdbSideloadingAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "CrostiniArcAdbSideloadingAllowed": 0 },
"prefs": { "crostini.arc_adb_sideloading.user_pref": {} }
},
{
"policies": { "CrostiniArcAdbSideloadingAllowed": 1 },
"prefs": { "crostini.arc_adb_sideloading.user_pref": {} }
}
]
},
"CrostiniPortForwardingAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "CrostiniPortForwardingAllowed": false },
"prefs": { "crostini.port_forwarding_allowed_by_policy": {} }
}
]
},
"DeviceCrostiniArcAdbSideloadingAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": []
},
"DeviceSamlLoginAuthenticationType": {},
"DeviceScheduledUpdateCheck": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceScheduledUpdateCheck": {
"update_check_time": {
"hour": 23,
"minute": 35
},
"frequency": "WEEKLY",
"day_of_week": "MONDAY"
}
}
}
]
},
"ChromeCleanupEnabled": {
"os": ["win"],
"policy_pref_mapping_tests": [
{
"policies": {
"ChromeCleanupEnabled": true
},
"prefs": { "software_reporter.enabled": { "location": "local_state" } }
}
]
},
"ChromeCleanupReportingEnabled": {
"os": ["win"],
"policy_pref_mapping_tests": [
{
"policies": {
"ChromeCleanupReportingEnabled": false
},
"prefs": { "software_reporter.reporting": {} }
}
]
},
"SafeBrowsingWhitelistDomains": {
"os": ["win", "mac", "linux", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SafeBrowsingAllowlistDomains": ["google.com"]
},
"prefs": { "safebrowsing.safe_browsing_whitelist_domains" : {}}
}
]
},
"SafeBrowsingAllowlistDomains": {
"os": ["win", "mac", "linux", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SafeBrowsingAllowlistDomains": ["google.com"]
},
"prefs": { "safebrowsing.safe_browsing_whitelist_domains" : {}}
}
]
},
"PasswordProtectionLoginURLs": {},
"PasswordProtectionChangePasswordURL": {},
"AutoplayAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"AutoplayAllowed": false
},
"prefs": { "media.autoplay_allowed": {} }
}
]
},
"AutoplayWhitelist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"AutoplayWhitelist": [
"https://mydomain.com",
"https://test.mydomain.com"
]
}, "prefs": {
"media.autoplay_whitelist": {
"value": [
"https://mydomain.com",
"https://test.mydomain.com"
]
}
}
}
]
},
"AutoplayAllowlist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"AutoplayAllowlist": [
"https://mydomain.com",
"https://test.mydomain.com"
]
}, "prefs": {
"media.autoplay_whitelist": {
"value": [
"https://mydomain.com",
"https://test.mydomain.com"
]
}
}
}
]
},
"TabUnderAllowed": {
"note": "This policy is deprecated and removed since Chrome 68."
},
"ArcAppInstallEventLoggingEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ArcAppInstallEventLoggingEnabled": true
},
"prefs": { "arc.app_install_event_logging_enabled": {} }
}
]
},
"ExtensionInstallEventLoggingEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ExtensionInstallEventLoggingEnabled": true
},
"prefs": { "extensions.install.event_logging_enabled": {} }
}
]
},
"UsageTimeLimit": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"UsageTimeLimit": {
"time_window_limit": {
"entries": [
{
"effective_day": "WEDNESDAY",
"starts_at": {
"hour": 21,
"minute": 0
},
"ends_at": {
"hour": 7,
"minute": 30
},
"last_updated_millis": "1000000"
},
{
"effective_day": "SATURDAY",
"starts_at": {
"hour": 14,
"minute": 0
},
"ends_at": {
"hour": 16,
"minute": 15
},
"last_updated_millis": "1400000"
}
]
},
"time_usage_limit": {
"monday": {
"usage_quota_mins": 120,
"last_updated_millis": "1200000"
},
"thursday": {
"usage_quota_mins": 15,
"last_updated_millis": "1600000"
},
"reset_at": {
"hour": 6,
"minute": 0
}
},
"overrides": [
{
"action": "UNLOCK",
"created_at_millis": "1250000",
"action_specific_data": {
"duration_mins": 30
}
}
]
}
},
"can_be_recommended": false,
"prefs": { "screen_time.limit": {} }
}
]
},
"EnableSyncConsent": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"EnableSyncConsent": false
},
"prefs": { "sync_consent.enabled": {} }
}
]
},
"ContextualSuggestionsEnabled": {
"note": "This policy has been removed. See https://crbug.com/938050"
},
"DeviceAutoUpdateTimeRestrictions": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"UpdateTimeRestrictions": [
{
"start": {
"day_of_week": "Wednesday",
"minutes": 30,
"hours": 3
},
"end": {
"day_of_week": "Thursday",
"minutes": 20,
"hours": 13
}
},
{
"start": {
"day_of_week": "Monday",
"minutes": 45,
"hours": 1
},
"end": {
"day_of_week": "Monday",
"minutes": 50,
"hours": 15
}
}
]
}
}
]
},
"DeviceUpdateStagingSchedule": {
"os": ["chromeos"],
"note": "Chrome OS device policy used by update_engine only, not used in Chrome."
},
"WebAppInstallForceList": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"WebAppInstallForceList": [
{
"url": "https://foo.example",
"default_launch_container": "tab"
},
{
"url": "https://bar.example",
"default_launch_container": "window"
},
{
"url": "https://foobar.example"
},
{
"url": "https://xyz.example",
"create_desktop_shortcut": true
}
]
},
"prefs": { "profile.web_app.install.forcelist": {} }
}
]
},
"PluginVmAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PluginVmAllowed": true
},
"prefs": { "cros.device.plugin_vm_allowed": {} }
}
]
},
"PluginVmLicenseKey": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PluginVmLicenseKey": "LICENSE_KEY"
},
"prefs": { "cros.device.plugin_vm_license_key": {} }
}
]
},
"ParentAccessCodeConfig": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ParentAccessCodeConfig": {
"current_config": {
"shared_secret": "oOA9nX02LdhYdOzwMsGof+QA3wUKP4YMNlk9S/W3o+w=",
"access_code_ttl": 600,
"clock_drift_tolerance": 300
},
"future_config": {
"shared_secret": "KMsoIjnpvcWmiU1GHchp2blR96mNyJwS",
"access_code_ttl": 600,
"clock_drift_tolerance": 300
},
"old_configs": [
{
"shared_secret": "sTr6jqMTJGCbLhWI5plFTQb/VsqxwX2Q",
"access_code_ttl": 600,
"clock_drift_tolerance": 300
}
]
}
},
"prefs": { "child_user.parent_access_code.config": {} }
}
]
},
"ClientCertificateManagementAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"ClientCertificateManagementAllowed": 2
},
"prefs": { "client_certificate_management_allowed": {} }
}
]
},
"CACertificateManagementAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"CACertificateManagementAllowed": 2
},
"prefs": { "ca_certificate_management_allowed": {} }
}
]
},
"AssistantOnboardingMode": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"AssistantOnboardingMode": "Default"
},
"prefs": {
"settings.assistant.onboarding_mode": {
"value": "Default"
}
}
}
]
},
"VoiceInteractionContextEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"VoiceInteractionContextEnabled": true
},
"prefs": { "settings.voice_interaction.context.enabled": {} }
}
]
},
"VoiceInteractionQuickAnswersEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"VoiceInteractionQuickAnswersEnabled": true
},
"prefs": {
"settings.voice_interaction.quick_answers.enabled": {
"value": true
}
}
}
]
},
"DeviceRebootOnUserSignout": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceRebootOnUserSignout": 0
},
"prefs": { "cros.device.reboot_on_user_signout": {} }
}
]
},
"ForceNetworkInProcess": {
"note": "This policy is deprecated."
},
"DeviceWilcoDtcAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceWilcoDtcAllowed": true
},
"prefs": { "cros.device.wilco_dtc_allowed": {} }
}
]
},
"DeviceWilcoDtcConfiguration": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceWilcoDtcCOnfiguration": {
"url": "https://example.com/wilcodtcconfiguration",
"hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
}
}
]
},
"DevicePowerPeakShiftEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DevicePowerPeakShiftEnabled": true
},
"prefs": { "ash.power.peak_shift_enabled": { "location": "local_state" } }
}
]
},
"DevicePowerPeakShiftBatteryThreshold": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DevicePowerPeakShiftBatteryThreshold": 20
},
"prefs": { "ash.power.peak_shift_battery_threshold": { "location": "local_state" } }
}
]
},
"DevicePowerPeakShiftDayConfig": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DevicePowerPeakShiftDayConfig": {
"entries": [
{
"charge_start_time": {
"hour": 20,
"minute": 0
},
"day": "MONDAY",
"end_time": {
"hour": 10,
"minute": 15
},
"start_time": {
"hour": 7,
"minute": 30
}
},
{
"charge_start_time": {
"hour": 22,
"minute": 30
},
"day": "FRIDAY",
"end_time": {
"hour": 9,
"minute": 45
},
"start_time": {
"hour": 4,
"minute": 0
}
}
]
}
},
"prefs": { "ash.power.peak_shift_day_config": { "location": "local_state" } }
}
]
},
"DeviceBootOnAcEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceBootOnAcEnabled": true
},
"prefs": { "ash.power.boot_on_ac_enabled": { "location": "local_state" } }
}
]
},
"DeviceDockMacAddressSource": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceDockMacAddressSource": 2
},
"prefs": { "cros.device.device_dock_mac_address_source": {} }
}
]
},
"DeviceAdvancedBatteryChargeModeEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceAdvancedBatteryChargeModeEnabled": true
},
"prefs": { "ash.power.advanced_battery_charge_mode_enabled": { "location": "local_state" } }
}
]
},
"DeviceAdvancedBatteryChargeModeDayConfig": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceAdvancedBatteryChargeModeDayConfig": {
"entries": [
{
"charge_start_time": {
"hour": 10,
"minute": 0
},
"day": "MONDAY",
"charge_end_time": {
"hour": 20,
"minute": 15
}
},
{
"charge_start_time": {
"hour": 8,
"minute": 30
},
"day": "FRIDAY",
"charge_end_time": {
"hour": 15,
"minute": 45
}
}
]
}
},
"prefs": { "ash.power.advanced_battery_charge_mode_day_config": { "location": "local_state" } }
}
]
},
"DeviceBatteryChargeMode": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceBatteryChargeMode": 5
},
"prefs": { "ash.power.battery_charge_mode": { "location": "local_state" } }
}
]
},
"DeviceBatteryChargeCustomStartCharging": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceBatteryChargeCustomStartCharging": 60
},
"prefs": { "ash.power.battery_charge_custom_start_charging": { "location": "local_state" } }
}
]
},
"DeviceBatteryChargeCustomStopCharging": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceBatteryChargeCustomStopCharging": 91
},
"prefs": { "ash.power.battery_charge_custom_stop_charging": { "location": "local_state" } }
}
]
},
"DeviceUsbPowerShareEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceUsbPowerShareEnabled": true
},
"prefs": { "ash.power.usb_power_share_enabled": { "location": "local_state" } }
}
]
},
"DevicePowerwashAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DevicePowerwashAllowed": true
},
"prefs": { "cros.device.device_powerwash_allowed": { "location": "local_state" } }
}
]
},
"DeviceWebBasedAttestationAllowedUrls": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceWebBasedAttestationAllowedUrls": [
"[*.]example.com"
]
},
"prefs": { "cros.device.web_based_attestation_allowed_urls": {} }
}
]
},
"EmojiSuggestionEnabled": {
"os" : ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"EmojiSuggestionEnabled": false
},
"prefs": {
"assistive_input.emoji_suggestion.enterprise_allowed": {}
}
}
]
},
"PerAppTimeLimits": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"PerAppTimeLimits": {
"app_limits": [
{
"app_info": {
"app_id": "com.example.myapp",
"app_type": "ARC"
},
"restriction": "TIME_LIMIT",
"daily_limit_mins": 30,
"last_updated_millis": "1570223060437"
},
{
"app_info": {
"app_id": "pjkljhegncpnkpknbcohdijeoejaedia",
"app_type": "EXTENSION"
},
"restriction": "TIME_LIMIT",
"daily_limit_mins": 10,
"last_updated_millis": "1570223000000"
},
{
"app_info": {
"app_id": "iniodglblcgmngkgdipeiclkdjjpnlbn",
"app_type": "BUILT-IN"
},
"restriction": "BLOCK",
"last_updated_millis": "1570223000000"
}
],
"reset_at": {
"hour": 6,
"minute": 0
},
"activity_reporting_enabled": true
}
},
"prefs": { "child_user.per_app_time_limits.policy": {} }
}
]
},
"PerAppTimeLimitsWhitelist" : {
"note": "This policy is deprecated, see http://crbug.com/1103812.",
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"PerAppTimeLimitsWhitelist": {
"scheme_list": [
"chrome",
"files"
],
"domain_list": [
"support.google.com",
"policies.google.com"
],
"app_list": [
{
"app_id": "pjkljhegncpnkpknbcohdijeoejaedia",
"app_type": "EXTENSION"
},
{
"app_id": "iniodglblcgmngkgdipeiclkdjjpnlbn",
"app_type": "BUILT-IN"
}
]
}
},
"prefs": { "child_user.per_app_time_limits.whitelist": {} }
}
]
},
"PerAppTimeLimitsAllowlist" : {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"PerAppTimeLimitsAllowlist": {
"scheme_list": [
"chrome",
"files"
],
"domain_list": [
"support.google.com",
"policies.google.com"
],
"app_list": [
{
"app_id": "pjkljhegncpnkpknbcohdijeoejaedia",
"app_type": "EXTENSION"
},
{
"app_id": "iniodglblcgmngkgdipeiclkdjjpnlbn",
"app_type": "BUILT-IN"
}
]
}
},
"prefs": { "child_user.per_app_time_limits.whitelist": {} }
}
]
},
"DeviceLoginScreenPrivacyScreenEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"PrivacyScreenEnabled": true
},
"prefs": {
"settings.display.privacy_screen_enabled": {
"value": true,
"location": "signin_profile"
}
}
}
]
},
"PrivacyScreenEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "PrivacyScreenEnabled": true },
"prefs": { "settings.display.privacy_screen_enabled": {} }
}
]
},
"RequiredClientCertificateForUser": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"RequiredClientCertificateForUser": [{
"name": "Certificate Profile 1",
"cert_profile_id":"cert_profile_id_1",
"key_algorithm":"rsa",
"renewal_period_seconds": 2592000,
"policy_version": "some_hash",
"enable_remote_attestation_check": true
}]
},
"prefs": {
"required_client_certificate_for_user": {
"value": [{
"name": "Certificate Profile 1",
"cert_profile_id":"cert_profile_id_1",
"key_algorithm":"rsa",
"renewal_period_seconds": 2592000,
"policy_version": "some_hash",
"enable_remote_attestation_check": true
}]
}
}
}
]
},
"RequiredClientCertificateForDevice": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"RequiredClientCertificateForDevice": [{
"name": "Certificate Profile 1",
"cert_profile_id":"cert_profile_id_1",
"key_algorithm":"rsa",
"renewal_period_seconds": 2592000,
"policy_version": "some_hash",
"enable_remote_attestation_check": true
}]
},
"prefs": {
"required_client_certificate_for_device": {
"value": [{
"name": "Certificate Profile 1",
"cert_profile_id":"cert_profile_id_1",
"key_algorithm":"rsa",
"renewal_period_seconds": 2592000,
"policy_version": "some_hash",
"enable_remote_attestation_check": true
}],
"location": "local_state"
}
}
}
]
},
"DeviceArcDataSnapshotHours": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DeviceArcDataSnapshotHours": {
"intervals": [
{
"start": {
"day_of_week": 1,
"time": 1284000
},
"end": {
"day_of_week": 1,
"time": 21720000
}
},
{
"start": {
"day_of_week": 2,
"time": 1284000
},
"end": {
"day_of_week": 2,
"time": 21720000
}
}
],
"timezone": "GMT"
}
},
"prefs": {
"arc.snapshot_hours": { "location": "local_state" }
}
}
]
},
"----- Chrome Frame policies -------------------------------------------": {},
"ChromeFrameRendererSettings": {},
"RenderInChromeFrameList": {},
"RenderInHostList": {},
"ChromeFrameContentTypes": {},
"GCFUserDataDir": {},
"AdditionalLaunchParameters": {},
"SuppressChromeFrameTurndownPrompt": {},
"SkipMetadataCheck": {},
"ArcBackupRestoreServiceEnabled": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"ArcBackupRestoreServiceEnabled": 0
},
"prefs": { "arc.backup_restore.enabled": {} }
}
]
},
"ArcGoogleLocationServicesEnabled": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"ArcGoogleLocationServicesEnabled": 0
},
"prefs": { "arc.location_service.enabled": {} }
}
]
},
"SafeSitesFilterBehavior": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"SafeSitesFilterBehavior": 0
},
"note": "prefs cannot be tested here as the code where the pref will be registered is not yet ready."
}
]
},
"ReportVersionData": {},
"ReportPolicyData": {},
"ReportMachineIDData": {},
"ReportUserIDData": {},
"ReportExtensionsAndPluginsData": {},
"ReportSafeBrowsingData": {
"note": "This policy has been removed. See https://bugs.chromium.org/p/chromium/issues/detail?id=1083085"
},
"CloudExtensionRequestEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"note": "Policy uses default value if CloudReportingEnabled is false or unset.",
"policy_pref_mapping_tests": [
{
"policies": {
},
"prefs": {
"enterprise_reporting.extension_request.enabled": {
"expect_default": true
}
}
},
{
"policies": {
"CloudExtensionRequestEnabled": true
},
"prefs": {
"enterprise_reporting.extension_request.enabled": {
"expect_default": true
}
}
},
{
"policies": {
"CloudExtensionRequestEnabled": false
},
"prefs": {
"enterprise_reporting.extension_request.enabled": {
"expect_default": true
}
}
},
{
"policies": {
"CloudExtensionRequestEnabled": true,
"CloudReportingEnabled": false
},
"prefs": {
"enterprise_reporting.extension_request.enabled": {
"expect_default": true
}
}
},
{
"policies": {
"CloudExtensionRequestEnabled": false,
"CloudReportingEnabled": false
},
"prefs": {
"enterprise_reporting.extension_request.enabled": {
"expect_default": true
}
}
},
{
"policies": {
"CloudExtensionRequestEnabled": true,
"CloudReportingEnabled": true
},
"prefs": {
"enterprise_reporting.extension_request.enabled": {
"value": true
}
}
},
{
"policies": {
"CloudExtensionRequestEnabled": false,
"CloudReportingEnabled": true
},
"prefs": {
"enterprise_reporting.extension_request.enabled": {
"value": false
}
}
}
]
},
"CloudReportingEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"CloudReportingEnabled": true
},
"prefs": { "enterprise_reporting.chrome_cloud_reporting": { "location": "local_state" } }
}
]
},
"VpnConfigAllowed": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": {
"VpnConfigAllowed": false
},
"prefs": { "vpn_config_allowed": {} }
}
]
},
"AlternativeBrowserPath": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"AlternativeBrowserPath": "foobarbaz"
},
"prefs": { "browser_switcher.alternative_browser_path": {} }
}
]
},
"AlternativeBrowserParameters": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"AlternativeBrowserParameters": [
"-foreground",
"-new-window"
]
},
"prefs": { "browser_switcher.alternative_browser_parameters": {} }
}
]
},
"BrowserSwitcherChromePath": {
"os": ["win"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSwitcherChromePath": "chrome.exe"
},
"prefs": { "browser_switcher.chrome_path": {} }
}
]
},
"BrowserSwitcherChromeParameters": {
"os": ["win"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSwitcherChromeParameters": [
"--force-dark-mode"
]
},
"prefs": { "browser_switcher.chrome_parameters": {} }
}
]
},
"BrowserSwitcherUrlList": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSwitcherUrlList": [
"example.com",
"google.com"
]
},
"prefs": { "browser_switcher.url_list": {} }
}
]
},
"BrowserSwitcherUrlGreylist": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSwitcherUrlGreylist": [
"example.com",
"google.com"
]
},
"prefs": { "browser_switcher.url_greylist": {} }
}
]
},
"BrowserSwitcherUseIeSitelist": {
"os": ["win"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSwitcherUseIeSitelist": true
},
"prefs": { "browser_switcher.use_ie_sitelist": {} }
}
]
},
"BrowserSwitcherExternalSitelistUrl": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSwitcherExternalSitelistUrl": "file:///C:/src/sitelist.xml"
},
"prefs": { "browser_switcher.external_sitelist_url": {} }
}
]
},
"BrowserSwitcherExternalGreylistUrl": {
"os": [],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSwitcherExternalGreylistUrl": "file:///C:/src/greylist.xml"
},
"prefs": { "browser_switcher.external_greylist_url": {} }
}
]
},
"BrowserSwitcherDelay": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSwitcherDelay": 10000
},
"prefs": { "browser_switcher.delay": {} }
}
]
},
"BrowserSwitcherEnabled": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSwitcherEnabled": true
},
"prefs": { "browser_switcher.enabled": {} }
}
]
},
"BrowserSwitcherKeepLastChromeTab": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": {
"BrowserSwitcherKeepLastChromeTab": false
},
"prefs": { "browser_switcher.keep_last_tab": {} }
}
]
},
"StartupBrowserWindowLaunchSuppressed": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"StartupBrowserWindowLaunchSuppressed": false
},
"prefs": { "startup_browser_window_launch_suppressed": {} }
}
]
},
"LockScreenMediaPlaybackEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"LockScreenMediaPlaybackEnabled": true
},
"prefs": { "ash.lock_screen_media_controls_enabled": {} }
}
]
},
"OnFileAttachedEnterpriseConnector": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"OnFileAttachedEnterpriseConnector": [
{
"service_provider": "Google",
"enable": [
{
"url_list": ["*"],
"tags": ["malware"]
},
{
"url_list": ["*.them.com", "*.others.com"],
"tags": ["dlp"]
}
],
"disable": [
{
"url_list": ["*.us.com"],
"tags": ["malware"]
}
],
"block_until_verdict": 0,
"block_password_protected": true,
"block_large_files": false
}
]
},
"prefs": { "enterprise_connectors.on_file_attached": { "location": "local_state" } }
}
]
},
"OnFileDownloadedEnterpriseConnector": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"OnFileDownloadedEnterpriseConnector": [
{
"service_provider": "Google",
"enable": [
{
"url_list": ["*"],
"tags": ["malware"]
},
{
"url_list": ["*.them.com", "*.others.com"],
"tags": ["dlp"]
}
],
"disable": [
{
"url_list": ["*.us.com"],
"tags": ["malware"]
}
],
"block_until_verdict": 1,
"block_password_protected": false,
"block_large_files": true
}
]
},
"prefs": { "enterprise_connectors.on_file_downloaded": { "location": "local_state" } }
}
]
},
"OnBulkDataEntryEnterpriseConnector": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"OnBulkDataEntryEnterpriseConnector": [
{
"service_provider": "Google",
"enable": [
{
"url_list": ["*"],
"tags": ["malware"]
},
{
"url_list": ["*.them.com", "*.others.com"],
"tags": ["dlp"]
}
],
"disable": [
{
"url_list": ["*.us.com"],
"tags": ["malware"]
}
],
"block_until_verdict": 0
}
]
},
"prefs": { "enterprise_connectors.on_bulk_data_entry": { "location": "local_state" } }
}
]
},
"OnSecurityEventEnterpriseConnector": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"OnSecurityEventEnterpriseConnector": [
{
"service_provider": "Google"
}
]
},
"prefs": { "enterprise_connectors.on_security_event": { "location": "local_state" } }
}
]
},
"EnterpriseRealTimeUrlCheckMode": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "EnterpriseRealTimeUrlCheckMode": 1 },
"prefs": {
"safebrowsing.enterprise_real_time_url_check_mode": { "value": 1 }
}
}
]
},
"RendererCodeIntegrityEnabled": {
"os": ["win"],
"policy_pref_mapping_tests": [
{
"policies": { "RendererCodeIntegrityEnabled": true },
"prefs": { "renderer_code_integrity_enabled": { "location": "local_state" } }
}
]
},
"HSTSPolicyBypassList": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "HSTSPolicyBypassList": ["example"]},
"prefs": { "hsts.policy.upgrade_bypass_list": { "location": "local_state" } }
}
]
},
"TotalMemoryLimitMb": {
"os": [
"win",
"mac"
],
"policy_pref_mapping_tests": [
{
"policies": { "TotalMemoryLimitMb": 2048 },
"prefs": { "total_memory_limit_mb": { "location": "local_state" } }
}
]
},
"TLS13HardeningForLocalAnchorsEnabled": {
"note": "This policy is retired, see https://crbug.com/1012400."
},
"CorsMitigationList": {
"note": "This policy has been removed, as of M84."
},
"CorsLegacyModeEnabled": {
"note": "This policy has been removed, as of M84."
},
"StricterMixedContentTreatmentEnabled" : {
"note": "This policy has been removed, as of M85."
},
"UserDataSnapshotRetentionLimit" : {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_tests": [
{
"policies": { "UserDataSnapshotRetentionLimit": 2 },
"prefs": {
"downgrade.snapshot_retention_limit": { "value": 2, "location": "local_state" }
}
}
]
},
"ForceLogoutUnauthenticatedUserEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "ForceLogoutUnauthenticatedUserEnabled": false },
"prefs": {
"profile.force_logout_unauthenticated_user_enabled": {
"value": false
}
}
},
{
"policies": { "ForceLogoutUnauthenticatedUserEnabled": true },
"prefs": {
"profile.force_logout_unauthenticated_user_enabled": {
"value": true
}
}
},
{
"policies": {},
"prefs": {
"profile.force_logout_unauthenticated_user_enabled": {
"value": false,
"expect_default": true
}
}
}
]
},
"AdvancedProtectionDeepScanningEnabled": {
"note": "This policy was replaced with AdvancedProtectionAllowed in M82"
},
"AdvancedProtectionAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AdvancedProtectionAllowed": true },
"prefs": {
"safebrowsing.advanced_protection_allowed": {}
}
}
]
},
"SystemProxySettings": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"SystemProxySettings": {
"system_proxy_enabled": "true",
"system_services_username": "test_user",
"system_services_password": "0000",
"policy_credentials_auth_schemes": ["basic","digest"]
}
},
"prefs": {
"cros.system_proxy_settings": { "location": "local_state" }
}
}
]
},
"NativeWindowOcclusionEnabled": {
"os": ["win"],
"policy_pref_mapping_tests": [
{
"policies": {
"NativeWindowOcclusionEnabled": true
},
"prefs": { "policy.native_window_occlusion_enabled": {"location": "local_state"} }
}
]
},
"TabFreezingEnabled": {},
"AccessibilityImageLabelsEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "AccessibilityImageLabelsEnabled": true },
"prefs": {
"settings.a11y.enable_accessibility_image_labels": {}
}
}
]
},
"AppCacheForceEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "AppCacheForceEnabled": true },
"prefs": {
"app_cache_force_enabled": {
"value": true
}
}
}
]
},
"IntensiveWakeUpThrottlingEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "IntensiveWakeUpThrottlingEnabled": true },
"prefs": {
"policy.intensive_wake_up_throttling_enabled": {
"location": "local_state",
"value": true
}
}
}
]
},
"UserAgentClientHintsEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "UserAgentClientHintsEnabled": true },
"prefs": {
"policy.user_agent_client_hints_enabled": {
"location": "local_state",
"value": true
}
}
}
]
},
"ShowFullUrlsInAddressBar": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_tests": [
{
"policies": { "ShowFullUrlsInAddressBar": true },
"prefs": { "omnibox.prevent_url_elisions": {} }
}
]
},
"InsecureFormsWarningsEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "InsecureFormsWarningsEnabled": true },
"prefs": { "profile.mixed_forms_warnings": {} }
}
]
},
"LookalikeWarningAllowlistDomains": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_tests": [
{
"policies": { "LookalikeWarningAllowlistDomains": ["example.com"]},
"prefs": { "profile.lookalike_domain_allowlist": {} }
}
]
},
"DeviceChannelDowngradeBehavior": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DeviceChannelDowngradeBehavior": 0 },
"prefs": { "cros.system.channelDowngradeBehavior": {} }
}
]
},
"BackForwardCacheEnabled": {
"os": ["android"],
"policy_pref_mapping_tests": [
{
"policies": { "BackForwardCacheEnabled": true },
"prefs": {
"policy.back_forward_cache_enabled": {
"location": "local_state",
"value": true
}
}
}
]
},
"CCTToSDialogEnabled": {
"note": "This policy has been removed. See https://crbug.com/1141198"
},
"TosDialogBehavior": {
"os": ["android"],
"policy_pref_mapping_tests": [
{
"policies": { "TosDialogBehavior": 2 },
"prefs": { "policy.cct_tos_dialog_behavior": { "location": "local_state" } }
}
]
},
"DefaultFileSystemReadGuardSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultFileSystemReadGuardSetting": 2 },
"prefs": { "profile.managed_default_content_settings.file_system_read_guard": {} }
}
]
},
"DefaultFileSystemWriteGuardSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "DefaultFileSystemWriteGuardSetting": 2 },
"prefs": { "profile.managed_default_content_settings.file_system_write_guard": {} }
}
]
},
"FileSystemReadAskForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"FileSystemReadAskForUrls": ["[*.].com"]},
"prefs": { "profile.managed_file_system_read_ask_for_urls": {}},
"note": "TODO(mek): Add indicator tests. TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"FileSystemReadBlockedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"FileSystemReadBlockedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_file_system_read_blocked_for_urls": {} },
"note": "TODO(mek): Add indicator tests. TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"FileSystemWriteAskForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"FileSystemWriteAskForUrls": ["[*.].com"]},
"prefs": { "profile.managed_file_system_write_ask_for_urls": {}},
"note": "TODO(mek): Add indicator tests. TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"FileSystemWriteBlockedForUrls": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"FileSystemWriteBlockedForUrls": ["[*.]google.com"]},
"prefs": { "profile.managed_file_system_write_blocked_for_urls": {} },
"note": "TODO(mek): Add indicator tests. TODO(bartfab): Flag this with can_be_recommended when http://crbug.com/106682 is fixed."
}
]
},
"DataLeakPreventionRulesList": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {
"DataLeakPreventionRulesList": [
{
"name": "Support agent work flows",
"description": "Allow copy and paste for work purposes but block screenshots, screen share and printing",
"sources": {
"urls": [
"salesforce.com",
"gmail.com",
"docs.google.com",
"drive.google.com",
"*.company.com"
]
},
"destinations": {
"urls": [
"salesforce.com",
"gmail.com",
"docs.google.com",
"drive.google.com",
"*.company.com"
],
"components": []
},
"restrictions": [
{
"class": "CLIPBOARD",
"level": "ALLOW"
},
{
"class": "SCREENSHOT",
"level": "BLOCK"
},
{
"class": "PRINTING",
"level": "BLOCK"
},
{
"class": "PRIVACY_SCREEN",
"level": "BLOCK"
},
{
"class": "SCREEN_SHARE",
"level": "BLOCK"
}
]
}
]
},
"prefs": { "policy.dlp_rules_list": { "location": "local_state" } }
}
]
},
"WebRtcAllowLegacyTLSProtocols": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "WebRtcAllowLegacyTLSProtocols": false },
"prefs": { "webrtc.allow_legacy_tls_protocols": {} }
}
]
},
"MediaRecommendationsEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_tests": [
{
"policies": { "MediaRecommendationsEnabled": false },
"prefs": { "kaleidoscope.enabled_by_policy": { } }
}
]
},
"EduCoexistenceToSVersion": {
"os": ["chromeos"],
"policy_pref_mapping_tests": [
{
"policies": {"EduCoexistenceToSVersion": "333024512" },
"prefs": { "family_link_user.edu_coexistence_tos_version": {} }
}
]
},
"BrowsingDataLifetime": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": { "BrowsingDataLifetime": [{"data_types": ["browsing_history"], "time_to_live_in_hours": 2}] },
"prefs": { "browsing_data_lifetime": { "value": [{"data_types": ["browsing_history"], "time_to_live_in_hours": 2}]} }
}
]
},
"LacrosAllowed": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_tests": [
{
"policies": { "LacrosAllowed": false },
"prefs": {
"lacros_allowed": { "location": "local_state" }
}
}
]
},
"IntegratedWebAuthenticationAllowed": {
"os": ["chromeos"],
"can_be_recommended": false,
"policy_pref_mapping_test": [
{
"policies": { "IntegratedWebAuthenticationAllowed": false },
"prefs": {
"auth.integrated_web_authentication_allowed": { "local_state": true }
}
}
]
}
}