Skip to content
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

Update comment regarding beforeprint event support #9439

Merged
merged 1 commit into from
Feb 5, 2018

Conversation

Rob--W
Copy link
Member

@Rob--W Rob--W commented Feb 5, 2018

"beforeprint" / "afterprint" are standard features these days, and Chrome added support for it in Chrome 63: https://www.chromestatus.com/feature/5700595042222080

This is just a comment update, the added events are not really useful for PDF.js because these events are synchronous and non-cancelable. For that we would need async print events, but that doesn't seem to happen anytime soon - whatwg/html#2532

"beforeprint" / "afterprint" are standard features these days,
and Chrome added support for it in Chrome 63:
https://www.chromestatus.com/feature/5700595042222080
@Rob--W Rob--W added the printing label Feb 5, 2018
@Rob--W Rob--W requested a review from Snuffleupagus February 5, 2018 13:59
@Snuffleupagus Snuffleupagus merged commit 6b7e2cb into mozilla:master Feb 5, 2018
@timvandermeij timvandermeij removed the request for review from Snuffleupagus February 5, 2018 21:36
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
Update comment regarding beforeprint event support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants