From e6d4a8daf3497986d55bd4b4cfd85b11bc5684d1 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 4 May 2018 10:20:16 +0200 Subject: Issue #325 Part 1: Remove the legacy non-IDNA2008 code path from nsIDNService. --- netwerk/dns/nsIDNService.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'netwerk/dns/nsIDNService.h') diff --git a/netwerk/dns/nsIDNService.h b/netwerk/dns/nsIDNService.h index 19aa94da0..82a05021d 100644 --- a/netwerk/dns/nsIDNService.h +++ b/netwerk/dns/nsIDNService.h @@ -12,12 +12,7 @@ #include "nsUnicodeScriptCodes.h" #include "nsWeakReference.h" -#ifdef IDNA2008 #include "unicode/uidna.h" -#else -#include "nsIUnicodeNormalizer.h" -#include "nsIDNKitInterface.h" -#endif #include "nsString.h" @@ -151,7 +146,6 @@ private: bool illegalScriptCombo(mozilla::unicode::Script script, int32_t& savedScript); -#ifdef IDNA2008 /** * Convert a DNS label from ASCII to Unicode using IDNA2008 */ @@ -164,10 +158,6 @@ private: stringPrepFlag flag); UIDNA* mIDNA; -#else - idn_nameprep_t mNamePrepHandle; - nsCOMPtr mNormalizer; -#endif nsXPIDLString mIDNBlacklist; /** -- cgit v1.2.3