Grant Gayed wrote:
> Can anyone tell
> me what to do to ensure that setting a page's content to something like this
> will not fail, or if this failure is expected, how to handle it so that the
> full page does not appear blank?

Hm...

Your easiest option is probably to not send a <meta> tag for the charset 
(if that's possible), or at least to include a charset in the type 
parameter of openStream, something like "text/html; charset=utf-8".

The reason that you get this behaviour is probably because the HTML 
parser tries to reload the page in order to reinterpret it in the 
charset specified in the meta tag, which is not possible for data loaded 
via nsIWebBrowserStream.


_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to