Nanjun Hu wrote:After calling nsIWebBrowser::SaveDocument method
There is no such method on nsIWebBrowser.
nsWebBrowser implements nsIWebBrowserPersist... I assume that's what Nanjun meant.
And nsIWebBrowserPersist's SaveDocument returns immediately. The saving is done asynchronously.
Set a progress listener if you want to be notified about the completion of your request:
http://lxr.mozilla.org/seamonkey/source/embedding/components/webbrowserpersist/public/nsIWebBrowserPersist.idl#106
_______________________________________________ Mozilla-netlib mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-netlib