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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user