Open Bug 1119563 Opened 5 years ago Updated 5 years ago

Disable print menu items for documents that cannot be printed

Categories

(Toolkit :: Printing, defect)

x86
All
defect
Not set

Tracking

()

People

(Reporter: mconley, Unassigned)

References

Details

XUL documents are known to not be printable. Unfortunately, by the time we detect a XUL document and error out, a lot of printing machinery has gotten going, and we do silly things like showing a progress dialog.

We shouldn't even let the user get that far. We should expose some kind of API to determine whether or not a document is printable, and if not, we should disable the print and print preview commands.
Flags: firefox-backlog?
You need to log in before you can comment on or make changes to this bug.