From a893aed7c5aa01eb625698b74df81335bedb6187 Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Thu, 14 Sep 2006 06:05:00 +0000 Subject: [PATCH] bug 48436 r=caillon sr=blake Change "Document: Done" to "Done" --- suite/browser/nsBrowserStatusHandler.js | 6 ------ suite/locales/en-US/chrome/browser/navigator.dtd | 2 +- suite/locales/en-US/chrome/browser/navigator.properties | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/suite/browser/nsBrowserStatusHandler.js b/suite/browser/nsBrowserStatusHandler.js index ad96a6a834b..d7381971202 100644 --- a/suite/browser/nsBrowserStatusHandler.js +++ b/suite/browser/nsBrowserStatusHandler.js @@ -77,7 +77,6 @@ nsBrowserStatusHandler.prototype = jsStatus : "", jsDefaultStatus : "", overLink : "", - startTime : 0, statusTimeoutInEffect : false, @@ -213,8 +212,6 @@ nsBrowserStatusHandler.prototype = (aStateFlags & nsIWebProgressListener.STATE_IS_REQUEST && !aWebProgress.isLoadingDocument && this.totalRequests == this.finishedRequests)) { - // Remember when loading commenced. - this.startTime = Date.now(); // Call start document load listeners (only if this is a network load) if (aStateFlags & nsIWebProgressListener.STATE_IS_NETWORK && @@ -272,10 +269,7 @@ nsBrowserStatusHandler.prototype = // If msg is false then we did not have an error (channel may have // been null, in the case of a stray image load). if (!msg) { - // Record page loading time. - var elapsed = (Date.now() - this.startTime) / 1000; msg = gNavigatorBundle.getString("nv_done"); - msg = msg.replace(/%elapsed%/, elapsed); } this.status = ""; this.setDefaultStatus(msg); diff --git a/suite/locales/en-US/chrome/browser/navigator.dtd b/suite/locales/en-US/chrome/browser/navigator.dtd index c9afc557d3d..4e44c74b86a 100644 --- a/suite/locales/en-US/chrome/browser/navigator.dtd +++ b/suite/locales/en-US/chrome/browser/navigator.dtd @@ -191,7 +191,7 @@ - + diff --git a/suite/locales/en-US/chrome/browser/navigator.properties b/suite/locales/en-US/chrome/browser/navigator.properties index 7effe381ea2..3538d42d27d 100644 --- a/suite/locales/en-US/chrome/browser/navigator.properties +++ b/suite/locales/en-US/chrome/browser/navigator.properties @@ -1,4 +1,4 @@ -nv_done=Document: Done (%elapsed% secs) +nv_done=Done nv_timeout=Timed Out nv_stopped=Stopped openFile=Open File