[Webkit-unassigned] [Bug 154916] WKWebView needs feature to allow file:// subresources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 4 04:25:48 PDT 2017


--- Comment #21 from ae at seven.systems ---
(In reply to Pier Bover from comment #20)
> Hi everyone
> According to information on this repo, WkWebView can access file with the
> file:/// protocol when the files are in the temp folder.
> https://github.com/ShingoFukuyama/WKWebViewTips
> The author also mentions that using **allowingReadAccessToURL** it is
> possible to access files on other folders.

Hi Pier,

yes, the temp thing works, but it is impractical and slow to copy the whole Documents folder, potentially holding hundreds of MB, on every app launch. We've used that workaround for some time, but now resorted to GCDWebServer.

And concerning allowingReadAccessToURL: We're now using this to provide access to the APP BUNDLE. However, AFAICS, this only allows to specify ONE folder. Most apps will need access to both the Documents folder AND the App bundle.

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/20170904/68b23f75/attachment.html>

More information about the webkit-unassigned mailing list