mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
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:
parent
5debf9550f
commit
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`
|
||||
|
Loading…
Reference in New Issue
Block a user