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

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

Issue 344693004: Add a policy to re-enable deprecated web platform features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to ToT Created 6 years, 6 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after
2107 }, 2107 },
2108 2108
2109 "NativeMessagingUserLevelHosts": { 2109 "NativeMessagingUserLevelHosts": {
2110 "os": ["win", "linux", "mac"], 2110 "os": ["win", "linux", "mac"],
2111 "test_policy": { "NativeMessagingUserLevelHosts": false }, 2111 "test_policy": { "NativeMessagingUserLevelHosts": false },
2112 "pref_mappings": [ 2112 "pref_mappings": [
2113 { "pref": "native_messaging.user_level_hosts" } 2113 { "pref": "native_messaging.user_level_hosts" }
2114 ] 2114 ]
2115 }, 2115 },
2116 2116
2117 "EnableDeprecatedWebPlatformFeatures": {
2118 "os": ["win", "linux", "mac", "chromeos"],
2119 "test_policy": {
2120 "EnableDeprecatedWebPlatformFeatures": [
2121 "ShowModalDialog_EffectiveUntil20150430"
2122 ]
2123 },
2124 "pref_mappings": [
2125 { "pref": "enable_deprecated_web_platform_features" }
2126 ]
2127 },
2128
2117 "TouchVirtualKeyboardEnabled": { 2129 "TouchVirtualKeyboardEnabled": {
2118 "os": ["chromeos"], 2130 "os": ["chromeos"],
2119 "test_policy": { "TouchVirtualKeyboardEnabled": false }, 2131 "test_policy": { "TouchVirtualKeyboardEnabled": false },
2120 "pref_mappings": [ 2132 "pref_mappings": [
2121 { "pref": "ui.touch_virtual_keyboard_enabled" } 2133 { "pref": "ui.touch_virtual_keyboard_enabled" }
2122 ] 2134 ]
2123 }, 2135 },
2124 2136
2125 "----- Chrome OS device policies ---------------------------------------": {}, 2137 "----- Chrome OS device policies ---------------------------------------": {},
2126 2138
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
2321 2333
2322 "AdditionalLaunchParameters": { 2334 "AdditionalLaunchParameters": {
2323 }, 2335 },
2324 2336
2325 "SuppressChromeFrameTurndownPrompt": { 2337 "SuppressChromeFrameTurndownPrompt": {
2326 }, 2338 },
2327 2339
2328 "SkipMetadataCheck": { 2340 "SkipMetadataCheck": {
2329 } 2341 }
2330 } 2342 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698