| OLD | NEW |
| 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 "test_policy": { "AutoFillEnabled": false }, | 360 "test_policy": { "AutoFillEnabled": false }, |
| 361 "pref_mappings": [ | 361 "pref_mappings": [ |
| 362 { "pref": "autofill.enabled", | 362 { "pref": "autofill.enabled", |
| 363 "indicator_tests": [ | 363 "indicator_tests": [ |
| 364 { "policy": { "AutoFillEnabled": false } } | 364 { "policy": { "AutoFillEnabled": false } } |
| 365 ] | 365 ] |
| 366 } | 366 } |
| 367 ] | 367 ] |
| 368 }, | 368 }, |
| 369 | 369 |
| 370 "DisabledPlugins": { | 370 "DisabledPlugins.0": { |
| 371 "note": "This policy is deprecated. This test tests its migration path.", |
| 371 "os": ["win", "linux", "mac", "chromeos"], | 372 "os": ["win", "linux", "mac", "chromeos"], |
| 372 "test_policy": { "DisabledPlugins": ["Flash"] }, | 373 "test_policy": { "DisabledPlugins": ["*Flash*"] }, |
| 373 "pref_mappings": [ | 374 "pref_mappings": [ |
| 374 { "pref": "plugins.plugins_disabled" } | 375 { "pref": "profile.managed_default_content_settings.plugins", |
| 376 "indicator_selector": "[content-setting=plugins]", |
| 377 "indicator_tests": [ |
| 378 { "policy": { "DisabledPlugins": ["*Flash*"] }, |
| 379 "value": "block"} |
| 380 ] |
| 381 } |
| 375 ] | 382 ] |
| 376 }, | 383 }, |
| 377 | 384 |
| 378 "EnabledPlugins": { | 385 "DisabledPlugins.1": { |
| 386 "note": "This policy is deprecated. This test tests its migration path.", |
| 379 "os": ["win", "linux", "mac", "chromeos"], | 387 "os": ["win", "linux", "mac", "chromeos"], |
| 380 "test_policy": { "EnabledPlugins": ["Flash"] }, | 388 "test_policy": { "DisabledPlugins": ["*PDF*"] }, |
| 381 "pref_mappings": [ | 389 "pref_mappings": [ |
| 382 { "pref": "plugins.plugins_enabled" } | 390 { "pref": "plugins.always_open_pdf_externally", |
| 391 "indicator_tests": [ |
| 392 { "policy": { "DisabledPlugins": ["*PDF*"] }} |
| 393 ] |
| 394 } |
| 395 ] |
| 396 }, |
| 397 |
| 398 "EnabledPlugins.0": { |
| 399 "note": "This policy is deprecated. This test tests its migration path.", |
| 400 "os": ["win", "linux", "mac", "chromeos"], |
| 401 "test_policy": { "EnabledPlugins": ["*Flash*"] }, |
| 402 "pref_mappings": [ |
| 403 { "pref": "profile.managed_default_content_settings.plugins", |
| 404 "indicator_selector": "[content-setting=plugins]", |
| 405 "indicator_tests": [ |
| 406 { "policy": { "EnabledPlugins": ["*Flash*"] }, |
| 407 "value": "allow"} |
| 408 ] |
| 409 } |
| 410 ] |
| 411 }, |
| 412 |
| 413 "EnabledPlugins.1": { |
| 414 "note": "This policy is deprecated. This test tests its migration path.", |
| 415 "os": ["win", "linux", "mac", "chromeos"], |
| 416 "test_policy": { "EnabledPlugins": ["*PDF*"] }, |
| 417 "pref_mappings": [ |
| 418 { "pref": "plugins.always_open_pdf_externally", |
| 419 "indicator_tests": [ |
| 420 { "policy": { "EnabledPlugins": ["*PDF*"] }} |
| 421 ] |
| 422 } |
| 383 ] | 423 ] |
| 384 }, | 424 }, |
| 385 | 425 |
| 386 "DisabledPluginsExceptions": { | 426 "DisabledPluginsExceptions": { |
| 387 "os": ["win", "linux", "mac", "chromeos"], | 427 "note": "This policy is deprecated it doesn't map to a pref value anymore.", |
| 388 "test_policy": { "DisabledPluginsExceptions": ["Flash"] }, | 428 "os": ["win", "linux", "mac", "chromeos"] |
| 389 "pref_mappings": [ | |
| 390 { "pref": "plugins.plugins_disabled_exceptions" } | |
| 391 ] | |
| 392 }, | 429 }, |
| 393 | 430 |
| 394 "AlwaysOpenPdfExternally": { | 431 "AlwaysOpenPdfExternally": { |
| 395 "os": ["win", "linux", "mac"], | 432 "os": ["win", "linux", "mac"], |
| 396 "test_policy": { "AlwaysOpenPdfExternally": true }, | 433 "test_policy": { "AlwaysOpenPdfExternally": true }, |
| 397 "pref_mappings": [ | 434 "pref_mappings": [ |
| 398 { "pref": "plugins.always_open_pdf_externally", | 435 { "pref": "plugins.always_open_pdf_externally", |
| 399 "indicator_tests": [ | 436 "indicator_tests": [ |
| 400 { "policy": { "AlwaysOpenPdfExternally": false }}, | 437 { "policy": { "AlwaysOpenPdfExternally": false }}, |
| 401 { "policy": { "AlwaysOpenPdfExternally": true }} | 438 { "policy": { "AlwaysOpenPdfExternally": true }} |
| (...skipping 2513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2915 | 2952 |
| 2916 "AdditionalLaunchParameters": { | 2953 "AdditionalLaunchParameters": { |
| 2917 }, | 2954 }, |
| 2918 | 2955 |
| 2919 "SuppressChromeFrameTurndownPrompt": { | 2956 "SuppressChromeFrameTurndownPrompt": { |
| 2920 }, | 2957 }, |
| 2921 | 2958 |
| 2922 "SkipMetadataCheck": { | 2959 "SkipMetadataCheck": { |
| 2923 } | 2960 } |
| 2924 } | 2961 } |
| OLD | NEW |