Brightman wrote:
>     mNavigation->LoadURI(mURI.get(),                        // URI

I thought it was something like that.  LoadURI does the load asynchronously.

>   //get current document
>   nsCOMPtr<nsIDOMDocument> domDoc;
>   nsresult res = mNavigation->GetDocument(getter_AddRefs(domDoc));

Which means here the document you're getting is "about:blank" (as you can tell 
by just looking at its URI).  It has a <body> but indeed no <a> tags.

You need to wait until the document loads.

-Boris

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

Reply via email to