??? wrote:
webNav->LoadURI(NS_ConvertASCIItoUCS2(url).get(),
nsIWebNavigation::LOAD_FLAGS_NONE,
nsnull,
nsnull,
nsnull);
This starts the load. The load is asynchronous.
rv = window->GetDocument(getter_AddRefs(doc));
This creates an empty document, since nothing has been loaded into that
window yet.
You need to wait until the load completes before getting the document.
-Boris
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding