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

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

Issue 2369353002: Adds a pref and a policy to decide if PDFs should always be opened externally. (Closed)
Patch Set: Address comments. Created 4 years, 2 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 }, 377 },
378 378
379 "DisabledPluginsExceptions": { 379 "DisabledPluginsExceptions": {
380 "os": ["win", "linux", "mac", "chromeos"], 380 "os": ["win", "linux", "mac", "chromeos"],
381 "test_policy": { "DisabledPluginsExceptions": ["Flash"] }, 381 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
382 "pref_mappings": [ 382 "pref_mappings": [
383 { "pref": "plugins.plugins_disabled_exceptions" } 383 { "pref": "plugins.plugins_disabled_exceptions" }
384 ] 384 ]
385 }, 385 },
386 386
387 "AlwaysOpenPdfExternally": {
388 "os": ["win", "linux", "mac"],
389 "test_policy": { "AlwaysOpenPdfExternally": true },
390 "pref_mappings": [
391 { "pref": "plugins.always_open_pdf_externally" }
392 ]
393 },
394
387 "DisablePluginFinder": { 395 "DisablePluginFinder": {
388 "os": ["win", "linux", "mac", "chromeos"], 396 "os": ["win", "linux", "mac", "chromeos"],
389 "test_policy": { "DisablePluginFinder": true }, 397 "test_policy": { "DisablePluginFinder": true },
390 "pref_mappings": [ 398 "pref_mappings": [
391 { "pref": "plugins.disable_plugin_finder", 399 { "pref": "plugins.disable_plugin_finder",
392 "local_state": true 400 "local_state": true
393 } 401 }
394 ] 402 ]
395 }, 403 },
396 404
(...skipping 2498 matching lines...) Expand 10 before | Expand all | Expand 10 after
2895 2903
2896 "AdditionalLaunchParameters": { 2904 "AdditionalLaunchParameters": {
2897 }, 2905 },
2898 2906
2899 "SuppressChromeFrameTurndownPrompt": { 2907 "SuppressChromeFrameTurndownPrompt": {
2900 }, 2908 },
2901 2909
2902 "SkipMetadataCheck": { 2910 "SkipMetadataCheck": {
2903 } 2911 }
2904 } 2912 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698