On Sep 17, 5:56 pm, Christian Biesinger <[EMAIL PROTECTED]> wrote:
>
> To have a working progress bar, you need to get an nsIProgressEventSink
> from your notification callbacks (and, if that fails, from the
> loadgroup's notification callbacks) and call onProgress/onStatus as needed.
>
> You also have to put the channel into the loadgroup in AsyncOpen, and
> remove it after calling OnStopRequest, but you seem to have figured that
> out.
>
> Unfortunately I don't have an idea on why the second channel would be
> created; the only reason I can think of is that you don't have a
> contentCharset and the data contains a <meta> element with charset info.
> That causes a new channel to be created and loaded, but that wouldn't
> happen right after asyncOpen...
>

Do you have any ideas that help me understand what's wrong? may be
using a debug firefox executable can help(though the amount of source-
code is huge), What do you think?


_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to