Bug 1666584 - Remove the code for updating _lastKnownUserContextId because it's not needed; r=nika

Differential Revision: https://phabricator.services.mozilla.com/D105334
This commit is contained in:
Tom Tung 2021-02-23 08:28:57 +00:00
Родитель f8a32ec9bc
Коммит 3c9a841d30
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -1005,8 +1005,6 @@ var SessionStoreInternal = {
if (this.browser.currentURI && this.browser.ownerGlobal) {
this._lastKnownUri = browser.currentURI.displaySpec;
this._lastKnownBody = browser.ownerGlobal.document.body;
this._lastKnownUserContextId =
browser.contentPrincipal.originAttributes.userContextId;
}
}
SHistoryListener.prototype = {
@ -1035,7 +1033,6 @@ var SessionStoreInternal = {
if (this.browser.currentURI && this.browser.ownerGlobal) {
this._lastKnownUri = this.browser.currentURI.displaySpec;
this._lastKnownBody = this.browser.ownerGlobal.document.body;
this._lastKnownUserContextId = this.browser.contentPrincipal.originAttributes.userContextId;
}
},