commit 8a5e5385cb71dc6a0cf0cb6a862543d60e2b574f
parent 6b9f9643da219d03d38f8c1125e836e5c6fdcbdb
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 30 Sep 2010 22:02:24 +0000
Addresses #1726, Firefox 4 Compatibility
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js
@@ -2559,12 +2559,19 @@ Zotero.Sync.Storage.StreamListener.prototype = {
// nsIChannelEventSink
onChannelRedirect: function (oldChannel, newChannel, flags) {
- Zotero.debug('onRedirect');
+ Zotero.debug('onChannelRedirect');
// if redirecting, store the new channel
this._channel = newChannel;
},
+ asyncOnChannelRedirect: function (oldChan, newChan, flags, redirectCallback) {
+ Zotero.debug('asyncOnRedirect');
+
+ this.onChannelRedirect(oldChan, newChan, flags);
+ redirectCallback.onRedirectVerifyCallback(0);
+ },
+
// nsIHttpEventSink
onRedirect: function (oldChannel, newChannel) {
Zotero.debug('onRedirect');