mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1901660 - Update session history changes once the history is purged. r=geckoview-reviewers,sessionstore-reviewers,farre,owlish
Differential Revision: https://phabricator.services.mozilla.com/D219778
This commit is contained in:
parent
bd3562b388
commit
b77feda720
@ -2781,11 +2781,6 @@ class NavigationDelegateTest : BaseSessionTest() {
|
||||
}
|
||||
|
||||
@Test fun purgeHistory() {
|
||||
// TODO: Bug 1884334
|
||||
val geckoPrefs = sessionRule.getPrefs(
|
||||
"fission.disableSessionHistoryInParent",
|
||||
)
|
||||
assumeThat(geckoPrefs[0] as Boolean, equalTo(true))
|
||||
// TODO: Bug 1837551
|
||||
assumeThat(sessionRule.env.isFission, equalTo(false))
|
||||
|
||||
|
@ -76,7 +76,10 @@ class TabListener : public nsIDOMEventListener,
|
||||
void RemoveListeners();
|
||||
void SetEpoch(uint32_t aEpoch) { mEpoch = aEpoch; }
|
||||
uint32_t GetEpoch() { return mEpoch; }
|
||||
void UpdateSHistoryChanges() { AddTimerForUpdate(); }
|
||||
void UpdateSHistoryChanges() {
|
||||
mSessionStore->SetSHistoryChanged();
|
||||
AddTimerForUpdate();
|
||||
}
|
||||
void SetOwnerContent(Element* aElement);
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
Loading…
Reference in New Issue
Block a user