r=pollmann. Fix for nsbeta3++ bug 48382. Fixes the infinite loop when location.href was set from the onload handler of a frame.
git-svn-id: svn://10.0.0.236/trunk@80056 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -321,7 +321,7 @@ nsDocShell::LoadURI(nsIURI* aURI, nsIDocShellLoadInfo* aLoadInfo, PRUint32 aLoad
|
||||
aLoadInfo->GetTarget(getter_Copies(target));
|
||||
}
|
||||
|
||||
if (!shEntry && loadType != LOAD_NORMAL_REPLACE) {
|
||||
if (!shEntry && loadType != LOAD_NORMAL_REPLACE && mCurrentURI == nsnull) {
|
||||
/* Check if we are in the middle of loading a subframe whose parent
|
||||
* was originally loaded thro' Session History. ie., you were in a frameset
|
||||
* page, went somewhere else and clicked 'back'. The loading of the root page
|
||||
|
||||
Reference in New Issue
Block a user