Backed out changeset d807fa812d8f (bug 1691214) for causing failures in browser_bug1691214. CLOSED TREE

This commit is contained in:
smolnar
2021-02-08 13:24:16 +02:00
parent b07c217008
commit 8531f8bf09
4 changed files with 1 additions and 46 deletions

View File

@@ -9180,6 +9180,7 @@ nsresult nsDocShell::InternalLoad(nsDocShellLoadState* aLoadState,
const bool shouldTakeFocus =
aLoadState->SourceBrowsingContext() &&
aLoadState->SourceBrowsingContext()->IsActive() &&
!mBrowsingContext->IsActive() &&
!Preferences::GetBool("browser.tabs.loadDivertedInBackground", false);
mOriginalUriString.Truncate();