Re: nsIWebBrowserPersist saveDocument() method

Boris Zbarsky <[email protected]> Tue, 06 Apr 2010 21:26:44 -0400
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 4/6/10 9:20 PM, Nashid wrote:
> I am using mozilla interface nsIWebBrowserPersist (https://
> developer.mozilla.org/en/XPCOM_Interface_Reference/
> nsIWebBrowserPersist) with a method called saveDocument().
>
> I have integrated this one with mozrepl. So if I give repl.save() it
> is saving the page.
>
> But the problem is it saves the html without any image. But as per
> specification it is to save the specified DOM document to file and
> optionally all linked files (e.g. images, CSS, JS&  subframes).

How are you calling saveDocument?

-Boris