зеркало из https://github.com/mozilla/gecko-dev.git
bug 1472662 - only send DNS_TRR_NS_VERIFIED telemetry once r=mcmanus
... by making sure we only retry TRR when we go from CP bad=>good. MozReview-Commit-ID: FcDwzSHm6Ia --HG-- extra : rebase_source : dce21e18e6a4d854bd2023c61974658b100c1484
This commit is contained in:
Родитель
7edeeaa646
Коммит
af7b8b701a
|
@ -303,9 +303,11 @@ TRRService::Observe(nsISupports *aSubject,
|
|||
}
|
||||
}
|
||||
|
||||
if (mConfirmationState != CONFIRM_OK) {
|
||||
mConfirmationState = CONFIRM_TRYING;
|
||||
MaybeConfirm();
|
||||
if (!mCaptiveIsPassed) {
|
||||
if (mConfirmationState != CONFIRM_OK) {
|
||||
mConfirmationState = CONFIRM_TRYING;
|
||||
MaybeConfirm();
|
||||
}
|
||||
} else {
|
||||
LOG(("TRRservice CP clear when already up!\n"));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче