Bug #36371 --> clear refresh timers when loading new documents into the

docshell. This fixes the problem where after visiting a page with a refresh,
we would later always try to refresh that page even if you had moved on.


git-svn-id: svn://10.0.0.236/trunk@67733 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mscott%netscape.com
2000-05-01 21:33:49 +00:00
parent b748362cc1
commit f467b64b5d

View File

@@ -2278,6 +2278,8 @@ NS_IMETHODIMP nsDocShell::InternalLoad(nsIURI* aURI, nsIURI* aReferrer,
}
NS_ENSURE_SUCCESS(StopCurrentLoads(), NS_ERROR_FAILURE);
// Cancel any timers that were set for this loader.
CancelRefreshURITimers();
mLoadType = aLoadType;