You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
convertToDisplayIDN() is the only nsIIDNService function used
it's used by…
DomainUtils.getBaseDomain()
OldRules class
the ASCII <-> UTF-8 conversion will be done by node package punycode
the decision whether punycode or IDN (ascii or unicode) is to be displayed for a specific domain (or domain label) depends on an eTLD check: «If a TLD is in the whitelist, we unconditionally display Unicode.» [1]
task list
*Request
class constructorsNormalRequest
: seewebRequest.onBeforeRequest.details
SimpleRedirectRequest
: no changes needed (bothoriginURI
anddestURI
are strings)RedirectRequest
: seewebRequest.onBeforeRedirect.details
aContentType
aContext
aMimeTypeGuess
aExtra
aRequestPrincipal
oldChannel
(HttpChannelWrapper
)RequestService.getBrowser
RequestService.getContentPolicyType
(?)Uri
class"host === null"
and"host === undefined"
[A.2]psl
WIPnsIIDNService.convertToDisplayIDN()
->rp.services.idn
[A.1]details
A.1
convertToDisplayIDN()
is the onlynsIIDNService
function usedpunycode
A.2
"normal-host.com"
""
(empty host, e.g."file:///"
)null
/undefined
(e.g."about:config"
)links
[1] https://wiki.mozilla.org/IDN_Display_Algorithm
The text was updated successfully, but these errors were encountered: