Missing doorhanger and "netChange" telemetry when disconnecting and reconnecting to the network after changing the "DNSOverHTTPS" policy from false to true #197
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
}
}
}
[Steps to reproduce]:
Open the browser with the profile from prerequisites.
Go to about:config and add doh-rollout.enabled to true.
Go to about:telemetry#events-tab.
Disconnect from network.
Go to firefox/distribution and change the "DNSOverHTTPS" policy from false to true.
Reconnect to network.
Wait ~1min and refresh the about:telemetry#events-tab page.
[Expected result]:
Doorhanger is displayed and telemetry event with ValuenetChange is recevied.
[Actual result]:
Doorhanger isn't displayed and no telemetry event with "netChange" is generated.
[Notes]:
The issue is reproducible with the 1.2.0rc2 version of the add-on.
Following the steps mentioned above but without network disabling and enabling, just changing the "DNSOverHTTPS" policy from false to true and restart Firefox, doorhanger is missing too.
This is incorrect – if any policy is in place, the user should not see a door hanger, or have any heuristics ran period. This includes no telemetry for netChange events too.
[Affected Platforms]:
[Affected Versions]:
[Prerequisites]:
[Steps to reproduce]:
[Expected result]:
[Actual result]:
[Notes]: