Neil Stansbury wrote:
"onprogress"? I didn't know there was such a DOM event? Do you know what the DOMString is? I have got it to work with "load" but it doesn't like "progress":

The code looked like there was some sort of "onprogress" event. Maybe you need
httpRequest.onprogress = listener;

But, I don't know XMLHttpRequest well, and npm.xml or npm.dom are probably better groups for XMLHttpRequest questions...

You could of course use Necko directly.

I take it you mean implement my own channel/protocol handlers?

No :)

I meant create a channel using the IO Service, and asyncOpen that. You'd supply a listener.

You would have to take care of finding a way to parse the XML though, if you want to do that (Using DOMParser maybe)...

Do you know why XMLHTTPRequest overwrites the notification callbacks? I

Probably so that it can notify its listener of onprogress events :-)

https://bugzilla.mozilla.org/show_bug.cgi?id=251418 added that.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to