"setItem@[native code] logging run flush"

safari 中出现 "setItem@[native code] logging run flush"

此问题出现在 6s plus ios系统为10.2 时, safari打开操作localStorage.setItem('user', 'aaa') 时,报错:"setItem@[native code] logging run flush"。

折腾好几个小时最终解决方法是 关闭了safari的无痕浏览后,此报错消失。

结论: 本人亲测在(iphone8 plus,XR) 的safari无痕浏览模式下没有报错。应该是低版本的safari无痕浏览模式下的bug

posted @ 2019-04-19 23:57  爱博子  阅读(299)  评论(0编辑  收藏  举报