Add the policies.json in the firefox/distribution folder with the following content:
{
"policies": {
"DNSOverHTTPS": {
"Enabled": true,
"ProviderURL": "https://mozilla.cloudflare-dns.com/dns-query",
"Locked": true
}
}
}
Or
{
"policies": {
"DisablePocket": true
}
}
Or set from ADMX those policies for Windows.
[Steps to reproduce]:
Open the browser.
Go to about:config and add doh-rollout.enabled to true.
Go to about:telemetry#events-tab.
Bring back in focus the about:config page.
Wait ~1min.
[Expected result]:
The "network.trr.mode" pref doesn't change its value.
The DoH doorhanger is not displayed.
[Actual result]:
Here are a few scenarios depending on which policy was set:
If Pocket policy is set (via JSON or ADMX)
a. The network.trr.mode pref is 0 and policy_without_doh telemetry is received.
b. After ~1min the network.trr.mode is flipped to 2, doorhanger is displayed and enable_doh telemetry is received.
DNS policy is set to disable (via JSON or ADMX)
a. The network.trr.mode pref is 5 and disable_doh telemetry is received.
b. After ~1min the network.trr.mode is flipped to 0 and another disable_doh telemetry is received (NOTE if DNS policy is set by JSON and the network.trr.mode pref is locked, the value for network.trr.mode remains 5).
DNS policy is set to enable(via JSON or ADMX)
a. The network.trr.mode pref is 2 and enable_doh telemetry is received.
b. After ~1min the network.trr.mode is not flipped but another enable_doh telemetry is received and the DOH doorhanger is displayed (NOTE if DNS policy is set by JSON and the network.trr.mode pref is locked, the value for network.trr.mode remains 2).
[Notes]:
The issue is reproducible with the 1.3.0 in-tree add-on.
[Affected Platforms]:
[Affected Versions]:
[Prerequisites]:
Or
{ "policies": { "DisablePocket": true } } Or set from ADMX those policies for Windows.
[Steps to reproduce]:
[Expected result]:
[Actual result]: Here are a few scenarios depending on which policy was set:
[Notes]: