gecko-dev/netwerk/dns
Valentin Gosu c7a231e018 Bug 1848304 - A bad TRR URL shows unexpected error in TRR mode3 error page r=necko-reviewers,fluent-reviewers,flod,kershaw
This patch adds a new TRR skip reason used when the TRR request is made
with an invalid URL. Normally this is a URL that doesn't parse, but if
the URL is a non-HTTPS URL, then the TRR service will just use an empty
string as the URL, leading to the same failure to parse it.

This skip reason will be reported when the page load is triggered.
We should report the cause to the user instead of just saying it failed
because of an "Unexpected problem".

Differential Revision: https://phabricator.services.mozilla.com/D185991
2023-08-14 12:45:10 +00:00
..
tests Bug 1819960 - Convert consumers of netwerk/ to import ES modules directly. r=necko-reviewers,valentin 2023-03-04 11:15:30 +00:00
ChildDNSService.cpp Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
ChildDNSService.h Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
DNS.cpp
DNS.h Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
DNSAdditionalInfo.cpp
DNSAdditionalInfo.h
DNSByTypeRecord.h Bug 1808631 - Make sure TRR HTTPS IPhints get the proper TTL r=necko-reviewers,kershaw 2023-01-09 10:48:54 +00:00
DNSListenerProxy.cpp
DNSListenerProxy.h
DNSLogging.h
DNSPacket.cpp Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
DNSPacket.h Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
DNSRequestBase.h Bug 1596845 - Turn nsIDNSService dns flags into a cenum r=necko-reviewers,geckoview-reviewers,kershaw,m_kato 2022-12-23 09:26:17 +00:00
DNSRequestChild.cpp Bug 1808631 - Make sure TRR HTTPS IPhints get the proper TTL r=necko-reviewers,kershaw 2023-01-09 10:48:54 +00:00
DNSRequestChild.h Bug 1596845 - Turn nsIDNSService dns flags into a cenum r=necko-reviewers,geckoview-reviewers,kershaw,m_kato 2022-12-23 09:26:17 +00:00
DNSRequestParent.cpp Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8 2023-01-16 23:14:12 +00:00
DNSRequestParent.h Bug 1596845 - Turn nsIDNSService dns flags into a cenum r=necko-reviewers,geckoview-reviewers,kershaw,m_kato 2022-12-23 09:26:17 +00:00
DNSServiceBase.cpp
DNSServiceBase.h Bug 1809381 - Make DNSServiceBase::mDisablePrefetch atomic r=necko-reviewers,kershaw 2023-01-24 15:09:54 +00:00
DNSUtils.cpp Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8 2023-01-16 23:14:12 +00:00
DNSUtils.h Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
GetAddrInfo.cpp
GetAddrInfo.h
HTTPSSVC.cpp Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
HTTPSSVC.h Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
HostRecordQueue.cpp Bug 1596845 - Turn nsIDNSService dns flags into a cenum r=necko-reviewers,geckoview-reviewers,kershaw,m_kato 2022-12-23 09:26:17 +00:00
HostRecordQueue.h Bug 1596845 - Turn nsIDNSService dns flags into a cenum r=necko-reviewers,geckoview-reviewers,kershaw,m_kato 2022-12-23 09:26:17 +00:00
IDNBlocklistUtils.cpp
IDNBlocklistUtils.h
IDNCharacterBlocklist.inc
NativeDNSResolverOverrideChild.cpp
NativeDNSResolverOverrideChild.h
NativeDNSResolverOverrideParent.cpp
NativeDNSResolverOverrideParent.h
PDNSRequest.ipdl Bug 1596845 - Turn nsIDNSService dns flags into a cenum r=necko-reviewers,geckoview-reviewers,kershaw,m_kato 2022-12-23 09:26:17 +00:00
PDNSRequestParams.ipdlh Bug 1812156 - Part 1: Fix some IPDL statements to use fully qualified names, r=necko-reviewers,valentin 2023-02-04 10:44:24 +00:00
PNativeDNSResolverOverride.ipdl
PTRRService.ipdl
PublicSuffixList.sys.mjs Bug 1819960 - Convert some netwerk files to ES modules. r=necko-reviewers,valentin 2023-03-04 11:15:29 +00:00
TRR.cpp Bug 1848304 - A bad TRR URL shows unexpected error in TRR mode3 error page r=necko-reviewers,fluent-reviewers,flod,kershaw 2023-08-14 12:45:10 +00:00
TRR.h Bug 1610741 - DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod 2023-04-11 09:57:28 +00:00
TRRQuery.cpp Bug 1840383 - Respect network.dns.disableIPv6 pref with TRR r=necko-reviewers,kershaw 2023-06-30 08:20:23 +00:00
TRRQuery.h Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
TRRService.cpp Bug 1840383 - Respect network.dns.disableIPv6 pref with TRR r=necko-reviewers,kershaw 2023-06-30 08:20:23 +00:00
TRRService.h Bug 1840383 - Respect network.dns.disableIPv6 pref with TRR r=necko-reviewers,kershaw 2023-06-30 08:20:23 +00:00
TRRServiceBase.cpp Bug 1828944 - Add TRR mode into TRR provider key, r=valentin,necko-reviewers 2023-04-26 09:16:41 +00:00
TRRServiceBase.h Bug 1823358 - Add new network.trr.ohttp.uri pref r=keeler,necko-reviewers,jesup 2023-03-21 14:51:48 +00:00
TRRServiceChild.cpp
TRRServiceChild.h
TRRServiceParent.cpp Bug 1823358 - Add new network.trr.ohttp.uri pref r=keeler,necko-reviewers,jesup 2023-03-21 14:51:48 +00:00
TRRServiceParent.h
effective_tld_names.dat No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,dmeehan 2023-08-14 12:24:40 +00:00
moz.build Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
nsDNSService2.cpp Bug 1848304 - A bad TRR URL shows unexpected error in TRR mode3 error page r=necko-reviewers,fluent-reviewers,flod,kershaw 2023-08-14 12:45:10 +00:00
nsDNSService2.h Bug 1840383 - Respect network.dns.disableIPv6 pref with TRR r=necko-reviewers,kershaw 2023-06-30 08:20:23 +00:00
nsEffectiveTLDService.cpp
nsEffectiveTLDService.h
nsHostRecord.cpp Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
nsHostRecord.h Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
nsHostResolver.cpp Bug 1838240 - Migrate these probes to glean: DNS_LOOKUP_TIME, DNS_RENEWAL_TIME, DNS_RENEWAL_TIME_FOR_TTL, DNS_FAILED_LOOKUP_TIME r=necko-reviewers,valentin 2023-06-22 16:02:57 +00:00
nsHostResolver.h Bug 1825538 - Retry TRR request on on main thread when proxy connection failed, r=necko-reviewers,valentin 2023-05-02 13:00:27 +00:00
nsIDNKitInterface.h
nsIDNSAdditionalInfo.idl
nsIDNSByTypeRecord.idl Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
nsIDNSListener.idl
nsIDNSRecord.idl Bug 1596845 - Pass TRR skip reason to child channel r=necko-reviewers,kershaw 2022-12-23 09:26:15 +00:00
nsIDNSService.idl Bug 1835805 - Remove odoh code r=necko-reviewers,jesup 2023-06-02 12:49:33 +00:00
nsIDNService.cpp Bug 1790287 - Search for xn-- prefix ignoring case r=necko-reviewers,kershaw 2023-01-26 08:33:49 +00:00
nsIDNService.h
nsIEffectiveTLDService.idl Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich 2022-12-28 09:52:44 +00:00
nsIIDNService.idl
nsINativeDNSResolverOverride.idl
nsITRRSkipReason.idl Bug 1848304 - A bad TRR URL shows unexpected error in TRR mode3 error page r=necko-reviewers,fluent-reviewers,flod,kershaw 2023-08-14 12:45:10 +00:00
nsPIDNSService.idl
prepare_tlds.py
punycode.c
punycode.h