Bug 272590

Summary: Cannot download certain PDFs due to content security policy
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: PDFAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply, mcatanzaro, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=264355
https://bugs.webkit.org/show_bug.cgi?id=249872

Description Michael Catanzaro 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.
Comment 1 Radar WebKit Bug Importer 2024-04-22 08:55:40 PDT
<rdar://problem/126863829>
Comment 2 Michael Catanzaro 2024-08-27 04:30:57 PDT
It's probably related to https://bugs.webkit.org/show_bug.cgi?id=264355