Bug 1663492 - Make nsDocShell::OnNewURI use mActiveEntry instead of mOSHE if session history in the parent is enabled. r=smaug
Depends on D89423 Differential Revision: https://phabricator.services.mozilla.com/D89424
This commit is contained in:
@@ -10411,7 +10411,9 @@ bool nsDocShell::OnNewURI(nsIURI* aURI, nsIChannel* aChannel,
|
||||
* frameset pages is to add new methods to nsIDocShellTreeItem.
|
||||
* Hopefully I don't have to do that.
|
||||
*/
|
||||
if (equalUri && mOSHE &&
|
||||
if (equalUri &&
|
||||
(StaticPrefs::fission_sessionHistoryInParent() ? !!mActiveEntry
|
||||
: !!mOSHE) &&
|
||||
(mLoadType == LOAD_NORMAL || mLoadType == LOAD_LINK ||
|
||||
mLoadType == LOAD_STOP_CONTENT) &&
|
||||
!inputStream) {
|
||||
|
||||
Reference in New Issue
Block a user