Bug 272590 - Cannot download certain PDFs due to content security policy
Summary: Cannot download certain PDFs due to content security policy
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: PDF (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-04-12 09:18 PDT by Michael Catanzaro
Modified: 2024-08-27 04:30 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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