[Webkit-unassigned] [Bug 156651] 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.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Apr 16 20:16:04 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=156651
--- Comment #9 from Brent Fulgham <bfulgham at webkit.org> ---
(In reply to comment #8)
>
> 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.
Also:
WKBundleSetAllowUniversalAccessFromFileURLs might be all you need. This is a WKWebViewConfigurationPrivate.h method.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160417/fee06d92/attachment.html>
More information about the webkit-unassigned
mailing list