Kill off nsIPrintingPromptService and use nsIPrintDialogService directly
Categories
(Core :: Printing: Setup, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
Attachments
(2 files)
![]() |
Assignee | |
Comment 1•3 years ago
|
||
nsIPrintingPromptService comes from an era when the platform print code would
open the print settings dialog, which defaulted to the OS native dialogs.
Its purpose was to allow that dialog to be overridden by embedders to provide
their own interface for the user to select print settings. Nowadays the
platform print code does not open the dialogs. Instead apps like Firefox are
responsible for getting the print settings to pass to the platform code, and
the platform code provides a way to open the OS native print dialog if they
want to use that (nsIPrintDialogService). So nsIPrintingPromptService no longer
has any purpose, and just adds indirection and needless complexity.
Updated•3 years ago
|
Comment 2•3 years ago
|
||
FYI I think TB will need to change https://searchfox.org/comm-central/rev/cb066c59205002a0b0ac64a72e9ac2313acef39c/mail/base/content/mail3PaneWindowCommands.js#1606 in a similar fashion as comment 1 does for the Firefox printing code.
Comment 3•3 years ago
|
||
Comment 6•3 years ago
|
||
bugherder |
Description
•