[
{
"os": [
"win",
"linux",
"mac",
"chromeos_ash",
"chromeos_lacros",
"android",
"fuchsia"
],
"policy_pref_mapping_tests": [
{
"note": "Check default values (no policies set)",
"prefs": {
"privacy_sandbox.first_party_sets_enabled": {
"default_value": true,
"location": "user_profile"
}
}
},
{
"note": "Check value when RelatedWebsiteSetsEnabled policy is set to true",
"policies": {
"RelatedWebsiteSetsEnabled": true
},
"prefs": {
"privacy_sandbox.first_party_sets_enabled": {
"location": "user_profile",
"value": true
}
}
},
{
"note": "Check value when RelatedWebsiteSetsEnabled policy is set to false",
"policies": {
"RelatedWebsiteSetsEnabled": false
},
"prefs": {
"privacy_sandbox.first_party_sets_enabled": {
"location": "user_profile",
"value": false
}
}
},
{
"note": "Check value when FirstPartySetsEnabled policy is set to true",
"policies": {
"FirstPartySetsEnabled": true
},
"prefs": {
"privacy_sandbox.first_party_sets_enabled": {
"location": "user_profile",
"value": true
}
}
},
{
"note": "Check value when FirstPartySetsEnabled policy is set to false",
"policies": {
"FirstPartySetsEnabled": false
},
"prefs": {
"privacy_sandbox.first_party_sets_enabled": {
"location": "user_profile",
"value": false
}
}
},
{
"note": "Check value when FirstPartySetsEnabled and RelatedWebsiteSetsEnabled are both set",
"policies": {
"FirstPartySetsEnabled": true,
"RelatedWebsiteSetsEnabled": false
},
"prefs": {
"privacy_sandbox.first_party_sets_enabled": {
"location": "user_profile",
"value": false
}
}
}
]
}
]