[
{
"os": [
"win",
"linux",
"mac",
"chromeos_ash",
"chromeos_lacros",
"fuchsia"
],
"simple_policy_pref_mapping_test": {
"pref_name": "devtools.availability",
"default_value": 0,
"values_to_test": [
0,
1,
2
]
}
},
{
"os": [
"win",
"linux",
"mac",
"chromeos_ash",
"chromeos_lacros",
"fuchsia"
],
"policy_pref_mapping_tests": [
{
"note": "DeveloperToolsAvailability (2=true) overwrites DeveloperToolsDisabled (1=false) if both are set",
"policies": {
"DeveloperToolsAvailability": 2,
"DeveloperToolsDisabled": false
},
"prefs": {
"devtools.availability": {
"value": 2
}
}
},
{
"note": "DeveloperToolsAvailability (1=false) overwrites DeveloperToolsDisabled (2=true) both are set",
"policies": {
"DeveloperToolsAvailability": 1,
"DeveloperToolsDisabled": true
},
"prefs": {
"devtools.availability": {
"value": 1
}
}
}
]
}
]