Bug 1758664, don't try to recheck possible session history entry in the parent process if we're doing such check already, r=peterv
The code which this patch removes was clearly an oversight in the regressing patch. Differential Revision: https://phabricator.services.mozilla.com/D140690
This commit is contained in:
@@ -791,11 +791,6 @@ nsresult nsDocShell::LoadURI(nsDocShellLoadState* aLoadState,
|
||||
("nsDocShell[%p]: loading %s with flags 0x%08x", this,
|
||||
aLoadState->URI()->GetSpecOrDefault().get(), aLoadState->LoadFlags()));
|
||||
|
||||
// Always clear mCheckingSessionHistory. MaybeHandleSubframeHistory uses it
|
||||
// internally when querying session history information from the parent
|
||||
// process.
|
||||
mCheckingSessionHistory = false;
|
||||
|
||||
if ((!aLoadState->LoadIsFromSessionHistory() &&
|
||||
!LOAD_TYPE_HAS_FLAGS(aLoadState->LoadType(),
|
||||
LOAD_FLAGS_REPLACE_HISTORY)) ||
|
||||
|
||||
Reference in New Issue
Block a user