-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webContents.printToPDF rejects in v8.0.0-beta.5 #21708
Comments
FWIW When I bisected, I found 05cde0d to be the first commit with the problem. Log
|
@deepak1556 It looks like #21061 skips the |
Thanks for digging into this. When I discovered that it broke after a Chromium update I threw up my hands and didn't know what to do next (have not yet had to peel back that layer). |
@jacobq PR is up and it should be fixed in the next beta. Chromium is a complicated terror zone so it's not just you 😅 |
Preflight Checklist
Note: related but different issues:
Issue Details
Expected Behavior
Calling
someBrowserWindow.webContents.printToPDF
should not throw exception / generate promise rejection.Actual Behavior
Calling
someBrowserWindow.webContents.printToPDF
rejects with[Error: Failed to generate PDF]
.To Reproduce
Fiddle: https://gist.github.com/jacobq/cc5e5e1736b88cb32604f55369afd1c7
Repo: https://github.com/jacobq/electron-quick-start/tree/bug/print-to-pdf
The text was updated successfully, but these errors were encountered: