Bug 225178
| Summary: | Canceling a print request results in empty preview on subsequent requests - can hang Safari | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lou Mazz <l.mazz> |
| Component: | Printing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Major | CC: | aestes, akeerthi, thorton, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 14 | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 10.14 | ||
Lou Mazz
1. Open a wine list in my web app
2. Try to print it…
A. The first time: I get a print panel with the result in it.
If I hit “preview as PDF”, I see it rendered just fine.
I can view and close the preview window.
THIS IS REPEATABLE.
BUT
B. If i hit “Cancel” in the print form, the next time I try to print the
wine list, I get a blank (and apparently intinitely long) preview panel.
If I hit “Cancel”, I return, and get the same empty but infinite preview if I try to print again.
IF I HIT “preview as PDF” and then try to cancel, IT HANGS SAFARI:
HERE"S AN EXAMPLE FROM ANOTHER USER:
https://jasonday.github.io/printThis/#nada
Click "See the demo"
Click "Print Kittens" = first time OK, second time: nada. Same symptoms as above
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Lou Mazz
https://jasonday.github.io/printThis/#nada
Safari 14.1 (14611.1.21.161.5)
macOS 10.14.6 (18G9028)
Click “Print Kittens” - first time, all is well. Click “Cancel” on print panel.
- second time, get “webpage is trying to print” message
click “Print” - preview panel is blank, crash will occur if attempt to print blank panel
————————————
Safari 13.1.2 (13609.3.5.1.5)
MacOs 10.13.6 (17G14042)
Click “Print Kittens” - first time, all is well. Click “Cancel” on print panel.
- second time, time, get “webpage is trying to print” message
click “Print” - NO PRINT PANEL
Radar WebKit Bug Importer
<rdar://problem/77584924>