Rajiv Jain wrote:
webNavigation.loadURI("http://www.kaboodle.com",nsIWebNavigation.LOAD_FLAGS_NONE, null, null, null);webBrowser.getContentDOMWindow().getDcoument() is returning a blank document ( i.e. nothing in <head> and <body> tags).
Based on your sample code, you're calling getDocument() right after calling loadURI, no? loadURI is asynchronous -- you want to call getDocument() once the load completes, but you're calling it right after it starts.
-Boris _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
