[Webkit-unassigned] [Bug 158801] WKWebView should expose API for download of a file.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 25 13:58:35 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=158801
--- Comment #8 from Eugene But <eugenebut at chromium.org> ---
Sorry for the confusion. I was thinking about _WKNavigationResponsePolicyBecomeDownload not about _WKNavigationActionPolicyDownload, my bad.
Here is the scenario where host app will have to visit the URL again:
1.) webView:decidePolicyForNavigationResponse:decisionHandler: gets called
2.) navigationResponse.canShowMIMEType returns NO
3.) navigationResponse.response.MIMEType is application/vnd.apple.pkpass
In this case a browser wants to start downloading PassKit file so it can be added into Wallet app. And the only way to do that is to fetch the URL again.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170825/4232aa0e/attachment.html>
More information about the webkit-unassigned
mailing list