WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
195769
Active EventSource prevents window.print() from working in Safari 12
https://bugs.webkit.org/show_bug.cgi?id=195769
Summary
Active EventSource prevents window.print() from working in Safari 12
Daniel LeCheminant
Reported
2019-03-14 15:06:46 PDT
Repro: 1. Visit a site with an active event source, e.g.
https://simpl.info/eventsource/
2. Run window.print() from the console Expected: Print dialog opens, or some indication that a print is being attempted Actual: Nothing happens Related: I expect this is also the cause of
https://github.com/launchdarkly/js-client/issues/121
Attachments
Add attachment
proposed patch, testcase, etc.
Daniel LeCheminant
Comment 1
2019-03-14 15:12:23 PDT
If it's helpful, I have a simple repro at
https://jsfiddle.net/43ufcxkw/
The print on that page works in Chrome 72, but does not work in Safari 12.
Daniel LeCheminant
Comment 2
2019-03-15 09:53:59 PDT
As a workaround, document.execCommand('print') does appear to work in Safari.
Radar WebKit Bug Importer
Comment 3
2019-03-16 13:24:51 PDT
<
rdar://problem/48955771
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug