зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1563500 - Avoid accessing bogus reftest gBrowser in SessionStore.onMayChangeProcess. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D40322 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
5debf9550f
Коммит
bffea54155
|
@ -2658,7 +2658,7 @@ var SessionStoreInternal = {
|
|||
// embedded within a normal tab. We can't do one of these swaps for a
|
||||
// cross-origin frame.
|
||||
if (browsingContext.embedderElement) {
|
||||
let tabbrowser = browsingContext.embedderElement.ownerGlobal.gBrowser;
|
||||
let tabbrowser = browsingContext.embedderElement.getTabBrowser();
|
||||
if (!tabbrowser) {
|
||||
debug(
|
||||
`[process-switch]: cannot find tabbrowser for loading tab - ignoring`
|
||||
|
|
Загрузка…
Ссылка в новой задаче