<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - WKWebView needs feature to allow file:// subresources"
href="https://bugs.webkit.org/show_bug.cgi?id=154916#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - WKWebView needs feature to allow file:// subresources"
href="https://bugs.webkit.org/show_bug.cgi?id=154916">bug 154916</a>
from <span class="vcard"><a class="email" href="mailto:pierbover11@gmail.com" title="Pier Bover <pierbover11@gmail.com>"> <span class="fn">Pier Bover</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=154916#c5">comment #5</a>)
<span class="quote">>
> Just for the sake of mentioning it, this works correctly if you set the
> allowFileAccessFromFileURLs preference in WKPreferences, but there's no
> public API to do so.</span >
Yep, it's there in the source:
<a href="https://github.com/WebKit/webkit/blob/master/Source/WebKit2/UIProcess/API/Cocoa/WKPreferences.mm#L388-L396">https://github.com/WebKit/webkit/blob/master/Source/WebKit2/UIProcess/API/Cocoa/WKPreferences.mm#L388-L396</a>
Are you saying that there is no way to enable that preference when creating a WKWebView?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>