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

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

Issue 27635002: Content settings for <audio> and <video>. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test fix. Created 6 years, 5 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 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 "value": "allow"}, 939 "value": "allow"},
940 { "policy": { "DefaultJavaScriptSetting": 2 }, 940 { "policy": { "DefaultJavaScriptSetting": 2 },
941 "value": "block"} 941 "value": "block"}
942 ] 942 ]
943 } 943 }
944 ], 944 ],
945 945
946 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 946 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
947 }, 947 },
948 948
949 "DefaultMediaSetting": {
950 "os": ["win", "linux", "mac", "chromeos"],
951 "test_policy": { "DefaultMediaSetting": 2 },
952 "pref_mappings": [
953 { "pref": "profile.managed_default_content_settings.media",
954 "indicator_selector": "[content-setting=media]",
955 "indicator_tests": [
956 { "policy": { "DefaultMediaSetting": 1 },
957 "value": "allow"},
958 { "policy": { "DefaultMediaSetting": 2 },
959 "value": "block"}
960 ]
961 }
962 ],
963
964 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
965 },
966
949 "DefaultPluginsSetting": { 967 "DefaultPluginsSetting": {
950 "os": ["win", "linux", "mac", "chromeos"], 968 "os": ["win", "linux", "mac", "chromeos"],
951 "test_policy": { "DefaultPluginsSetting": 2 }, 969 "test_policy": { "DefaultPluginsSetting": 2 },
952 "pref_mappings": [ 970 "pref_mappings": [
953 { "pref": "profile.managed_default_content_settings.plugins", 971 { "pref": "profile.managed_default_content_settings.plugins",
954 "indicator_selector": "[content-setting=plugins]", 972 "indicator_selector": "[content-setting=plugins]",
955 "indicator_tests": [ 973 "indicator_tests": [
956 { "policy": { "DefaultPluginsSetting": 1 }, 974 { "policy": { "DefaultPluginsSetting": 1 },
957 "value": "allow"}, 975 "value": "allow"},
958 { "policy": { "DefaultPluginsSetting": 2 }, 976 { "policy": { "DefaultPluginsSetting": 2 },
(...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after
2333 2351
2334 "AdditionalLaunchParameters": { 2352 "AdditionalLaunchParameters": {
2335 }, 2353 },
2336 2354
2337 "SuppressChromeFrameTurndownPrompt": { 2355 "SuppressChromeFrameTurndownPrompt": {
2338 }, 2356 },
2339 2357
2340 "SkipMetadataCheck": { 2358 "SkipMetadataCheck": {
2341 } 2359 }
2342 } 2360 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698