Bug 1669321 - [Fission] Crash in [@ mozilla::dom::SessionHistoryEntry::SetInfo], r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D92999
This commit is contained in:
@@ -612,6 +612,10 @@ void CanonicalBrowsingContext::SetActiveSessionHistoryEntry(
|
||||
|
||||
void CanonicalBrowsingContext::ReplaceActiveSessionHistoryEntry(
|
||||
SessionHistoryInfo* aInfo) {
|
||||
if (!mActiveEntry) {
|
||||
return;
|
||||
}
|
||||
|
||||
mActiveEntry->SetInfo(aInfo);
|
||||
// Notify children of the update
|
||||
nsSHistory* shistory = static_cast<nsSHistory*>(GetSessionHistory());
|
||||
|
||||
Reference in New Issue
Block a user