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

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

Issue 263423003: Add a policy to re-enable deprecated web platform features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch to WebPreferences, rebase. Created 6 years, 7 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 | Annotate | Revision Log
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 2077 matching lines...) Expand 10 before | Expand all | Expand 10 after
2088 }, 2088 },
2089 2089
2090 "NativeMessagingUserLevelHosts": { 2090 "NativeMessagingUserLevelHosts": {
2091 "os": ["win", "linux", "mac"], 2091 "os": ["win", "linux", "mac"],
2092 "test_policy": { "NativeMessagingUserLevelHosts": false }, 2092 "test_policy": { "NativeMessagingUserLevelHosts": false },
2093 "pref_mappings": [ 2093 "pref_mappings": [
2094 { "pref": "native_messaging.user_level_hosts" } 2094 { "pref": "native_messaging.user_level_hosts" }
2095 ] 2095 ]
2096 }, 2096 },
2097 2097
2098 "EnableDeprecatedWebPlatformFeatures": {
2099 "os": ["win", "linux", "mac", "chromeos", "android"],
2100 "test_policy": {
2101 "EnableDeprecatedWebPlatformFeatures": [
2102 "ShowModalDialog_EffectiveUntil20150430"
2103 ]
2104 },
2105 "pref_mappings": [
2106 { "pref": "webkit.webprefs.enable_deprecated_feature" }
2107 ]
2108 },
2109
2098 "----- Chrome OS device policies ---------------------------------------": {}, 2110 "----- Chrome OS device policies ---------------------------------------": {},
2099 2111
2100 "DevicePolicyRefreshRate": { 2112 "DevicePolicyRefreshRate": {
2101 "os": ["chromeos"], 2113 "os": ["chromeos"],
2102 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 2114 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2103 "pref_mappings": [ 2115 "pref_mappings": [
2104 { "pref": "policy.device_refresh_rate", 2116 { "pref": "policy.device_refresh_rate",
2105 "local_state": true } 2117 "local_state": true }
2106 ] 2118 ]
2107 }, 2119 },
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
2291 2303
2292 "AdditionalLaunchParameters": { 2304 "AdditionalLaunchParameters": {
2293 }, 2305 },
2294 2306
2295 "SuppressChromeFrameTurndownPrompt": { 2307 "SuppressChromeFrameTurndownPrompt": {
2296 }, 2308 },
2297 2309
2298 "SkipMetadataCheck": { 2310 "SkipMetadataCheck": {
2299 } 2311 }
2300 } 2312 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698