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