зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1664655 - Update loading entry's layout history state if it shares it with the current active entry. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90030
This commit is contained in:
Родитель
25833b010a
Коммит
9348dc4a06
|
@ -3165,6 +3165,11 @@ NS_IMETHODIMP nsDocShell::SynchronizeLayoutHistoryState() {
|
||||||
entry->SetLayoutHistoryState(mActiveEntry->GetLayoutHistoryState());
|
entry->SetLayoutHistoryState(mActiveEntry->GetLayoutHistoryState());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (mLoadingEntry &&
|
||||||
|
mLoadingEntry->mInfo.SharedId() == mActiveEntry->SharedId()) {
|
||||||
|
mLoadingEntry->mInfo.SetLayoutHistoryState(
|
||||||
|
mActiveEntry->GetLayoutHistoryState());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче