帖子
帖子
用户
博客
课程
显示全部楼层
1
帖子
0
勋章
Y币

[superwebview] from accessing a frame with origin "null"

[复制链接]
发表于 2018-3-8 17:53:31
03-08 16:01:11.900 8624-8624/com.apicloud.superwebview.demo E/app3c: Uncaught SecurityError: Blocked a frame with origin "http://sit**.**:8040" from accessing a frame with origin "null".  The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "chrome-error". Protocols must match.
                                                                      at userIBasicInfo.html : 160

4
帖子
0
勋章
2750
Y币
你看看userIBasicInfo.html : 160,某个变量为空了
1
帖子
0
勋章
2750
Y币
yvmer336366 发表于 2018-3-8 18:01
你看看userIBasicInfo.html : 160,某个变量为空了

是由于accessing a frame with origin "null". 才会导致后边的哪一行报错!
5
帖子
0
勋章
3759
Y币
alexChen_1124 发表于 2018-3-9 14:33
是由于accessing a frame with origin "null". 才会导致后边的哪一行报错!

你创建个新页面再测试下,origin 是代码的某个变量?检查下origin 为什么为空了
您需要登录后才可以回帖 登录

本版积分规则