1. I write a implentation of the nsIURIContentListener and register with nsIURILoader during xomponent registration.
Or even just register with the category manager... see http://www.mozilla.org/docs/docshell/uri-load-start.html#CategoryManager
2. Use the DoContent method of the nsIURIContentListener to pump up the contents in the new window.
Yep. That should work...
1. How to create the instance of new window either from C++ or JS.
Perhaps see nsIWindowWatcher?
2. What do I need to do to render the contents in the new window?
This is the part that's not clear to me -- I don't know that you can pump the data into the new window usefully... you may have to resort to using a data: uri... :(
-Boris _______________________________________________ Mozilla-netlib mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-netlib