码迷,mamicode.com
首页 > 移动开发 > 详细

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      阅读:4219      评论:0      收藏:0      [点我收藏+]

标签:

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

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

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

标签:

原文地址:http://www.cnblogs.com/feitianlee/p/4305779.html

(4)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!