Addresses #1726, Firefox 4 Compatibility
This commit is contained in:
parent
6b9f9643da
commit
8a5e5385cb
1 changed files with 8 additions and 1 deletions
|
@ -2559,12 +2559,19 @@ Zotero.Sync.Storage.StreamListener.prototype = {
|
||||||
|
|
||||||
// nsIChannelEventSink
|
// nsIChannelEventSink
|
||||||
onChannelRedirect: function (oldChannel, newChannel, flags) {
|
onChannelRedirect: function (oldChannel, newChannel, flags) {
|
||||||
Zotero.debug('onRedirect');
|
Zotero.debug('onChannelRedirect');
|
||||||
|
|
||||||
// if redirecting, store the new channel
|
// if redirecting, store the new channel
|
||||||
this._channel = newChannel;
|
this._channel = newChannel;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
asyncOnChannelRedirect: function (oldChan, newChan, flags, redirectCallback) {
|
||||||
|
Zotero.debug('asyncOnRedirect');
|
||||||
|
|
||||||
|
this.onChannelRedirect(oldChan, newChan, flags);
|
||||||
|
redirectCallback.onRedirectVerifyCallback(0);
|
||||||
|
},
|
||||||
|
|
||||||
// nsIHttpEventSink
|
// nsIHttpEventSink
|
||||||
onRedirect: function (oldChannel, newChannel) {
|
onRedirect: function (oldChannel, newChannel) {
|
||||||
Zotero.debug('onRedirect');
|
Zotero.debug('onRedirect');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue