Bug 1663487 - Set loading history entry for loads in the parent. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D89420
This commit is contained in:
Peter Van der Beken
2020-09-09 00:40:38 +00:00
parent 891496b6f7
commit f2a0fcadad
3 changed files with 14 additions and 0 deletions

View File

@@ -13001,5 +13001,7 @@ bool nsDocShell::GetIsAttemptingToNavigate() {
void nsDocShell::SetLoadingSessionHistoryInfo(
const mozilla::dom::LoadingSessionHistoryInfo& aLoadingInfo) {
// FIXME Would like to assert this, but can't yet.
// MOZ_ASSERT(!mLoadingEntry);
mLoadingEntry = MakeUnique<LoadingSessionHistoryInfo>(aLoadingInfo);
}