krithika wrote:
> Can someone let me the alternatives to loading a page through
> webnavigation other than loadurI call.

Not through nsIWebNavigation, no.

> 1. Can I load an html document? which is a String as given below

You can either use a data: URI or loadStream (see below).

> 2. Can I load an html document available as a inputstream?

Yes, from C++.  See 
http://lxr.mozilla.org/seamonkey/source/docshell/base/nsIDocShell.idl#114

Note that this interface is not guaranteed to stick around.

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

Reply via email to