[Webkit-unassigned] [Bug 158801] WKWebView should expose API for download of a file.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 17 14:59:34 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=158801

--- Comment #3 from michaeldo at chromium.org ---
You can reproduce this by logging into a cloud service (ex: GoogleDrive) in a WKWebView with the websiteDataStore configuration set to +nonPersistentDataStore.

Or attempt to download a file which is directly linked to from a webpage instead of displaying it inside of the WKWebView. This type of webpage may be protected by HTTP Basic Authentication for example. (I can provide such a sample site if desired.)

In order to download the file into the application, intercept the request in webView:decidePolicyForNavigationAction:decisionHandler:. I am attempting the file download using an NSURLSessionDownloadTask. Attempting to use this request to download the file outside of WKWebView fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160617/b0db335f/attachment.html>


More information about the webkit-unassigned mailing list