Ok, I figured out the problem. The reason GetBodyContent was returning
null was that the document wasn't fully loaded.  What I do now is
install an nsIWebProgressListener and poll it until the document is
fully loaded, running the event loop between polls.  Then, I get the
selection as normal and everything works fine.

Thanks for your help,

Ed

_______________________________________________
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to