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

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

Issue 1124583007: Added QuicAllowed policy. Added unit and browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2357
Patch Set: Created 5 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
« no previous file with comments | « chrome/chrome_tests.gypi ('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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 ] 136 ]
137 }, 137 },
138 138
139 "DisableSpdy": { 139 "DisableSpdy": {
140 "os": ["win", "linux", "mac", "chromeos"], 140 "os": ["win", "linux", "mac", "chromeos"],
141 "test_policy": { "DisableSpdy": true }, 141 "test_policy": { "DisableSpdy": true },
142 "pref_mappings": [ 142 "pref_mappings": [
143 { "pref": "spdy.disabled" } 143 { "pref": "spdy.disabled" }
144 ] 144 ]
145 }, 145 },
146
147 "QuicAllowed": {
148 "os": ["win", "linux", "mac", "chromeos"],
149 "test_policy": { "QuicAllowed": true }
150 },
146 151
147 "DisabledSchemes": { 152 "DisabledSchemes": {
148 "os": ["win", "linux", "mac", "chromeos"], 153 "os": ["win", "linux", "mac", "chromeos"],
149 "test_policy": { "DisabledSchemes": ["file"] }, 154 "test_policy": { "DisabledSchemes": ["file"] },
150 "pref_mappings": [ 155 "pref_mappings": [
151 { "pref": "policy.url_blacklist" } 156 { "pref": "policy.url_blacklist" }
152 ] 157 ]
153 }, 158 },
154 159
155 "JavascriptEnabled": { 160 "JavascriptEnabled": {
(...skipping 2284 matching lines...) Expand 10 before | Expand all | Expand 10 after
2440 2445
2441 "AdditionalLaunchParameters": { 2446 "AdditionalLaunchParameters": {
2442 }, 2447 },
2443 2448
2444 "SuppressChromeFrameTurndownPrompt": { 2449 "SuppressChromeFrameTurndownPrompt": {
2445 }, 2450 },
2446 2451
2447 "SkipMetadataCheck": { 2452 "SkipMetadataCheck": {
2448 } 2453 }
2449 } 2454 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698