On 31 Dec 2002 19:41:33 GMT, [EMAIL PROTECTED] (Boris Zbarsky) wrote: >> 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...
I load a file which, in its onload handler, creates a DOM document and then replaces the current window contents with the created document. >> 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... Thanks - I didn't know about that one. Matthew
