зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1666010 - Ensure nsDocShell::mActiveEntryIsLoadingFromSessionHistory value is set correctly r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D90891
This commit is contained in:
Родитель
38efa6275a
Коммит
7a22246c6d
|
@ -13214,7 +13214,8 @@ void nsDocShell::MoveLoadingToActiveEntry(bool aCommit) {
|
|||
|
||||
mActiveEntry = nullptr;
|
||||
mozilla::UniquePtr<mozilla::dom::LoadingSessionHistoryInfo> loadingEntry;
|
||||
mActiveEntryIsLoadingFromSessionHistory = !!mLoadingEntry;
|
||||
mActiveEntryIsLoadingFromSessionHistory =
|
||||
mLoadingEntry && mLoadingEntry->mLoadIsFromSessionHistory;
|
||||
if (mLoadingEntry) {
|
||||
MOZ_LOG(gSHLog, LogLevel::Debug,
|
||||
("Moving the loading entry to the active entry on nsDocShell %p "
|
||||
|
|
Загрузка…
Ссылка в новой задаче