Open Bug 1663702 Opened 4 years ago Updated 2 years ago

Make nsFrameLoader::Print support cancellation and progress reporting

Categories

(Core :: Printing: Setup, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: jwatt, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [print2020][old-ui-])

nsFrameLoader::Print currently returns a Promise that resolves with undefined on success. This does not allow the frontend to implement bug 1662786 since there is no way for it to cancel a print job or report progress. (Well, other than getting the platform code to open the progress dialog, but we want to stop doing that in the platform code, and in fact move away from that dialog.)

Summary: Make nsFrameLoader::PrintWindow support cancellation and progress reporting → Make nsFrameLoader::Print support cancellation and progress reporting
Blocks: 1662786
Whiteboard: [print2020_v83][old-ui-] → [print2020_v85][old-ui-]
Whiteboard: [print2020_v85][old-ui-] → [print2020_v86][old-ui-]
Whiteboard: [print2020_v86][old-ui-] → [print2020_v88][old-ui-]
Whiteboard: [print2020_v88][old-ui-] → [print2020][old-ui-]
Blocks: 650960

We may want to restore some of the code removed by bug 1766651 for this. Abusing nsIPrintSettings to pass this information would not be appropriate though.

You need to log in before you can comment on or make changes to this bug.