AFAIK the drawWindow function fails to draw from plugin areas for pages that are not visible [1]. It always worked for me for visible pages.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=742767 m On Wed, Dec 19, 2012 at 9:15 AM, David Rajchenbach-Teller < dtel...@mozilla.com> wrote: > On 12/19/12 2:24 AM, falcon....@gmail.com wrote: > > On Windows platform PrintWindow is capturing only plugins window with > other page as black screen. nsIDOMCanvasRenderingContext2D can draw page, > but doesn't draw plugins. > > > > I'm searching for universal method of capturing page image > > _______________________________________________ > > dev-platform mailing list > > dev-platform@lists.mozilla.org > > https://lists.mozilla.org/listinfo/dev-platform > > > > I may be wrong, but I believe that we can render any page to a <canvas>: > > https://developer.mozilla.org/en-US/docs/HTML/Canvas/Drawing_DOM_objects_into_a_canvas > > Couldn't this serve your needs? > > Cheers, > David > -- > David Rajchenbach-Teller, PhD > Performance Team, Mozilla > > > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > > -- www.telasocial.com _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform