Bug 1362461 - Port bug 1319111 to mail: Set loadinfo.resultPrincipalURI in about: redirector. r=jorgk DONTBUILD
This commit is contained in:
Родитель
b8aa7d5dee
Коммит
7b3e189de8
|
@ -52,6 +52,7 @@ AboutRedirector.prototype = {
|
|||
let newURI = Services.io.newURI(this._redirMap[name].url);
|
||||
let channel = Services.io.newChannelFromURIWithLoadInfo(newURI, aLoadInfo);
|
||||
channel.originalURI = aURI;
|
||||
aLoadInfo.resultPrincipalURI = aURI;
|
||||
|
||||
if (this._redirMap[name].flags & Ci.nsIAboutModule.URI_SAFE_FOR_UNTRUSTED_CONTENT) {
|
||||
let principal = Services.scriptSecurityManager.getNoAppCodebasePrincipal(aURI);
|
||||
|
|
Загрузка…
Ссылка в новой задаче