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

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: 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.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.",
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 2060 matching lines...) Expand 10 before | Expand all | Expand 10 after
2071 }, 2071 },
2072 2072
2073 "NativeMessagingUserLevelHosts": { 2073 "NativeMessagingUserLevelHosts": {
2074 "os": ["win", "linux", "mac"], 2074 "os": ["win", "linux", "mac"],
2075 "test_policy": { "NativeMessagingUserLevelHosts": false }, 2075 "test_policy": { "NativeMessagingUserLevelHosts": false },
2076 "pref_mappings": [ 2076 "pref_mappings": [
2077 { "pref": "native_messaging.user_level_hosts" } 2077 { "pref": "native_messaging.user_level_hosts" }
2078 ] 2078 ]
2079 }, 2079 },
2080 2080
2081 "EnableDeprecatedWebPlatformFeatures": {
2082 "os": ["win", "linux", "mac", "chromeos"],
Andrew T Wilson (Slow) 2014/05/08 11:32:45 Why not also android?
Mattias Nissler (ping if slow) 2014/05/09 16:38:27 Good point, fixed.
2083 "test_policy": {
2084 "EnableDeprecatedWebPlatformFeatures": [ "ShowModalDialog" ]
2085 },
2086 "pref_mappings": [
2087 { "pref": "enable_deprecated_web_platform_features" }
2088 ]
2089 },
2090
2081 "----- Chrome OS device policies ---------------------------------------": {}, 2091 "----- Chrome OS device policies ---------------------------------------": {},
2082 2092
2083 "DevicePolicyRefreshRate": { 2093 "DevicePolicyRefreshRate": {
2084 "os": ["chromeos"], 2094 "os": ["chromeos"],
2085 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 2095 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2086 "pref_mappings": [ 2096 "pref_mappings": [
2087 { "pref": "policy.device_refresh_rate", 2097 { "pref": "policy.device_refresh_rate",
2088 "local_state": true } 2098 "local_state": true }
2089 ] 2099 ]
2090 }, 2100 },
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
2274 2284
2275 "AdditionalLaunchParameters": { 2285 "AdditionalLaunchParameters": {
2276 }, 2286 },
2277 2287
2278 "SuppressChromeFrameTurndownPrompt": { 2288 "SuppressChromeFrameTurndownPrompt": {
2279 }, 2289 },
2280 2290
2281 "SkipMetadataCheck": { 2291 "SkipMetadataCheck": {
2282 } 2292 }
2283 } 2293 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698