зеркало из 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;
|
mActiveEntry = nullptr;
|
||||||
mozilla::UniquePtr<mozilla::dom::LoadingSessionHistoryInfo> loadingEntry;
|
mozilla::UniquePtr<mozilla::dom::LoadingSessionHistoryInfo> loadingEntry;
|
||||||
mActiveEntryIsLoadingFromSessionHistory = !!mLoadingEntry;
|
mActiveEntryIsLoadingFromSessionHistory =
|
||||||
|
mLoadingEntry && mLoadingEntry->mLoadIsFromSessionHistory;
|
||||||
if (mLoadingEntry) {
|
if (mLoadingEntry) {
|
||||||
MOZ_LOG(gSHLog, LogLevel::Debug,
|
MOZ_LOG(gSHLog, LogLevel::Debug,
|
||||||
("Moving the loading entry to the active entry on nsDocShell %p "
|
("Moving the loading entry to the active entry on nsDocShell %p "
|
||||||
|
|
Загрузка…
Ссылка в новой задаче