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

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

Issue 1890203002: Implement Web Restrictions in WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase (again!) 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
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 2735 matching lines...) Expand 10 before | Expand all | Expand 10 after
2746 ] 2746 ]
2747 }, 2747 },
2748 2748
2749 "SystemTimezoneAutomaticDetection": { 2749 "SystemTimezoneAutomaticDetection": {
2750 "os": ["chromeos"], 2750 "os": ["chromeos"],
2751 "test_policy": { "SystemTimezoneAutomaticDetection": 1 }, 2751 "test_policy": { "SystemTimezoneAutomaticDetection": 1 },
2752 "pref_mappings": [ 2752 "pref_mappings": [
2753 { "pref": "cros.device.system_timezone_automatic_detection" } 2753 { "pref": "cros.device.system_timezone_automatic_detection" }
2754 ] 2754 ]
2755 }, 2755 },
2756
2757 "WebRestrictionsAuthority": {
2758 },
2756 2759
2757 "TaskManagerEndProcessEnabled": { 2760 "TaskManagerEndProcessEnabled": {
2758 "os": ["win", "linux", "mac", "chromeos"], 2761 "os": ["win", "linux", "mac", "chromeos"],
2759 "test_policy": { "TaskManagerEndProcessEnabled": false }, 2762 "test_policy": { "TaskManagerEndProcessEnabled": false },
2760 "pref_mappings": [ 2763 "pref_mappings": [
2761 { 2764 {
2762 "pref": "task_manager.end_process_enabled", 2765 "pref": "task_manager.end_process_enabled",
2763 "local_state": true 2766 "local_state": true
2764 } 2767 }
2765 ] 2768 ]
(...skipping 26 matching lines...) Expand all
2792 2795
2793 "AdditionalLaunchParameters": { 2796 "AdditionalLaunchParameters": {
2794 }, 2797 },
2795 2798
2796 "SuppressChromeFrameTurndownPrompt": { 2799 "SuppressChromeFrameTurndownPrompt": {
2797 }, 2800 },
2798 2801
2799 "SkipMetadataCheck": { 2802 "SkipMetadataCheck": {
2800 } 2803 }
2801 } 2804 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698