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

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

Issue 796543002: Plugin Power Saver: Implement option in Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "Fix" a browser test by disabling it. Fix a nit. Created 6 years 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 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 "DefaultPluginsSetting": { 1006 "DefaultPluginsSetting": {
1007 "os": ["win", "linux", "mac", "chromeos"], 1007 "os": ["win", "linux", "mac", "chromeos"],
1008 "test_policy": { "DefaultPluginsSetting": 2 }, 1008 "test_policy": { "DefaultPluginsSetting": 2 },
1009 "pref_mappings": [ 1009 "pref_mappings": [
1010 { "pref": "profile.managed_default_content_settings.plugins", 1010 { "pref": "profile.managed_default_content_settings.plugins",
1011 "indicator_selector": "[content-setting=plugins]", 1011 "indicator_selector": "[content-setting=plugins]",
1012 "indicator_tests": [ 1012 "indicator_tests": [
1013 { "policy": { "DefaultPluginsSetting": 1 }, 1013 { "policy": { "DefaultPluginsSetting": 1 },
1014 "value": "allow"}, 1014 "value": "allow"},
1015 { "policy": { "DefaultPluginsSetting": 2 }, 1015 { "policy": { "DefaultPluginsSetting": 2 },
1016 "value": "block"}, 1016 "value": "block"}
1017 { "policy": { "DefaultPluginsSetting": 3 },
1018 "value": "ask"}
1019 ] 1017 ]
1020 } 1018 }
1021 ], 1019 ],
1022 1020
1023 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed." 1021 "note": "TODO(bartfab): Flag this with can_be_recommended when http://crbug. com/106682 is fixed."
1024 }, 1022 },
1025 1023
1026 "DefaultPopupsSetting": { 1024 "DefaultPopupsSetting": {
1027 "os": ["win", "linux", "mac", "chromeos"], 1025 "os": ["win", "linux", "mac", "chromeos"],
1028 "test_policy": { "DefaultPopupsSetting": 2 }, 1026 "test_policy": { "DefaultPopupsSetting": 2 },
(...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after
2451 2449
2452 "AdditionalLaunchParameters": { 2450 "AdditionalLaunchParameters": {
2453 }, 2451 },
2454 2452
2455 "SuppressChromeFrameTurndownPrompt": { 2453 "SuppressChromeFrameTurndownPrompt": {
2456 }, 2454 },
2457 2455
2458 "SkipMetadataCheck": { 2456 "SkipMetadataCheck": {
2459 } 2457 }
2460 } 2458 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698