mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1586941 - Removed network.dns.skipTRR-when-parental-control-enabled pref. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188395
This commit is contained in:
parent
69b9814388
commit
d75caaf72b
@ -11693,12 +11693,6 @@
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
# Whether DNS resolution is limited to literals and cached entries.
|
||||
- name: network.dns.skipTRR-when-parental-control-enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: true
|
||||
mirror: always
|
||||
|
||||
- name: network.dns.disablePrefetchFromHTTPS
|
||||
type: bool
|
||||
value: true
|
||||
|
@ -221,7 +221,6 @@ static const char* gCallbackPrefsForSocketProcess[] = {
|
||||
"network.trr.",
|
||||
"doh-rollout.",
|
||||
"network.dns.disableIPv6",
|
||||
"network.dns.skipTRR-when-parental-control-enabled",
|
||||
"network.offline-mirrors-connectivity",
|
||||
"network.disable-localhost-when-offline",
|
||||
"network.proxy.parse_pac_on_socket_process",
|
||||
|
@ -1031,8 +1031,7 @@ void nsHostResolver::ComputeEffectiveTRRMode(nsHostRecord* aRec) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (StaticPrefs::network_dns_skipTRR_when_parental_control_enabled() &&
|
||||
TRRService::Get()->ParentalControlEnabled()) {
|
||||
if (TRRService::Get()->ParentalControlEnabled()) {
|
||||
aRec->RecordReason(TRRSkippedReason::TRR_PARENTAL_CONTROL);
|
||||
aRec->mEffectiveTRRMode = nsIRequest::TRR_DISABLED_MODE;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user