Bug 1670933 - Back button is not enabled by iframe navigation when Fission is enabled. r=smaug,extension-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D95322
This commit is contained in:
@@ -1407,11 +1407,11 @@ bool nsDocShell::SetCurrentURI(nsIURI* aURI, nsIRequest* aRequest,
|
||||
if (mozilla::SessionHistoryInParent()) {
|
||||
if (mLoadingEntry) {
|
||||
isSubFrame = mLoadingEntry->mInfo.IsSubFrame();
|
||||
MOZ_LOG(gSHLog, LogLevel::Debug,
|
||||
("nsDocShell %p SetCurrentURI, isSubFrame=%d", this, isSubFrame));
|
||||
} else {
|
||||
isSubFrame = !mBrowsingContext->IsTop() && mActiveEntry;
|
||||
}
|
||||
MOZ_LOG(gSHLog, LogLevel::Debug,
|
||||
("nsDocShell %p SetCurrentURI, no mLoadingEntry", this));
|
||||
("nsDocShell %p SetCurrentURI, isSubFrame=%d", this, isSubFrame));
|
||||
} else {
|
||||
if (mLSHE) {
|
||||
isSubFrame = mLSHE->GetIsSubFrame();
|
||||
|
||||
Reference in New Issue
Block a user