-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
Milestone
Description
task list
- change the
*Requestclass constructors-
NormalRequest: seewebRequest.onBeforeRequest.details -
SimpleRedirectRequest: no changes needed (bothoriginURIanddestURIare strings) -
RedirectRequest: seewebRequest.onBeforeRedirect.details
-
- use … only in the xpcom build
-
aContentType -
aContext -
aMimeTypeGuess -
aExtra -
aRequestPrincipal -
oldChannel(HttpChannelWrapper)- see also [WebExtension port] move from nsIContentPolicy etc. to WebRequest etc. #891
- Find a way to detect redirections of link clicks & form submissions
-
RequestService.getBrowser
-
- remove unused functions
-
RequestService.getContentPolicyType(?)
-
- nsIURI ->
Uriclass- preparations
- No longer differentiate between
"host === null"and"host === undefined"[A.2] - "Request": take a string, not a nsIUri object
- …
- No longer differentiate between
- get replacement for nsIURI WIP
- nsIURI → Uri class
- …
- preparations
- hostname services
- nsIEffectiveTLDService → node package
pslWIP -
nsIIDNService.convertToDisplayIDN()->rp.services.idn[A.1]
- nsIEffectiveTLDService → node package
- … (?)
details
A.1
convertToDisplayIDN()is the onlynsIIDNServicefunction 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]
A.2
- Three possibilities:
"normal-host.com"""(empty host, e.g."file:///")null/undefined(e.g."about:config")