[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 11:46:12 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=156651
Michael Catanzaro <mcatanzaro at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bfulgham at webkit.org
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #1 from Michael Catanzaro <mcatanzaro at igalia.com> ---
I guess you are using local file URIs, in which case this is expected behavior after r197858. You can access sessionStorage instead. It's unfortunate to have a compatibility break in a stable release, but this one looks unavoidable.
(If this is happening for http/https URIs, then we would need to reopen this.)
You miiight be able to access localStorage by using webkit_settings_set_allow_file_access_from_file_urls, but I haven't tested to see if that would work.
--
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/20160416/cc19c4eb/attachment.html>
More information about the webkit-unassigned
mailing list