Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: chrome/test/data/policy/policy_test_cases.json

Issue 1834783003: Added the SuppressUnsupportedOSWarning policy setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed policy_test_cases Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed 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 sing le policy.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed 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 sing le policy.",
4 4
5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."],
6 "official_only": "Whether this policy exists in official builds only. Defaul ts to |false| if not specified.", 6 "official_only": "Whether this policy exists in official builds only. Defaul ts to |false| if not specified.",
7 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.", 7 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.",
8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.", 8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.",
9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.", 9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.",
10 "pref_mappings": [ 10 "pref_mappings": [
(...skipping 1863 matching lines...) Expand 10 before | Expand all | Expand 10 after
1874 "WelcomePageOnOSUpgradeEnabled": { 1874 "WelcomePageOnOSUpgradeEnabled": {
1875 "os": ["win"], 1875 "os": ["win"],
1876 "test_policy": { "WelcomePageOnOSUpgradeEnabled": false }, 1876 "test_policy": { "WelcomePageOnOSUpgradeEnabled": false },
1877 "pref_mappings": [ 1877 "pref_mappings": [
1878 { "pref": "browser.welcome_page_on_os_upgrade_enabled", 1878 { "pref": "browser.welcome_page_on_os_upgrade_enabled",
1879 "local_state": true 1879 "local_state": true
1880 } 1880 }
1881 ] 1881 ]
1882 }, 1882 },
1883 1883
1884 "SuppressUnsupportedOSWarning": {
1885 "os": ["chromeos", "linux", "mac", "win"],
1886 "test_policy": { "SuppressUnsupportedOSWarning": true },
1887 "pref_mappings": [
1888 { "pref": "browser.suppress_unsupported_os_warning",
1889 "local_state": true
1890 }
1891 ]
1892 },
1893
1884 "----- Chrome OS policies ------------------------------------------------": { }, 1894 "----- Chrome OS policies ------------------------------------------------": { },
1885 1895
1886 "ChromeOsLockOnIdleSuspend": { 1896 "ChromeOsLockOnIdleSuspend": {
1887 "os": ["chromeos"], 1897 "os": ["chromeos"],
1888 "can_be_recommended": true, 1898 "can_be_recommended": true,
1889 "test_policy": { "ChromeOsLockOnIdleSuspend": true }, 1899 "test_policy": { "ChromeOsLockOnIdleSuspend": true },
1890 "pref_mappings": [ 1900 "pref_mappings": [
1891 { "pref": "settings.enable_screen_lock", 1901 { "pref": "settings.enable_screen_lock",
1892 "indicator_tests": [ 1902 "indicator_tests": [
1893 { "policy": { "ChromeOsLockOnIdleSuspend": true } } 1903 { "policy": { "ChromeOsLockOnIdleSuspend": true } }
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
2700 2710
2701 "AdditionalLaunchParameters": { 2711 "AdditionalLaunchParameters": {
2702 }, 2712 },
2703 2713
2704 "SuppressChromeFrameTurndownPrompt": { 2714 "SuppressChromeFrameTurndownPrompt": {
2705 }, 2715 },
2706 2716
2707 "SkipMetadataCheck": { 2717 "SkipMetadataCheck": {
2708 } 2718 }
2709 } 2719 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698