Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 272448.740@safari-7618-branch (c369f50). https://bugs.web…
…kit.org/show_bug.cgi?id=271003 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 Canonical link: https://commits.webkit.org/274313.251@webkitglib/2.44
- Loading branch information