> 1. Can I use aWindowTarget to display the results in the correct
> window? Would I do a QueryInterface on it to get some kind of window
> object? If so, which interface would I use?

Are you creating a DOM tree and then trying to attach it to a window?  I don't
think that's possible yet...

> 2. Presumably, by the time handleContent is called, the request has
> already been made to the server and the response has been received (or
> has started to be received) - otherwise how would Mozilla know the
> content type. So my XMLHTTPRequest to get the content is redundant. Is
> there any way to get access to the rest of the response from the
> server? Or am I misunderstanding the architecture here?

It sounds like what you really want to implement is nsIURIContentListener...

Boris
-- 
Trying to handle strings with any language besides Perl feels
like trying to solder resistors to a motherboard with a forklift.

Reply via email to