-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
print: Make the firefox printing code able to fail and be re-invoked.
This fixes a set of issues described in Mozilla bug 1662426[1]. In particular, once the print callback fails once (because the printing operation has been canceled in Gecko / replaced by a newer one, for example) it can't be re-invoked. This patch fixes it by properly cancelling the render task if it throws, or if the print callback is called again while ongoing. [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1662426
- Loading branch information
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters