Re: nsIWebBrowserPersist saveDocument() method
Boris Zbarsky <[email protected]> Wed, 07 Apr 2010 10:51:29 -0400
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
On 4/7/10 10:21 AM, Nashid wrote: > wbp.saveDocument(content.document, file, null,null, encodingFlags, > null); From http://mxr.mozilla.org/mozilla-central/source/embedding/components/webbrowserpersist/public/nsIWebBrowserPersist.idl the documentation for that third argument (your first null) is: 268 * @param aDataPath Path to directory where URIs linked to the document 269 * are saved or nsnull if no linked URIs should be saved. 270 * This may be a nsILocalFile object or an nsIURI object 271 * with a file scheme. -Boris