Bug 1535800 - Part 1: Handle a null mSessionHistory in ResumeRedirectedLoad, r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D30558
This commit is contained in:
@@ -13150,7 +13150,7 @@ nsDocShell::ResumeRedirectedLoad(uint64_t aIdentifier, int32_t aHistoryIndex) {
|
||||
|
||||
// If we're performing a history load, locate the correct history entry,
|
||||
// and set the relevant bits on our loadState.
|
||||
if (aHistoryIndex >= 0) {
|
||||
if (aHistoryIndex >= 0 && self->mSessionHistory) {
|
||||
nsCOMPtr<nsISHistory> legacySHistory =
|
||||
self->mSessionHistory->LegacySHistory();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user