Pass url load type LOAD_HISTORY when loading a url due to a back or forward button click
git-svn-id: svn://10.0.0.236/trunk@42221 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -468,7 +468,7 @@ nsHistoryEntry::Load(nsIWebShell * aPrevEntry, PRBool aIsReload) {
|
||||
PRInt32 ccount=0;
|
||||
prev->GetChildCount(ccount);
|
||||
|
||||
prev->LoadURL(cURL, nsnull, PR_FALSE);
|
||||
prev->LoadURL(cURL, nsnull, PR_FALSE, (nsLoadFlags) LOAD_HISTORY);
|
||||
if (aIsReload && (ccount > 0)) {
|
||||
/* If this is a reload, on a page with frames, you want to return
|
||||
* true so that consecutive calls by the frame children in to
|
||||
|
||||
Reference in New Issue
Block a user