Commit 1f522be1 authored by valenting's avatar valenting
Browse files

Bug 1824723 - Also update TRR URI if network.trr.use_ohttp has changed...

Bug 1824723 - Also update TRR URI if network.trr.use_ohttp has changed r=necko-reviewers,kershaw, a=dsmith

Differential Revision: https://phabricator.services.mozilla.com/D173671
parent de8ccf88
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -365,7 +365,8 @@ nsresult TRRService::ReadPrefs(const char* name) {
  }
  if (!name || !strcmp(name, TRR_PREF("uri")) ||
      !strcmp(name, TRR_PREF("default_provider_uri")) ||
      !strcmp(name, kRolloutURIPref) || !strcmp(name, TRR_PREF("ohttp.uri"))) {
      !strcmp(name, kRolloutURIPref) || !strcmp(name, TRR_PREF("ohttp.uri")) ||
      !strcmp(name, TRR_PREF("use_ohttp"))) {
    OnTRRURIChange();
  }
  if (!name || !strcmp(name, TRR_PREF("credentials"))) {