Craig Kadziolka wrote:
inputStream->SetData("<html><img src=\"logo.gif\">My test generated page</html>", -1);

That's a relative URI.

// finally, load the stream we made
rv = docShell->LoadStream(inputStream,
                             NULL,

And you pass NULL for the base URI.

So of course nothing loads.  You want to pass the right base URI here.

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

Reply via email to