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

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

Issue 2030193004: Add a policy for disabling the stripping of PAC URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add better documentatiob Created 4 years, 6 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1749 matching lines...) Expand 10 before | Expand all | Expand 10 after
1760 "WPADQuickCheckEnabled": { 1760 "WPADQuickCheckEnabled": {
1761 "os": ["win", "linux", "mac", "chromeos"], 1761 "os": ["win", "linux", "mac", "chromeos"],
1762 "test_policy": { "WPADQuickCheckEnabled": true }, 1762 "test_policy": { "WPADQuickCheckEnabled": true },
1763 "pref_mappings": [ 1763 "pref_mappings": [
1764 { "pref": "proxy.quick_check_enabled", 1764 { "pref": "proxy.quick_check_enabled",
1765 "local_state": true 1765 "local_state": true
1766 } 1766 }
1767 ] 1767 ]
1768 }, 1768 },
1769 1769
1770 "PacHttpsUrlStrippingEnabled": {
1771 "os": ["win", "linux", "mac", "chromeos"],
1772 "test_policy": { "PacHttpsUrlStrippingEnabled": true },
1773 "pref_mappings": [
1774 { "pref": "proxy.pac_https_url_stripping_enabled",
1775 "local_state": true
1776 }
1777 ]
1778 },
1779
1770 "RegisteredProtocolHandlers": { 1780 "RegisteredProtocolHandlers": {
1771 "os": ["win", "linux", "mac", "chromeos"], 1781 "os": ["win", "linux", "mac", "chromeos"],
1772 "can_be_recommended": true, 1782 "can_be_recommended": true,
1773 "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": " http://example.com/%s", "default": "true"} }, 1783 "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": " http://example.com/%s", "default": "true"} },
1774 "pref_mappings": [ 1784 "pref_mappings": [
1775 { "pref": "custom_handlers.policy.registered_protocol_handlers", 1785 { "pref": "custom_handlers.policy.registered_protocol_handlers",
1776 "check_for_mandatory": false 1786 "check_for_mandatory": false
1777 } 1787 }
1778 ] 1788 ]
1779 }, 1789 },
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
2789 2799
2790 "AdditionalLaunchParameters": { 2800 "AdditionalLaunchParameters": {
2791 }, 2801 },
2792 2802
2793 "SuppressChromeFrameTurndownPrompt": { 2803 "SuppressChromeFrameTurndownPrompt": {
2794 }, 2804 },
2795 2805
2796 "SkipMetadataCheck": { 2806 "SkipMetadataCheck": {
2797 } 2807 }
2798 } 2808 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698