blob: d45afbf074034178ef601d825aa392cf259fe699 [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.",
"local_state": "Whether |pref| is registered in local state's PrefService instead of the profile's PrefService. Defaults to |false| 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_test": [
{
"policies": {
"OverrideSecurityRestrictionsOnInsecureOrigin": [
"http://example.com/",
"*.example.com"
]
},
"prefs": { "unsafely_treat_insecure_origin_as_secure": { "local_state": true } }
}
]
},
"UnsafelyTreatInsecureOriginAsSecure": {
"note": "This policy is deprecated.",
"os": ["win", "linux", "mac"],
"policy_pref_mapping_test": [
{
"policies": {
"UnsafelyTreatInsecureOriginAsSecure": [
"http://example.com/",
"*.example.com"
]
},
"prefs": { "unsafely_treat_insecure_origin_as_secure": { "local_state": true } }
}
]
},
"HomepageLocation": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "HomepageLocation": "http://chromium.org" },
"prefs": { "homepage": {} }
}
]
},
"HomepageIsNewTabPage": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "HomepageIsNewTabPage": true }
}
]
},
"NewTabPageLocation": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "NewTabPageLocation": "http://.org" },
"prefs": { "newtab_page_location_override": {} }
}
]
},
"DefaultBrowserSettingEnabled": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_test": [
{
"policies": { "DefaultBrowserSettingEnabled": true },
"prefs": { "browser.default_browser_setting_enabled": { "local_state": true } }
}
]
},
"ApplicationLocaleValue": {
"os": ["win"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "ApplicationLocaleValue": "fr" },
"prefs": { "intl.app_locale": { "local_state": true } }
}
]
},
"AlternateErrorPagesEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "AlternateErrorPagesEnabled": false },
"prefs": { "alternate_error_pages.enabled": {} }
}
]
},
"SearchSuggestEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "DnsOverHttpsMode": "off" },
"prefs": { "dns_over_https.mode": { "local_state": true } }
}
]
},
"DnsOverHttpsTemplates": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": {
"DnsOverHttpsMode": "automatic",
"DnsOverHttpsTemplates": "https://cloudflare-dns.com/dns-query https://dns.quad9.net/dns-query{?dns}"
},
"prefs": { "dns_over_https.templates": { "local_state": true } }
}
]
},
"NetworkPredictionOptions": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"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_test": [{ "policies": { "QuicAllowed": true } }]
},
"DisabledSchemes": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "DisabledSchemes": ["file"] },
"prefs": { "policy.url_blacklist": {} }
}
]
},
"Http09OnNonDefaultPortsEnabled": {},
"JavascriptEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "IncognitoEnabled": false },
"prefs": { "incognito.mode_availability": {} }
}
]
},
"IncognitoModeAvailability": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "IncognitoModeAvailability": 1 },
"prefs": { "incognito.mode_availability": {} }
}
]
},
"SavingBrowserHistoryDisabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "SavingBrowserHistoryDisabled": true },
"prefs": { "history.saving_disabled": {} }
}
]
},
"AllowDeletingBrowserHistory": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"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": {},
"PrintingEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintingEnabled": false },
"prefs": { "printing.enabled": {} }
}
]
},
"PrintHeaderFooter": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintHeaderFooter": true },
"prefs": { "printing.print_header_footer": {} }
}
]
},
"PrintRasterizationMode": {
"os": ["win"],
"policy_pref_mapping_test": [
{
"policies": { "PrintRasterizationMode": 1 },
"prefs": { "printing.rasterization_mode": {} }
}
]
},
"PrinterTypeDenyList": {
"os": ["win", "linux", "mac", "chromeos"],
"test_policy": { "PrinterTypeDenyList": ["privet", "extension"] },
"policy_pref_mapping_test": [
{
"policies": { "PrinterTypeDenyList": [ "value1" ]},
"prefs": { "printing.printer_type_deny_list": {} }
}
]
},
"CloudPrintProxyEnabled": {
"os": [],
"policy_pref_mapping_test": [
{
"policies": { "CloudPrintProxyEnabled": true },
"prefs": { "cloud_print.enabled": {} }
}
]
},
"PrintingAllowedColorModes": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintingAllowedColorModes": "monochrome" },
"prefs": { "printing.allowed_color_modes": {} }
}
]
},
"PrintingAllowedDuplexModes": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintingAllowedDuplexModes": "duplex" },
"prefs": { "printing.allowed_duplex_modes": {} }
}
]
},
"PrintingAllowedPinModes": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintingAllowedPinModes": "pin" },
"prefs": { "printing.allowed_pin_modes": {} }
}
]
},
"PrintingAllowedBackgroundGraphicsModes": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintingAllowedBackgroundGraphicsModes": "enabled" },
"prefs": { "printing.allowed_background_graphics_modes": {} }
}
]
},
"PrintingColorDefault": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintingColorDefault": "monochrome" },
"prefs": { "printing.color_default": {} }
}
]
},
"PrintingDuplexDefault": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintingDuplexDefault": "long-edge" },
"prefs": { "printing.duplex_default": {} }
}
]
},
"PrintingPinDefault": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintingPinDefault": "pin" },
"prefs": { "printing.pin_default": {} }
}
]
},
"PrintingBackgroundGraphicsDefault": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintingBackgroundGraphicsDefault": "enabled" },
"prefs": { "printing.background_graphics_default": {} }
}
]
},
"PrintingPaperSizeDefault": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": {
"PrintingPaperSizeDefault": {
"name": "custom",
"custom_size": {
"width": 210000,
"height": 297000
}
}
},
"prefs": { "printing.paper_size_default": {} }
}
]
},
"PrintingSendUsernameAndFilenameEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PrintingSendUsernameAndFilenameEnabled": true },
"prefs": { "printing.send_username_and_filename_enabled": {} }
}
]
},
"PrintingMaxSheetsAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": {"PrintingMaxSheetsAllowed": 10},
"prefs": { "printing.max_sheets_allowed": {} }
}
]
},
"PrintJobHistoryExpirationPeriod": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": {"PrintJobHistoryExpirationPeriod": 90},
"prefs": { "printing.print_job_history_expiration_period": {} }
}
]
},
"DeletePrintJobHistoryAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"required_preprocessor_macros": [ "USE_CUPS" ],
"policies": { "PrintingAPIExtensionsWhitelist": [ "value1" ]},
"prefs": { "printing.printing_api_extensions_whitelist": {} }
}
]
},
"PrintingAPIExtensionsAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"required_preprocessor_macros": [ "USE_CUPS" ],
"policies": { "PrintingAPIExtensionsAllowlist": [ "value1" ]},
"prefs": { "printing.printing_api_extensions_whitelist": {} }
}
]
},
"CloudPrintSubmitEnabled": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_test": [
{
"policies": {"CloudPrintSubmitEnabled": false},
"prefs": { "cloud_print.submit_enabled": {} }
}
]
},
"CloudPrintWarningsSuppressed": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": {"CloudPrintWarningsSuppressed": true},
"prefs": { "cloud_print.deprecation_warnings_suppressed": {} }
}
]
},
"ExternalPrintServers": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "ExternalPrintServersWhitelist": ["id4", "id7", "id10"]},
"prefs": { "native_printing.external_print_servers_whitelist": {} }
}
]
},
"ExternalPrintServersAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "ExternalPrintServersAllowlist": ["id4", "id7", "id10"]},
"prefs": { "native_printing.external_print_servers_whitelist": {} }
}
]
},
"AllowNativeNotifications" : {
"os": ["linux"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"policies": {
"NativePrintersBulkConfiguration": {
"url": "https://example.com/policyfile",
"hash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
}
}
]
},
"PrintersBulkConfiguration": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "NativePrintersBulkAccessMode": 1 },
"prefs": { "native_printing.recommended_printers_access_mode": {} }
}
]
},
"PrintersBulkAccessMode": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "NativePrintersBulkBlacklist": ["id4", "id7", "id10"] },
"prefs": { "native_printing.recommended_printers_blacklist": {} }
}
]
},
"PrintersBulkBlocklist": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "NativePrintersBulkWhitelist": ["id4", "id7", "id10"] },
"prefs": { "native_printing.recommended_printers_whitelist": {} }
}
]
},
"PrintersBulkAllowlist": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "UserNativePrintersAllowed": true },
"prefs": { "native_printing.user_native_printers_allowed": {} }
}
]
},
"UserPrintersAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "UserPrintersAllowed": true },
"prefs": { "native_printing.user_native_printers_allowed": {} }
}
]
},
"LocalDiscoveryEnabled" : {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "LocalDiscoveryEnabled": false },
"prefs": { "local_discovery.enabled": {} }
}
]
},
"SafeBrowsingEnabled": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "SafeBrowsingEnabled": false },
"prefs": { "safebrowsing.enabled": {} }
}
]
},
"SafeBrowsingProtectionLevel": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "SafeBrowsingProtectionLevel": 2 },
"prefs": {
"safebrowsing.enabled": { "value": true },
"safebrowsing.enhanced": { "value": true }
}
}
]
},
"ForceSafeSearch": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "ForceSafeSearch": true }
}
]
},
"ForceGoogleSafeSearch": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "ForceGoogleSafeSearch": true },
"prefs": { "settings.force_google_safesearch": {} }
}
]
},
"ForceLegacyDefaultReferrerPolicy": {},
"ForceYouTubeSafetyMode": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "ForceYouTubeSafetyMode": true }
}
]
},
"ForceYouTubeRestrict": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "ForceYouTubeRestrict": 1 },
"prefs": { "settings.force_youtube_restrict": {} }
}
]
},
"MetricsReportingEnabled": {
"os": ["win", "mac", "linux"],
"official_only": true,
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "MetricsReportingEnabled": false },
"prefs": { "user_experience_metrics.reporting_enabled": { "local_state": true } },
"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_test": [
{
"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_test": [
{
"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_test": [
{
"policies": { "AutoFillEnabled": false },
"prefs": { "autofill.enabled": {} }
}
]
},
"AutofillAddressEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "AutofillAddressEnabled": false },
"prefs": { "autofill.profile_enabled": {} }
}
]
},
"AutofillCreditCardEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"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_test": [
{
"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_test": [
{
"policies": { "SyncDisabled": true },
"prefs": { "sync.managed": {} }
}
]
},
"SyncTypesListDisabled": {
"os": ["win", "linux", "mac", "android", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "SyncTypesListDisabled": ["preferences", "bookmarks"] },
"prefs": {
"sync.preferences": { "value": false },
"sync.bookmarks": { "value": false}
}
}
]
},
"SigninAllowed": {
"os": ["win", "linux", "mac"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "DiskCacheDir": "${user_home}/test-cache" },
"prefs": { "browser.disk_cache_dir": { "local_state": true } }
}
]
},
"DiskCacheSize": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_test": [
{
"policies": { "DiskCacheSize": 100 },
"prefs": { "browser.disk_cache_size": { "local_state": true } }
}
]
},
"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_test": [
{
"policies": { "DownloadRestrictions": 3 },
"prefs": { "download_restrictions": {} }
}
]
},
"SafeBrowsingForTrustedSourcesEnabled": {
"os": ["win"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "SafeBrowsingForTrustedSourcesEnabled": false },
"prefs": { "safebrowsing_for_trusted_sources_enabled": {} }
}
]
},
"DownloadDirectory.0": {
"os": ["win", "mac", "linux", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "DownloadDirectory": "${google_drive}/downloads" },
"prefs": { "gdata.disabled": {} }
}
]
},
"AutoOpenFileTypes" : {
"os": ["win", "mac", "linux", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "AutoOpenFileTypes": ["exe", ".txt", "pdf"] },
"prefs": {
"download.extensions_to_open_by_policy": {"value" : ["exe", "pdf"] }
}
}
]
},
"AutoOpenAllowedForURLs": {
"os": ["win", "mac", "linux", "chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "CaptivePortalAuthenticationIgnoresProxy": true },
"prefs": { "proxy.captive_portal_ignores_proxy": {} }
}
]
},
"ProxyMode": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_test": [
{
"policies": { "ProxyMode": "direct" },
"prefs": { "proxy": {} }
}
]
},
"ProxyServerMode": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_test": [
{
"policies": { "ProxyServerMode": 0 },
"prefs": { "proxy": {} }
}
]
},
"ProxyServer": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_test": [
{
"policies": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080" },
"prefs": { "proxy": {} }
}
]
},
"ProxyPacUrl": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_test": [
{
"policies": { "ProxyMode": "pac_script", "ProxyPacUrl": "http://localhost:8080/proxy.pac" },
"prefs": { "proxy": {} }
}
]
},
"ProxyBypassList": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_test": [
{
"policies": { "ProxyMode": "fixed_servers", "ProxyServer": "http://localhost:8080", "ProxyBypassList": "localhost" },
"prefs": { "proxy": {} }
}
]
},
"ProxySettings": {
"os": ["linux", "win"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "EnableOnlineRevocationChecks": true },
"prefs": { "ssl.rev_checking.enabled": { "local_state": true } }
}
]
},
"RequireOnlineRevocationChecksForLocalAnchors": {
"os": ["win", "linux", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "RequireOnlineRevocationChecksForLocalAnchors": true },
"prefs": { "ssl.rev_checking.required_for_local_anchors": { "local_state": true } }
}
]
},
"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_test": [
{
"policies": { "BuiltinCertificateVerifierEnabled": true },
"prefs": { "builtin_certificate_verifier_enabled": { "local_state": true } }
}
]
},
"AuthSchemes": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "AuthSchemes": "AuthSchemes" },
"prefs": { "auth.schemes": { "local_state": true } }
}
]
},
"DisableAuthNegotiateCnameLookup": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "DisableAuthNegotiateCnameLookup": true },
"prefs": { "auth.disable_negotiate_cname_lookup": { "local_state": true } }
}
]
},
"EnableAuthNegotiatePort": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "EnableAuthNegotiatePort": true },
"prefs": { "auth.enable_negotiate_port": { "local_state": true } }
}
]
},
"AuthServerWhitelist": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "AuthServerWhitelist": "localhost" },
"prefs": { "auth.server_whitelist": { "local_state": true } }
}
]
},
"AuthServerAllowlist": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "AuthServerAllowlist": "localhost" },
"prefs": { "auth.server_whitelist": { "local_state": true } }
}
]
},
"AuthNegotiateDelegateWhitelist": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "AuthNegotiateDelegateWhitelist": "localhost" },
"prefs": { "auth.negotiate_delegate_whitelist": { "local_state": true } }
}
]
},
"AuthNegotiateDelegateAllowlist": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "AuthNegotiateDelegateAllowlist": "localhost" },
"prefs": { "auth.negotiate_delegate_whitelist": { "local_state": true } }
}
]
},
"AuthNegotiateDelegateByKdcPolicy": {
"os": ["linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "AuthNegotiateDelegateByKdcPolicy": true },
"prefs": { "auth.negotiate_delegate_by_kdc_policy": { "local_state": true } }
}
]
},
"GSSAPILibraryName": {
"os": ["linux"],
"policy_pref_mapping_test": [
{
"policies": { "GSSAPILibraryName": "libwhatever.so" },
"prefs": { "auth.gssapi_library_name": { "local_state": true } }
}
]
},
"AuthAndroidNegotiateAccountType": {
"os": ["android"],
"policy_pref_mapping_test": [
{
"policies": { "AuthAndroidNegotiateAccountType": "com.example.spnego" },
"prefs": { "auth.android_negotiate_account_type": { "local_state": true } }
}
]
},
"AllowCrossOriginAuthPrompt": {
"os": ["win", "mac", "linux"],
"policy_pref_mapping_test": [
{
"policies": { "AllowCrossOriginAuthPrompt": true },
"prefs": { "auth.allow_cross_origin_prompt": { "local_state": true } }
}
]
},
"NtlmV2Enabled": {
"os": ["linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "NtlmV2Enabled": true },
"prefs": { "auth.ntlm_v2_enabled": { "local_state": true } }
}
]
},
"KerberosEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "KerberosEnabled": true },
"prefs": { "kerberos.enabled": { "local_state": true } }
}
]
},
"KerberosRememberPasswordEnabled": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "KerberosRememberPasswordEnabled": false },
"prefs": { "kerberos.remember_password_enabled": { "local_state": true } }
}
]
},
"KerberosAddAccountsAllowed": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "KerberosAddAccountsAllowed": false },
"prefs": { "kerberos.add_accounts_allowed": { "local_state": true } }
}
]
},
"KerberosAccounts": {
"os": ["chromeos"],
"policy_pref_mapping_test": [
{
"policies": {
"KerberosAccounts": [
{
"principal": "user1@realm",
"password": "password1",
"remember_password": true
},
{
"principal": "${LOGIN_EMAIL}"
},
{
"principal": "${LOGIN_ID}",
"password": "${PASSWORD}",
"krb5conf": [
"line1",
"line2"
]
}
]
},
"prefs": { "kerberos.accounts": { "local_state": true } }
}
]
},
"PromptForDownloadLocation": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "PromptForDownloadLocation": false },
"prefs": { "download.prompt_for_download": {} }
}
]
},
"IsolateOrigins": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"policies": { "SpellcheckLanguage": ["fr"] },
"prefs": { "spellcheck.forced_dictionaries": {} }
}
]
},
"SpellcheckLanguageBlacklist": {
"os": ["win", "linux", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "SpellcheckLanguageBlacklist": ["fr"]},
"prefs": { "spellcheck.blacklisted_dictionaries": {} }
}
]
},
"SpellcheckLanguageBlocklist": {
"os": ["win", "linux", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "SpellcheckLanguageBlocklist": ["fr"]},
"prefs": { "spellcheck.blacklisted_dictionaries": {} }
}
]
},
"ThirdPartyBlockingEnabled": {
"os": ["win"],
"official_only": true,
"policy_pref_mapping_test": [
{
"policies": { "ThirdPartyBlockingEnabled": false },
"prefs": { "third_party_blocking_enabled": { "local_state": true } }
}
]
},
"SpellcheckEnabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "SpellcheckEnabled": false },
"prefs": { "browser.enable_spellchecking": {} }
}
]
},
"ExtensionAllowInsecureUpdates": {
"note": "Deprecated since Chrome 78."
},
"ExtensionInstallBlacklist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "ExtensionInstallBlacklist": ["*"] },
"prefs": { "extensions.install.denylist": {} }
}
]
},
"ExtensionInstallBlocklist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "ExtensionInstallBlocklist": ["*"] },
"prefs": { "extensions.install.denylist": {} }
}
]
},
"ExtensionInstallWhitelist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "ExtensionInstallWhitelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"]},
"prefs": { "extensions.install.allowlist": {} }
}
]
},
"ExtensionInstallAllowlist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "ExtensionInstallAllowlist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp"]},
"prefs": { "extensions.install.allowlist": {} }
}
]
},
"ExtensionInstallForcelist": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "ExtensionInstallForcelist": ["lcncmkcnkcdbbanbjakcencbaoegdjlp;https://clients2.google.com/service/update2/crx"] },
"prefs": { "extensions.install.forcelist": {} }
}
]
},
"ExtensionInstallSources": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "ExtensionInstallSources": ["https://www.corp.monkey.net/*"] },
"prefs": { "extensions.allowed_install_sites": {} }
}
]
},
"ExtensionAllowedTypes": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "ExtensionAllowedTypes": ["hosted_app"]},
"prefs": { "extensions.allowed_types": {} }
}
]
},
"ExtensionSettings": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"policies": { "BlockExternalExtensions": true },
"prefs": { "extensions.block_external_extensions": {} }
}
]
},
"ShowHomeButton": {
"os": ["win", "linux", "mac", "chromeos"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"policies": { "ShowHomeButton": true },
"prefs": { "browser.show_home_button": {} }
}
]
},
"DeveloperToolsDisabled": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"policies": { "RestoreOnStartupURLs": ["chromium.org"]},
"prefs": { "session.startup_urls": {} }
}
]
},
"BlockThirdPartyCookies": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"can_be_recommended": true,
"policy_pref_mapping_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"policies": { "LegacySameSiteCookieBehaviorEnabled": 1 },
"prefs": { "profile.managed_default_content_settings.legacy_cookie_access": {} }
}
]
},
"LegacySameSiteCookieBehaviorEnabledForDomainList": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "LegacySameSiteCookieBehaviorEnabledForDomainList": ["[*.]google.com"] },
"prefs": { "profile.managed_legacy_cookie_access_allowed_for_domains": {} }
}
]
},
"InsecurePrivateNetworkRequestsAllowed": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"policies": { "ScreenCaptureAllowed": false },
"prefs": { "hardware.screen_capture_enabled": {} }
}
]
},
"DefaultWebBluetoothGuardSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"policies": { "DefaultWebBluetoothGuardSetting": 2 },
"prefs": { "profile.managed_default_content_settings.web_bluetooth_guard": {} }
}
]
},
"DefaultWebUsbGuardSetting": {
"os": ["win", "linux", "mac", "chromeos", "android"],
"policy_pref_mapping_test": [
{
"policies": { "DefaultWebUsbGuardSetting": 2 },
"prefs": { "profile.managed_default_content_settings.web_usb_guard": {} }
}
]
},
"DefaultSerialGuardSetting": {
"os": ["win", "linux", "mac", "chromeos"],
"policy_pref_mapping_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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_test": [
{
"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."