зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1679418 - Fix test_bug1300461.html failure for Fission. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D99711
This commit is contained in:
Родитель
d841c6145f
Коммит
1d908096c5
|
@ -424,18 +424,21 @@ CanonicalBrowsingContext::ReplaceLoadingSessionHistoryEntryForLoad(
|
|||
}
|
||||
newEntry->SetDocshellID(GetHistoryID());
|
||||
newEntry->SetIsDynamicallyAdded(CreatedDynamically());
|
||||
newEntry->SetForInitialLoad(true);
|
||||
|
||||
// Replacing the old entry.
|
||||
SessionHistoryEntry::SetByLoadId(aInfo->mLoadId, newEntry);
|
||||
|
||||
bool forInitialLoad = true;
|
||||
for (size_t i = 0; i < mLoadingEntries.Length(); ++i) {
|
||||
if (mLoadingEntries[i].mLoadId == aInfo->mLoadId) {
|
||||
forInitialLoad = mLoadingEntries[i].mEntry->ForInitialLoad();
|
||||
mLoadingEntries[i].mEntry = newEntry;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
newEntry->SetForInitialLoad(forInitialLoad);
|
||||
|
||||
return MakeUnique<LoadingSessionHistoryInfo>(newEntry, aInfo->mLoadId);
|
||||
}
|
||||
|
||||
|
|
|
@ -102,7 +102,6 @@ skip-if = verify && (os == 'mac') && debug && webrender # Hit MOZ_CRASH(Shutdown
|
|||
skip-if = fission # It relies on the bfcache
|
||||
[test_bug1609475.html]
|
||||
[test_bug1300461.html]
|
||||
skip-if = fission
|
||||
[test_bug1326251.html]
|
||||
skip-if = toolkit == 'android' || fission # It relies on the bfcache
|
||||
[test_bug1379762.html]
|
||||
|
|
Загрузка…
Ссылка в новой задаче