summaryrefslogtreecommitdiff
path: root/netwerk
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@protonmail.com>2022-06-23 13:28:04 +0800
committerJob Bautista <jobbautista9@protonmail.com>2022-06-23 13:28:04 +0800
commitbbb68510ee0ededf18ee7a4680d3a9bbe57e872d (patch)
tree81bc65d2a10dfa90f3baa26a0e5a6729556585ef /netwerk
parentd4d80438a34b83e50e36268fc966aca69a365d16 (diff)
downloaduxp-bbb68510ee0ededf18ee7a4680d3a9bbe57e872d.tar.gz
Issue #326 - Part 4: Update Unicode data to release 10.0
genUnicodePropertyData.pl's output: unknown ICU script MASARAM_GONDI at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2641. unknown ICU script SOYOMBO at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2663. unknown ICU script ZANABAZAR_SQUARE at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2679. Data for CharProp2 = 14864 Data for FullWidth = 2176 Data for FullWidthInverse = 2688 Total data = 19728
Diffstat (limited to 'netwerk')
-rw-r--r--netwerk/dns/nsIDNService.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/netwerk/dns/nsIDNService.cpp b/netwerk/dns/nsIDNService.cpp
index 70e255ed15..1f35fe1dab 100644
--- a/netwerk/dns/nsIDNService.cpp
+++ b/netwerk/dns/nsIDNService.cpp
@@ -727,14 +727,11 @@ bool nsIDNService::isLabelSafe(const nsAString &label)
ch = SURROGATE_TO_UCS4(ch, *current++);
}
- // Check for restricted characters; aspirational scripts are NOT permitted,
- // in anticipation of the category being merged into Limited-Use scripts
- // in the upcoming (Unicode 10.0-based) revision of UAX #31.
IdentifierType idType = GetIdentifierType(ch);
if (idType == IDTYPE_RESTRICTED) {
return false;
}
- MOZ_ASSERT(idType == IDTYPE_ALLOWED || idType == IDTYPE_ASPIRATIONAL);
+ MOZ_ASSERT(idType == IDTYPE_ALLOWED);
// Check for mixed script
Script script = GetScriptCode(ch);