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

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

Issue 431493003: Implement policy for kNetworkPredictionOptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "test_policy": { "DnsPrefetchingEnabled": false }, 114 "test_policy": { "DnsPrefetchingEnabled": false },
115 "pref_mappings": [ 115 "pref_mappings": [
116 { "pref": "dns_prefetching.enabled", 116 { "pref": "dns_prefetching.enabled",
117 "indicator_tests": [ 117 "indicator_tests": [
118 { "policy": { "DnsPrefetchingEnabled": false } } 118 { "policy": { "DnsPrefetchingEnabled": false } }
119 ] 119 ]
120 } 120 }
121 ] 121 ]
122 }, 122 },
123 123
124 "NetworkPredictionOptions": {
125 "os": ["win", "linux", "mac", "chromeos"],
126 "can_be_recommended": true,
127 "test_policy": { "NetworkPredictionOptions": 2 },
128 "pref_mappings": [
129 { "pref": "net.network_prediction_options",
Joao da Silva 2014/07/30 13:33:32 Setting this value to the old value should fix the
Bence 2014/07/31 20:41:11 Done.
130 "indicator_tests": [
131 { "policy": { "NetworkPredictionOptions": 2 } }
132 ]
133 }
134 ]
135 },
136
124 "DisableSpdy": { 137 "DisableSpdy": {
125 "os": ["win", "linux", "mac", "chromeos"], 138 "os": ["win", "linux", "mac", "chromeos"],
126 "test_policy": { "DisableSpdy": true }, 139 "test_policy": { "DisableSpdy": true },
127 "pref_mappings": [ 140 "pref_mappings": [
128 { "pref": "spdy.disabled" } 141 { "pref": "spdy.disabled" }
129 ] 142 ]
130 }, 143 },
131 144
132 "DisabledSchemes": { 145 "DisabledSchemes": {
133 "os": ["win", "linux", "mac", "chromeos"], 146 "os": ["win", "linux", "mac", "chromeos"],
(...skipping 2199 matching lines...) Expand 10 before | Expand all | Expand 10 after
2333 2346
2334 "AdditionalLaunchParameters": { 2347 "AdditionalLaunchParameters": {
2335 }, 2348 },
2336 2349
2337 "SuppressChromeFrameTurndownPrompt": { 2350 "SuppressChromeFrameTurndownPrompt": {
2338 }, 2351 },
2339 2352
2340 "SkipMetadataCheck": { 2353 "SkipMetadataCheck": {
2341 } 2354 }
2342 } 2355 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698