[Webkit-unassigned] [Bug 249872] Crash in PDFDocument::injectStyleAndContentScript when downloading PDF

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 11 14:52:26 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=249872

--- Comment #4 from Michael Catanzaro <mcatanzaro at redhat.com> ---
Well I can at least make it not crash, but I'm not sure how to make the download actually work. It's getting blocked by CSP:

[Error] Refused to load blob:webkit-pdfjs-viewer://pdfjs/39176f55-4f67-4515-9733-dc0f6d764506 because it does not appear in the frame-src directive of the Content Security Policy.

Not sure why this happens for https://dor.mo.gov/forms/MO-1040%20Instructions_2022.pdf but not for https://www.irs.gov/pub/irs-pdf/i1040gi.pdf

-- 
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/20240411/887f1f2c/attachment.htm>


More information about the webkit-unassigned mailing list