But in my case here , i am passing

this.webNavigation.loadURI(aURL, nsIWebNavigation.LOAD_FLAGS_NONE, null,
null, null);

For testing purpose , i am hardcoding aURL in my code above .
aURL will be a localfile call test2.html in my local drive . Do i still need 
a webProgress Listener still ?


"Michal Ceresna" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> On Friday 17 June 2005 07:01, ken wrote:
> Hello,
>
> Saving in nsIWebBrowserPersist is asynchronous, you need to
> register nsIWebProgressListener and wait until it is completed.
>
> best regards,
> Michal
>
>> persistObj.saveDocument(testDocument,localFile,dataPath,aMineType,
>> outputFlags, 100);
>> alert("test3");
> 


_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to