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
fix: carry through arguments in webContents.print() #17052
Conversation
Should we try to unstick this code review. Looks like the built-test failure might be related to something else? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fixed rest arguments look good to me, and so does the initialization of silent
.
cc @deepak1556 for a second confirmation since you've spent more time in print-related code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Release Notes Persisted
|
Congrats on merging your first pull request! 🎉🎉🎉 |
I have automatically backported this PR to "4-0-x", please check out #17116 |
I have automatically backported this PR to "5-0-x", please check out #17117 |
Description of Change
Fix for #16792
webContents.print()
doesn't deserialize arguments correctly, and doesn't initialize thesilent
argument correctly. This had the side-effect ofwebContents.print()
only sometimes working and always ignoring passed arguments.Checklist
npm test
passesRelease Notes
Notes: Fixed
webContents.print()
not working correctly.