I noticed a nice feature in the embedding API that is not yet available in the normal browser! If you supply a directory name for aDataPath in nsWebBrowserPersist::SaveDocument it will save all the related files (i.e. styles sheets, images) in a seperate directory.
What would be really nice would be able to have a function to save the document as a "web archieve". This is a feature available in IE where the whole document and related files are saved as a multipart MIME message. Are there any plans to do something like this? Maybe it's already possible using the mailnews functions?
