Additional tweak to make session history a little safer. Bug 305181, r=bryner, sr=darin

git-svn-id: svn://10.0.0.236/trunk@191004 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2006-02-23 05:30:25 +00:00
parent 087941e251
commit 5eea6eae6d
2 changed files with 41 additions and 0 deletions

View File

@@ -334,6 +334,11 @@ protected:
WalkHistoryEntriesFunc aCallback,
void *aData);
// For each child of aParentEntry, check whether it belongs to aChildShell.
// If it does, remove it from the child list of aParentEntry.
static void RemoveChildsSHEntriesFrom(nsISHEntry *aParentEntry,
nsDocShell *aChildShell);
// overridden from nsDocLoader, this provides more information than the
// normal OnStateChange with flags STATE_REDIRECTING
virtual void OnRedirectStateChange(nsIChannel* aOldChannel,