Hi All,

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

What I mean is

1. Can I load an html document? which is a String as given below
<html><title>xx</title> <body><p>Test page</p></body></html>

I tried nsIDocument doc.open() and write but it is not getting loaded.

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

Iam not sure on how to do this.

In my scenario I might not get the url of the document.It could be
like 1 or 2.

regards,
Krithika

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

Reply via email to