зеркало из https://github.com/mozilla/pjs.git
Revoke presentation restore events even if we just get a network stop. Bug 306283, r+sr=biesi
This commit is contained in:
Родитель
707aa8094f
Коммит
4081d8d1e8
|
@ -3223,10 +3223,10 @@ nsDocShell::Reload(PRUint32 aReloadFlags)
|
|||
NS_IMETHODIMP
|
||||
nsDocShell::Stop(PRUint32 aStopFlags)
|
||||
{
|
||||
if (nsIWebNavigation::STOP_CONTENT & aStopFlags) {
|
||||
// Revoke any pending event related to content viewer restoration
|
||||
mRestorePresentationEvent.Revoke();
|
||||
// Revoke any pending event related to content viewer restoration
|
||||
mRestorePresentationEvent.Revoke();
|
||||
|
||||
if (nsIWebNavigation::STOP_CONTENT & aStopFlags) {
|
||||
// Stop the document loading
|
||||
if (mContentViewer)
|
||||
mContentViewer->Stop();
|
||||
|
|
Загрузка…
Ссылка в новой задаче