WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
272590
Cannot download or display certain PDFs due to content security policy
https://bugs.webkit.org/show_bug.cgi?id=272590
Summary
Cannot download or display certain PDFs due to content security policy
Michael Catanzaro
Reported
2024-04-12 09:18:59 PDT
This is a follow up to
bug #249872
. Opening
https://dor.mo.gov/forms/MO-1040%20Instructions_2022.pdf
and attempt to download it using the PDF.js UI. It won't work: [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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-04-22 08:55:40 PDT
<
rdar://problem/126863829
>
Michael Catanzaro
Comment 2
2024-08-27 04:30:57 PDT
It's probably related to
https://bugs.webkit.org/show_bug.cgi?id=264355
Michael Catanzaro
Comment 3
2025-04-03 05:47:42 PDT
***
Bug 290935
has been marked as a duplicate of this bug. ***
Michael Catanzaro
Comment 4
2025-04-03 05:48:15 PDT
There is another reproducer, depending on Fastmail, in
bug #272590
.
Michael Catanzaro
Comment 5
2025-10-10 07:32:07 PDT
(In reply to Michael Catanzaro from
comment #4
)
> There is another reproducer, depending on Fastmail, in
bug #272590
.
Oops, I meant to write: in
bug #290935
Caden Mitchell
Comment 6
2025-10-10 15:06:20 PDT
#300492 is a duplicate of this bug, I believe. You cannot preview PDFs or DOCX in WebKitGTK because of this security policy violation. Breaks document previews in Proton Mail.
Michael Catanzaro
Comment 7
2025-10-10 16:04:14 PDT
***
Bug 300492
has been marked as a duplicate of this bug. ***
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