Bug 1620314 Comment 7 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

For messageWindow.js (the standalone msg win), this seem to work (help). But not for the 3pane.

  case "cmd_print":
    let browser = getBrowser();
    PrintUtils.printWindow(browser.browsingContext);

I suspect something is wrong with the docshell stuff in nsMsgPrintEngine.
I wonder if we could get rid of nsMsgPrintEngine completely...

https://hg.mozilla.org/mozilla-central/rev/33a086f16245
Ben, bug 1552966 comment 2 also could be worth a read.
For messageWindow.js (the standalone msg win), the below seem to work (help). But not for the 3pane.

  case "cmd_print":
    let browser = getBrowser();
    PrintUtils.printWindow(browser.browsingContext);

I suspect something is wrong with the docshell stuff in nsMsgPrintEngine.
I wonder if we could get rid of nsMsgPrintEngine completely...

https://hg.mozilla.org/mozilla-central/rev/33a086f16245
Ben, bug 1552966 comment 2 also could be worth a read.

Back to Bug 1620314 Comment 7