[Webkit-unassigned] [Bug 235066] New: Printing PDF from iframe result in blank page
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 11 07:42:34 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=235066
Bug ID: 235066
Summary: Printing PDF from iframe result in blank page
Product: WebKit
Version: Safari 15
Hardware: Mac (Apple Silicon)
OS: macOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: Frames
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cyril at tutteo.com
Created attachment 448847
--> https://bugs.webkit.org/attachment.cgi?id=448847&action=review
Simple proof of concept to highlight the issue.
Programmatically printing a PDF from an iframe result in a blank page.
You can find an archive attached to this message, on which you can run a web server to reproduce the issue.
If a `setTimeout` is set (1000ms in the attached example) before the call to `print()`, the
first attempt works (see `working-print.png` in the attached archive)
However if we click on "cancel", successive attempts result in a blank page, after asking "This web page is trying to print. Do you want to print this web page?".
(See `failed-print.png` in the attached archive).
So far I have only reproduced the bug on Safari. I have tested it on last versions of Firefox (95) and Chrome (97) without the bug happening.
It seems that the bug has been introduced in a recent version of Safari, as it used to work before.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220111/0d8817f3/attachment.htm>
More information about the webkit-unassigned
mailing list