mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
f0288d3d71
7 changed files with 315 additions and 411 deletions
|
|
@ -730,11 +730,11 @@ bool nsIDNService::isLabelSafe(const nsAString &label)
|
|||
// 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.
|
||||
XidmodType xm = GetIdentifierModification(ch);
|
||||
if (xm != XIDMOD_RECOMMENDED &&
|
||||
xm != XIDMOD_INCLUSION) {
|
||||
IdentifierType idType = GetIdentifierType(ch);
|
||||
if (idType == IDTYPE_RESTRICTED) {
|
||||
return false;
|
||||
}
|
||||
MOZ_ASSERT(idType == IDTYPE_ALLOWED || idType == IDTYPE_ASPIRATIONAL);
|
||||
|
||||
// Check for mixed script
|
||||
Script script = GetScriptCode(ch);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue