зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
f8a32ec9bc
Коммит
3c9a841d30
|
@ -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;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче