Moved the logic to clear doh-rollout.self-enabled pref to occur at any event that should disable heuristics. ~at the same time as the rememberDisableHeuristics() is ran.~ This will remove the additional step of restarting the browser a SECOND time to clear the pref.
Expected behavior:
Enable add-on, turn on DoH via heuristics
Manually modify your DoH settings via about:preferences#networking (Uncheck DoH)
Trigger heuristics check by restarting browser OR change network.
Confirm that the pref, doh-rollout.self-enabled has no value.
Note that changing your network connect takes at least 60s to fire (after switching networks).
Also improves/resolves #184
doh-rollout.self-enabled
pref to occur at any event that should disable heuristics. ~at the same time as therememberDisableHeuristics()
is ran.~ This will remove the additional step of restarting the browser a SECOND time to clear the pref.Expected behavior:
doh-rollout.self-enabled
has no value.Note that changing your network connect takes at least 60s to fire (after switching networks).