зеркало из https://github.com/mozilla/pjs.git
Fix for bug # 103978. Problems with back/forward at cnn.com, mainly due to expired subframes and clicking back/forward fast. r=adamlock sr=rpotts
This commit is contained in:
Родитель
c2c60ccdf2
Коммит
3c2585f81c
|
@ -531,6 +531,7 @@ NS_IMETHODIMP
|
|||
nsSHistory::UpdateIndex()
|
||||
{
|
||||
// Update the actual index with the right value.
|
||||
if (mIndex != mRequestedIndex && mRequestedIndex != -1)
|
||||
mIndex = mRequestedIndex;
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -706,6 +707,7 @@ nsSHistory::LoadEntry(PRInt32 aIndex, long aLoadType, PRUint32 aHistCmd)
|
|||
}
|
||||
|
||||
|
||||
|
||||
PRBool
|
||||
nsSHistory::CompareSHEntry(nsISHEntry * aPrevEntry, nsISHEntry * aNextEntry, nsIDocShell * aParent,
|
||||
nsIDocShell ** aDSResult, nsISHEntry ** aSHEResult)
|
||||
|
|
Загрузка…
Ссылка в новой задаче