<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - WkWebview: calling localStorage.getItem() results in Uncaught Exception: SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent."
href="https://bugs.webkit.org/show_bug.cgi?id=156651#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - WkWebview: calling localStorage.getItem() results in Uncaught Exception: SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent."
href="https://bugs.webkit.org/show_bug.cgi?id=156651">bug 156651</a>
from <span class="vcard"><a class="email" href="mailto:bfulgham@webkit.org" title="Brent Fulgham <bfulgham@webkit.org>"> <span class="fn">Brent Fulgham</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=156651#c8">comment #8</a>)
<span class="quote">>
> So, you might be able to do something with the frame loader client's
> "shouldForceUniversalAccessFromLocalURL".
>
> You might be able to use
> WKBundlePageShouldForceUniversalAccessFromLocalURLCallback to set a function
> that either always says "Yes, go ahead and use it", or check for specific
> URLs that you approve of.</span >
Also:
WKBundleSetAllowUniversalAccessFromFileURLs might be all you need. This is a WKWebViewConfigurationPrivate.h method.</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>