[Webkit-unassigned] [Bug 174076] WKWebView doesn't have API for downloading resources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 7 09:17:50 PDT 2017


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

--- Comment #6 from Brady Eidson <beidson at apple.com> ---
(In reply to Chris Dumez from comment #4)
> (In reply to Dan Saunders from comment #3)
> > 
> > decidePolicyForNavigationAction gets called with
> > "blob:https://jsfiddle.net/7d0fb8d6-1a27-4b33-aaa0-9e17e4108b69" URL, but
> > there is no way to download that file. The WebKit2 MiniBrowser does
> > decisionHandler(WKNavigationActionPolicyAllow) for this request and you can
> > see it results in a no-op.
> 
> I don't think the WK2 Minibrowsers supports downloads of any kind?

The first step is _WKNavigationActionPolicyDownload instead of WKNavigationActionPolicyAllow.

I (wrongly) thought PolicyDownload was API.

But of course the reason it's not API is because there's no API to monitor and manage the download itself once you do a "PolicyDownload"

-- 
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/20170707/f663a002/attachment.html>


More information about the webkit-unassigned mailing list