зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1391421 - Part 8 - Fix site identity handling. r=jwu
"getEffectiveHost" further down expects the URI to be available - apparently this was broken ever since the original implementation. MozReview-Commit-ID: C1Q6PBYcvk3 --HG-- extra : rebase_source : 5e71c300261ba9cbaff7e006ce22637c29596680
This commit is contained in:
Родитель
18b4ca79db
Коммит
6cddaccbac
|
@ -5592,12 +5592,12 @@ var IdentityHandler = {
|
|||
}
|
||||
this._lastLocation = locationObj;
|
||||
|
||||
let uri = aBrowser.currentURI;
|
||||
this._uri = aBrowser.currentURI;
|
||||
try {
|
||||
uri = Services.uriFixup.createExposableURI(uri);
|
||||
this._uri = Services.uriFixup.createExposableURI(this._uri);
|
||||
} catch (e) {}
|
||||
|
||||
let identityMode = this.getIdentityMode(aState, uri);
|
||||
let identityMode = this.getIdentityMode(aState, this._uri);
|
||||
let mixedDisplay = this.getMixedDisplayMode(aState);
|
||||
let mixedActive = this.getMixedActiveMode(aState);
|
||||
let trackingMode = this.getTrackingMode(aState, aBrowser);
|
||||
|
|
Загрузка…
Ссылка в новой задаче