зеркало из https://github.com/mozilla/gecko-dev.git
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.
This commit is contained in:
Родитель
65b72822ba
Коммит
f5e1bee33e
|
@ -2278,6 +2278,8 @@ NS_IMETHODIMP nsDocShell::InternalLoad(nsIURI* aURI, nsIURI* aReferrer,
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_ENSURE_SUCCESS(StopCurrentLoads(), NS_ERROR_FAILURE);
|
NS_ENSURE_SUCCESS(StopCurrentLoads(), NS_ERROR_FAILURE);
|
||||||
|
// Cancel any timers that were set for this loader.
|
||||||
|
CancelRefreshURITimers();
|
||||||
|
|
||||||
mLoadType = aLoadType;
|
mLoadType = aLoadType;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче