Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham,webdriver-reviewers,whimboo

Differential Revision: https://phabricator.services.mozilla.com/D172278
This commit is contained in:
Peter Van der Beken
2023-04-14 08:09:50 +00:00
parent 2de5ca5bf4
commit bff0e09051
10 changed files with 64 additions and 27 deletions

View File

@@ -509,8 +509,8 @@ class nsDocShell final : public nsDocLoader,
already_AddRefed<nsIInputStream> GetPostDataFromCurrentEntry() const;
mozilla::Maybe<uint32_t> GetCacheKeyFromCurrentEntry() const;
// Loading and/or active entries are only set when pref
// fission.sessionHistoryInParent is on.
// Loading and/or active entries are only set when session history
// in the parent is on.
bool FillLoadStateFromCurrentEntry(nsDocShellLoadState& aLoadState);
static bool ShouldAddToSessionHistory(nsIURI* aURI, nsIChannel* aChannel);