I am trying set an nsIProgressEventSink for an XMLHttpRequest's channel, but the sink never fires. I can see the notificationCallback requesting the nsIProgressEventSink interface but that's as far as it gets.
That won't work, apparently - XMLHTTPRequest overwrites the notification callbacks you set. It looks like it forwards the progress notifications somewhere though - try setting an "onprogress" listener on the xmlhttprequest.
onStatus: function(request, context, status, statusArg) {
dump( "\nStatus: " +status );
},
But it looks like there's no way to get onStatus notifications when using XMLHttpRequest.
You could of course use Necko directly.
smime.p7s
Description: S/MIME Cryptographic Signature
