Backed out changeset 67fae8447273 (bug 1734394) for causing Assertion failures on StaticPrefList_browser.h. CLOSED TREE
This commit is contained in:
@@ -5781,7 +5781,7 @@ nsDocShell::OnStateChange(nsIWebProgress* aProgress, nsIRequest* aRequest,
|
||||
}
|
||||
}
|
||||
|
||||
if (StaticPrefs::browser_sessionstore_platform_collection_AtStartup()) {
|
||||
if constexpr (SessionStoreUtils::NATIVE_LISTENER) {
|
||||
if (IsForceReloadType(mLoadType)) {
|
||||
if (WindowContext* windowContext =
|
||||
mBrowsingContext->GetCurrentWindowContext()) {
|
||||
@@ -6525,7 +6525,7 @@ nsresult nsDocShell::EndPageLoad(nsIWebProgress* aProgress,
|
||||
// incorrectly overrides session store data from the following load.
|
||||
return NS_OK;
|
||||
}
|
||||
if (StaticPrefs::browser_sessionstore_platform_collection_AtStartup()) {
|
||||
if constexpr (SessionStoreUtils::NATIVE_LISTENER) {
|
||||
if (WindowContext* windowContext =
|
||||
mBrowsingContext->GetCurrentWindowContext()) {
|
||||
using Change = SessionStoreChangeListener::Change;
|
||||
|
||||
Reference in New Issue
Block a user