Name Description Size Coverage
ChildDNSService.cpp 16996 59 %
ChildDNSService.h 2716 100 %
DNS.cpp 14348 89 %
DNS.h address family (0x00ff maskable) 9152 100 %
DNSAdditionalInfo.cpp 577 100 %
DNSAdditionalInfo.h 1137 100 %
DNSByTypeRecord.h 5955 86 %
DNSListenerProxy.cpp 1867 92 %
DNSListenerProxy.h 1525 100 %
DNSLogging.h 742 -
DNSPacket.cpp 34450 80 %
DNSPacket.h 3990 100 %
DNSRequestBase.h 5440 69 %
DNSRequestChild.cpp 18684 54 %
DNSRequestChild.h 1414 80 %
DNSRequestParent.cpp 6523 90 %
DNSRequestParent.h 1555 80 %
DNSServiceBase.cpp 4115 92 %
DNSServiceBase.h 1056 100 %
DNSUtils.cpp 2449 92 %
DNSUtils.h 665 -
effective_tld_names.dat 331071 -
GetAddrInfo.cpp 21104 81 %
GetAddrInfo.h Look up a host by name. Mostly equivalent to getaddrinfo(host, NULL, ...) of RFC 3493. @param aHost[in] Character string defining the host name of interest @param aAddressFamily[in] May be AF_INET, AF_INET6, or AF_UNSPEC. @param aFlags[in] See nsIDNSService::DNSFlags @param aAddrInfo[out] Will point to the results of the host lookup, or be null if the lookup failed. @param aGetTtl[in] If true, the TTL will be retrieved if DNS provides the answers.. 4018 100 %
HostRecordQueue.cpp 6812 62 %
HostRecordQueue.h 3159 86 %
HTTPSSVC.cpp 19814 85 %
HTTPSSVC.h 4819 100 %
IDNBlocklistUtils.cpp 1858 56 %
IDNBlocklistUtils.h 1962 100 %
IDNCharacterBlocklist.inc 1365 -
metrics.yaml 25172 -
moz.build 2827 -
NativeDNSResolverOverrideChild.cpp 1552 0 %
NativeDNSResolverOverrideChild.h 1444 0 %
NativeDNSResolverOverrideParent.cpp 3566 0 %
NativeDNSResolverOverrideParent.h 982 0 %
nsDNSService2.cpp 57315 71 %
nsDNSService2.h 4386 55 %
nsEffectiveTLDService.cpp 16019 95 %
nsEffectiveTLDService.h 2748 100 %
nsHostRecord.cpp 22996 90 %
nsHostRecord.h This class is used to notify listeners when a ResolveHost operation is complete. Classes that derive it must implement threadsafe nsISupports to be able to use RefPtr with this class. 14158 90 %
nsHostResolver.cpp 66427 90 %
nsHostResolver.h nsHostResolver - an asynchronous host name resolver. 12481 69 %
nsIDNSAdditionalInfo.idl 435 -
nsIDNSByTypeRecord.idl Returns DNS request type that was made for this request. 4507 -
nsIDNService.cpp Implementation file 25813 98 %
nsIDNService.h Determine whether a label is considered safe to display to the user according to the algorithm defined in UTR 39. For the ASCII-only profile, returns false for all labels containing non-ASCII characters. For the other profiles, returns false for labels containing any of the following: Characters in scripts other than the "recommended scripts" and "aspirational scripts" defined in http://www.unicode.org/reports/tr31/#Table_Recommended_Scripts and http://www.unicode.org/reports/tr31/#Aspirational_Use_Scripts This includes codepoints that are not defined as Unicode characters Illegal combinations of scripts (@see illegalScriptCombo) Numbers from more than one different numbering system Sequences of the same non-spacing mark Both simplified-only and traditional-only Chinese characters XXX this test was disabled by bug 857481 3425 0 %
nsIDNSListener.idl nsIDNSListener 1188 -
nsIDNSRecord.idl nsIDNSRecord this interface represents the result of a DNS lookup. since a DNS query may return more than one resolved IP address, the record acts like an enumerator, allowing the caller to easily step through the list of IP addresses. 4956 -
nsIDNSService.idl nsIDNSService 15654 -
nsIEffectiveTLDService.idl Returns the public suffix of a URI. A public suffix is the highest-level domain under which individual domains may be registered; it may therefore contain one or more dots. For example, the public suffix for "www.bbc.co.uk" is "co.uk", because the .uk TLD does not allow the registration of domains at the second level ("bbc.uk" is forbidden). The public suffix will be returned encoded in ASCII/ACE and will be normalized according to RFC 3454, i.e. the same encoding returned by nsIURI::GetAsciiHost(). If consumers wish to compare the result of this method against the host from another nsIURI, the host should be obtained using nsIURI::GetAsciiHost(). In the case of nested URIs, the innermost URI will be used. @param aURI The URI to be analyzed @returns the public suffix @throws NS_ERROR_UNEXPECTED or other error returned by nsIIDNService::normalize when the hostname contains characters disallowed in URIs @throws NS_ERROR_HOST_IS_IP_ADDRESS if the host is a numeric IPv4 or IPv6 address (as determined by the success of a call to PR_StringToNetAddr()). 10501 -
nsIIDNService.idl IDN (Internationalized Domain Name) support. Provides facilities for manipulating IDN hostnames according to UTS #46 as parametrized by the WHATWG URL Standard. UTS #46: https://www.unicode.org/reports/tr46/ URL Standard: https://url.spec.whatwg.org/ 3091 -
nsINativeDNSResolverOverride.idl Adds an IP override for this specific host. 1153 -
nsITRRSkipReason.idl 6806 -
nsPIDNSService.idl This is a private interface used by the internals of the networking library. It will never be frozen. Do not use it in external code. 1038 -
PDNSRequest.ipdl 1100 -
PDNSRequestParams.ipdlh 1036 -
PlatformDNSAndroid.cpp 4513 -
PlatformDNSMac.cpp 5389 -
PlatformDNSUnix.cpp 2820 30 %
PlatformDNSWin.cpp 4587 13 %
PNativeDNSResolverOverride.ipdl 680 -
prepare_tlds.py Processes a file containing effective TLD data. See the following URL for a description of effective TLDs and of the file format that this script processes (although for the latter you're better off just reading this file's short source code). http://wiki.mozilla.org/Gecko:Effective_TLD_Service 4417 -
PTRRService.ipdl 955 -
tests -
TRR.cpp 31639 89 %
TRR.h 4888 87 %
TRRQuery.cpp 12165 82 %
TRRQuery.h 3944 78 %
TRRService.cpp 46634 89 %
TRRService.h 14043 95 %
TRRServiceBase.cpp 11004 93 %
TRRServiceBase.h 3722 33 %
TRRServiceChild.cpp static 3741 0 %
TRRServiceChild.h 1661 0 %
TRRServiceParent.cpp 7088 0 %
TRRServiceParent.h 1804 0 %