commit c722ec888fb830b9160ef87a73e67417ce6c056a
parent 46cce5a2bd7e952cd7ed5bce555fcd15bcce5f65
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 17 Jul 2013 18:56:33 -0400
Remove hopefully unnecessary hack dating to Firefox 3.1
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git 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);
},