mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fix for bug # 59755. SH work wrong after doing view-source:url. Set ViewMode to
viewNormal for all Sh loads. r=adamlock sr=alecf
This commit is contained in:
parent
b4d26b6ac1
commit
b2d9c6269d
@ -421,9 +421,11 @@ nsDocShell::LoadURI(nsIURI* aURI, nsIDocShellLoadInfo* aLoadInfo, PRUint32 aLoad
|
||||
}
|
||||
|
||||
if (shEntry) {
|
||||
rv = LoadHistoryEntry(shEntry, loadType);
|
||||
// Load is from SH. SH does normal load only
|
||||
mViewMode = viewNormal;
|
||||
rv = LoadHistoryEntry(shEntry, loadType);
|
||||
} else {
|
||||
rv = InternalLoad(aURI, referrer, owner, inheritOwner, stopActiveDoc, (const char*) target, nsnull,
|
||||
rv = InternalLoad(aURI, referrer, owner, inheritOwner, stopActiveDoc, (const char*) target, nsnull,
|
||||
nsnull, loadType, nsnull);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user