From c722ec888fb830b9160ef87a73e67417ce6c056a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 17 Jul 2013 18:56:33 -0400 Subject: [PATCH] Remove hopefully unnecessary hack dating to Firefox 3.1 --- chrome/content/zotero/xpcom/storage/streamListener.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/chrome/content/zotero/xpcom/storage/streamListener.js b/chrome/content/zotero/xpcom/storage/streamListener.js index 4bf22e876..28f8c32eb 100644 --- a/chrome/content/zotero/xpcom/storage/streamListener.js +++ b/chrome/content/zotero/xpcom/storage/streamListener.js @@ -44,11 +44,6 @@ Zotero.Sync.Storage.StreamListener.prototype = { // nsIProgressEventSink onProgress: function (request, context, progress, progressMax) { - // Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=451991 - // (fixed in Fx3.1) - if (progress > progressMax) { - progress = progressMax; - } Zotero.debug("onProgress with " + progress + "/" + progressMax); this._onProgress(request, progress, progressMax); },