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

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

Issue 2696283007: DevTools: disable the Chrome tab debugging warning for force-installed extensions. (Closed)
Patch Set: review comments addressed Created 3 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", "android", "Defaults to empty if not specifie d."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie d."],
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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 { "pref": "devtools.disabled", 859 { "pref": "devtools.disabled",
860 "indicator_test_url": "chrome://extensions-frame/", 860 "indicator_test_url": "chrome://extensions-frame/",
861 "indicator_selector": "#dev-toggle-disabled-by-policy-indicator", 861 "indicator_selector": "#dev-toggle-disabled-by-policy-indicator",
862 "indicator_tests": [ 862 "indicator_tests": [
863 { "policy": { "DeveloperToolsDisabled": true } } 863 { "policy": { "DeveloperToolsDisabled": true } }
864 ] 864 ]
865 } 865 }
866 ] 866 ]
867 }, 867 },
868 868
869 "DeveloperToolsSilentManagedDebuggerAPIEnabled": {
870 "os": ["win", "linux", "mac", "chromeos"],
871 "test_policy": { "DeveloperToolsSilentManagedDebuggerAPIEnabled": true },
872 "pref_mappings": [
873 { "pref": "devtools.silent_managed_debugger_api" }
874 ]
875 },
876
869 "RestoreOnStartup": { 877 "RestoreOnStartup": {
870 "os": ["win", "linux", "mac", "chromeos"], 878 "os": ["win", "linux", "mac", "chromeos"],
871 "can_be_recommended": true, 879 "can_be_recommended": true,
872 "test_policy": { "RestoreOnStartup": 4 }, 880 "test_policy": { "RestoreOnStartup": 4 },
873 "pref_mappings": [ 881 "pref_mappings": [
874 { "pref": "session.restore_on_startup", 882 { "pref": "session.restore_on_startup",
875 "indicator_tests": [ 883 "indicator_tests": [
876 { "policy": { "RestoreOnStartup": 1 }, 884 { "policy": { "RestoreOnStartup": 1 },
877 "value": "1"}, 885 "value": "1"},
878 { "policy": { "RestoreOnStartup": 4 }, 886 { "policy": { "RestoreOnStartup": 4 },
(...skipping 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after
3073 3081
3074 "AdditionalLaunchParameters": { 3082 "AdditionalLaunchParameters": {
3075 }, 3083 },
3076 3084
3077 "SuppressChromeFrameTurndownPrompt": { 3085 "SuppressChromeFrameTurndownPrompt": {
3078 }, 3086 },
3079 3087
3080 "SkipMetadataCheck": { 3088 "SkipMetadataCheck": {
3081 } 3089 }
3082 } 3090 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698