-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PDFs should be downloaded in lockdown mode
https://bugs.webkit.org/show_bug.cgi?id=271003 rdar://124636755 Reviewed by Chris Dumez. This functionality was first introduced in https://bugs.webkit.org/show_bug.cgi?id=237245, but was disabled for macOS in https://bugs.webkit.org/show_bug.cgi?id=241741. This patch is to re-enable it. This functionality should be covered by WKDownload.LockdownModePDF. Which is also fixed in this change such that it fails whenever the conditional doesn't exist. * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::decidePolicyForResponseShared): * Tools/TestWebKitAPI/Tests/WebKitCocoa/Download.mm: Canonical link: https://commits.webkit.org/272448.740@safari-7618-branch
- Loading branch information
Pascoe
committed
Mar 15, 2024
1 parent
f84cad4
commit c369f50
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters