From cb3dac067e184ab16120e9254c9b155c50da90ae Mon Sep 17 00:00:00 2001 From: "dolske%mozilla.com" Date: Thu, 25 Oct 2007 03:57:09 +0000 Subject: [PATCH] Backout Bug 399838 to investigate Ts regression. --- browser/components/sessionstore/src/nsSessionStore.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/browser/components/sessionstore/src/nsSessionStore.js b/browser/components/sessionstore/src/nsSessionStore.js index b0baddc67a8..3b1d8bfdf8f 100644 --- a/browser/components/sessionstore/src/nsSessionStore.js +++ b/browser/components/sessionstore/src/nsSessionStore.js @@ -420,8 +420,10 @@ SessionStoreService.prototype = { delete this._initialState; } - // restart any interrupted downloads - aWindow.setTimeout(this.retryDownloads, 0); + if (this._lastSessionCrashed) { + // restart any interrupted downloads + aWindow.setTimeout(this.retryDownloads, 0); + } } var tabbrowser = aWindow.getBrowser();