android webview "Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.", source: (1)

时间:2015-02-28 17:59:30   收藏:0   阅读:4219

这种错误,可以在loadurl之后再调用 localstorage。setitem()即可解决。

"Uncaught SecurityError: Failed to read the ‘localStorage‘ property from ‘Window‘: Access is denied for this document.", source:  (1)

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!