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

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

Issue 902223002: Plugin Power Saver: Remove ASK (left C2P). Replace with DETECT. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 963 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 "DefaultPluginsSetting": { 974 "DefaultPluginsSetting": {
975 "os": ["win", "linux", "mac", "chromeos"], 975 "os": ["win", "linux", "mac", "chromeos"],
976 "test_policy": { "DefaultPluginsSetting": 2 }, 976 "test_policy": { "DefaultPluginsSetting": 2 },
977 "pref_mappings": [ 977 "pref_mappings": [
978 { "pref": "profile.managed_default_content_settings.plugins", 978 { "pref": "profile.managed_default_content_settings.plugins",
979 "indicator_selector": "[content-setting=plugins]", 979 "indicator_selector": "[content-setting=plugins]",
980 "indicator_tests": [ 980 "indicator_tests": [
981 { "policy": { "DefaultPluginsSetting": 1 }, 981 { "policy": { "DefaultPluginsSetting": 1 },
982 "value": "allow"}, 982 "value": "allow"},
983 { "policy": { "DefaultPluginsSetting": 2 }, 983 { "policy": { "DefaultPluginsSetting": 2 },
984 "value": "block"}, 984 "value": "block"}
985 { "policy": { "DefaultPluginsSetting": 3 },
986 "value": "ask"}
987 ] 985 ]
988 } 986 }
989 ], 987 ],
990 988
991 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 989 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
992 }, 990 },
993 991
994 "DefaultPopupsSetting": { 992 "DefaultPopupsSetting": {
995 "os": ["win", "linux", "mac", "chromeos"], 993 "os": ["win", "linux", "mac", "chromeos"],
996 "test_policy": { "DefaultPopupsSetting": 2 }, 994 "test_policy": { "DefaultPopupsSetting": 2 },
(...skipping 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after
2413 2411
2414 "AdditionalLaunchParameters": { 2412 "AdditionalLaunchParameters": {
2415 }, 2413 },
2416 2414
2417 "SuppressChromeFrameTurndownPrompt": { 2415 "SuppressChromeFrameTurndownPrompt": {
2418 }, 2416 },
2419 2417
2420 "SkipMetadataCheck": { 2418 "SkipMetadataCheck": {
2421 } 2419 }
2422 } 2420 }
OLDNEW
« no previous file with comments | « chrome/renderer/resources/renderer_resources.grd ('k') | chrome/test/data/prerender/prerender_plugin_click_to_play.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698