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

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: Respond to comments, and fix a possible race in displaying error page Created 4 years, 7 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 2696 matching lines...) Expand 10 before | Expand all | Expand 10 after
2707 ] 2707 ]
2708 }, 2708 },
2709 2709
2710 "SystemTimezoneAutomaticDetection": { 2710 "SystemTimezoneAutomaticDetection": {
2711 "os": ["chromeos"], 2711 "os": ["chromeos"],
2712 "test_policy": { "SystemTimezoneAutomaticDetection": 1 }, 2712 "test_policy": { "SystemTimezoneAutomaticDetection": 1 },
2713 "pref_mappings": [ 2713 "pref_mappings": [
2714 { "pref": "cros.device.system_timezone_automatic_detection" } 2714 { "pref": "cros.device.system_timezone_automatic_detection" }
2715 ] 2715 ]
2716 }, 2716 },
2717
2718 "WebRestrictionsAuthority": {
2719 },
2717 2720
2718 "TaskManagerEndProcessEnabled": { 2721 "TaskManagerEndProcessEnabled": {
2719 "os": ["win", "linux", "mac", "chromeos"], 2722 "os": ["win", "linux", "mac", "chromeos"],
2720 "test_policy": { "TaskManagerEndProcessEnabled": false }, 2723 "test_policy": { "TaskManagerEndProcessEnabled": false },
2721 "pref_mappings": [ 2724 "pref_mappings": [
2722 { 2725 {
2723 "pref": "task_manager.end_process_enabled", 2726 "pref": "task_manager.end_process_enabled",
2724 "local_state": true 2727 "local_state": true
2725 } 2728 }
2726 ] 2729 ]
(...skipping 26 matching lines...) Expand all
2753 2756
2754 "AdditionalLaunchParameters": { 2757 "AdditionalLaunchParameters": {
2755 }, 2758 },
2756 2759
2757 "SuppressChromeFrameTurndownPrompt": { 2760 "SuppressChromeFrameTurndownPrompt": {
2758 }, 2761 },
2759 2762
2760 "SkipMetadataCheck": { 2763 "SkipMetadataCheck": {
2761 } 2764 }
2762 } 2765 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698