[ https://issues.apache.org/jira/browse/CB-11524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15392744#comment-15392744 ]
Shazron Abdullah commented on CB-11524: --------------------------------------- This change is by design due to this change: https://trac.webkit.org/changeset/197858 To allow localStorage from file URLs, WKWebView needs to allow a setting to override this change, so we need to wait for that (if it ever comes). Accessing localStorage from http and https urls should still work. > [iOS 10] Using localStorage with WKWebView gives a security error > ----------------------------------------------------------------- > > Key: CB-11524 > URL: https://issues.apache.org/jira/browse/CB-11524 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin WKWebViewEngine > Reporter: Saúl Ibarra Corretgé > Assignee: Shazron Abdullah > Labels: wkwebview-known-issues > > When using window.localStorage on iOS 10 with WKWebView, the following error > happens: SecurityError: DOM Exception 18: An attempt was made to break > through the security policy of the user agent. > This does not happen with UIWebView, or with WKWebView on iOS 9. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org