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

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

Issue 1706503002: Add enterprise policy to turn off Bluetooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Switch to a unified browsertest Created 4 years, 10 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 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 { 1208 {
1209 "pref": "hardware.video_capture_allowed_urls", 1209 "pref": "hardware.video_capture_allowed_urls",
1210 "indicator_selector": "[content-exception=media-stream-camera]", 1210 "indicator_selector": "[content-exception=media-stream-camera]",
1211 "indicator_tests": [ 1211 "indicator_tests": [
1212 { "policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] } } 1212 { "policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] } }
1213 ] 1213 ]
1214 } 1214 }
1215 ] 1215 ]
1216 }, 1216 },
1217 1217
1218 "DefaultWebBluetoothGuardSetting": {
1219 "os": ["win", "linux", "mac", "chromeos"],
1220 "test_policy": { "DefaultWebBluetoothGuardSetting": 2 },
1221 "pref_mappings": [
1222 { "pref": "profile.managed_default_content_settings.web_bluetooth_guard" }
1223 ]
1224 },
1225
1218 "AutoSelectCertificateForUrls": { 1226 "AutoSelectCertificateForUrls": {
1219 "os": ["win", "linux", "mac", "chromeos"], 1227 "os": ["win", "linux", "mac", "chromeos"],
1220 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] }, 1228 "test_policy": { "AutoSelectCertificateForUrls": ["{'pattern':'https://examp le.com','filter':{'ISSUER':{'CN': 'issuer-name'}}}"] },
1221 "pref_mappings": [ 1229 "pref_mappings": [
1222 { "pref": "profile.managed_auto_select_certificate_for_urls" } 1230 { "pref": "profile.managed_auto_select_certificate_for_urls" }
1223 ], 1231 ],
1224 1232
1225 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1233 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1226 }, 1234 },
1227 1235
(...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after
2678 2686
2679 "AdditionalLaunchParameters": { 2687 "AdditionalLaunchParameters": {
2680 }, 2688 },
2681 2689
2682 "SuppressChromeFrameTurndownPrompt": { 2690 "SuppressChromeFrameTurndownPrompt": {
2683 }, 2691 },
2684 2692
2685 "SkipMetadataCheck": { 2693 "SkipMetadataCheck": {
2686 } 2694 }
2687 } 2695 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698