Remove the LayoutHistoryState after restoring a page from session history (bug 305129). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@178991 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5300,7 +5300,11 @@ nsDocShell::RestoreFromHistory()
|
||||
SetHistoryEntry(&mOSHE, mLSHE);
|
||||
|
||||
// XXX special wyciwyg handling in Embed()?
|
||||
// XXX SetLayoutHistoryState(null)?
|
||||
|
||||
// We aren't going to restore any items from the LayoutHistoryState,
|
||||
// but we don't want them to stay around in case the page is reloaded.
|
||||
SetLayoutHistoryState(nsnull);
|
||||
|
||||
// This is the end of our Embed() replacement
|
||||
|
||||
mSavingOldViewer = PR_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user