Closed Bug 1303733 Opened 8 years ago Closed 8 years ago

Print and print preview API needed in WebExtensions

Categories

(WebExtensions :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1269300

People

(Reporter: r.chrzanowski, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 OPR/39.0.2256.71 Steps to reproduce: As we are moving towards WebExtensions many people see that they don't allow as much as Firefox extensions nowadays. Some see lack of printing API... disturbing. https://blog.mozilla.org/addons/2015/08/21/the-future-of-developing-firefox-add-ons/comment-page-5/#comment-219116 I'd like to see such API to use in extension with our web application too. Something like print(window, printSettings) and printpreview(window, printSettings). In Add-on SDK it was possible to print through an extensions with stuff like windowUtils.getMostRecentBrowserWindow().printUtils.printPreview and windowUtils.getMostRecentBrowserWindow().print functions and that won't be possible in WebExtensions as far as I can tell.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.