mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
Issue #325 Part 1: Remove the legacy non-IDNA2008 code path from nsIDNService.
This commit is contained in:
parent
b19e3c348c
commit
1af1f5b3a3
6 changed files with 3 additions and 3209 deletions
|
|
@ -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<nsIUnicodeNormalizer> mNormalizer;
|
||||
#endif
|
||||
nsXPIDLString mIDNBlacklist;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue