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

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

Issue 2943763002: Add a new group policy to disable safe browsing for files downloaded from trusted sources. (Closed)
Patch Set: Rebase Created 3 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", "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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 542
543 "DownloadRestrictions": { 543 "DownloadRestrictions": {
544 "os": ["win", "mac", "linux", "chromeos"], 544 "os": ["win", "mac", "linux", "chromeos"],
545 "can_be_recommended": true, 545 "can_be_recommended": true,
546 "test_policy": { "DownloadRestrictions": 3 }, 546 "test_policy": { "DownloadRestrictions": 3 },
547 "pref_mappings": [ 547 "pref_mappings": [
548 { "pref": "download_restrictions" } 548 { "pref": "download_restrictions" }
549 ] 549 ]
550 }, 550 },
551 551
552 "SafeBrowsingForTrustedSourcesEnabled": {
553 "os": ["win", "mac", "linux", "chromeos"],
554 "can_be_recommended": true,
555 "test_policy": { "SafeBrowsingForTrustedSourcesEnabled": false },
556 "pref_mappings": [
557 { "pref": "safebrowsing_for_trusted_sources_enabled" }
558 ]
559 },
560
552 "DownloadDirectory.0": { 561 "DownloadDirectory.0": {
553 "os": ["win", "mac", "linux", "chromeos"], 562 "os": ["win", "mac", "linux", "chromeos"],
554 "can_be_recommended": true, 563 "can_be_recommended": true,
555 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" }, 564 "test_policy": { "DownloadDirectory": "${user_home}/test-downloads" },
556 "pref_mappings": [ 565 "pref_mappings": [
557 { "pref": "download.default_directory", 566 { "pref": "download.default_directory",
558 "indicator_tests": [ 567 "indicator_tests": [
559 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } } 568 { "policy": { "DownloadDirectory": "${user_home}/test-downloads" } }
560 ] 569 ]
561 }, 570 },
(...skipping 2558 matching lines...) Expand 10 before | Expand all | Expand 10 after
3120 3129
3121 "AdditionalLaunchParameters": { 3130 "AdditionalLaunchParameters": {
3122 }, 3131 },
3123 3132
3124 "SuppressChromeFrameTurndownPrompt": { 3133 "SuppressChromeFrameTurndownPrompt": {
3125 }, 3134 },
3126 3135
3127 "SkipMetadataCheck": { 3136 "SkipMetadataCheck": {
3128 } 3137 }
3129 } 3138 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698