We have a webapp that is very javascript intensive - a lot of activity with custom markers on google maps and potentially a lot of items on the page.
我们有一个非常javascript密集型的webapp——在谷歌地图上有很多自定义标记的活动,并且可能在页面上有很多项目。
Intermittently and unpredictably, Safari on iOS will give the 'A problem occurred with this webpage so it was reloaded' error.
苹果iOS上的Safari会出现“页面出现问题,重新加载”的错误。
The majority of the time, this happens after a photo has been input and resized by the broswer - an upload hasn't happened yet.
大多数情况下,这是在照片输入并被broswer调整后发生的——上传还没有发生。
In researching potential issues, I've found the following links
在研究潜在问题时,我发现了以下几个环节
- https://discussions.apple.com/thread/6707626?tstart=0
- https://discussions.apple.com/thread/6707626?tstart=0
- https://www.quora.com/When-Safari-says-A-problem-occurred-with-this-webpage-so-it-was-reloaded-what-sort-of-problem-has-likely-occurred
- https://www.quora.com/When-Safari-says-A-problem-occurred-with-this-webpage-so-it-was-reloaded-what-sort-of-problem-has-likely-occurred
The real question is how do I identify the cause of the crash? This never occurs on desktop so working out if it's an iOS limitation, a memory issue, a resizing problem or another cause is incredibly difficult.
真正的问题是,我如何确定坠机的原因?这在桌面上是不会发生的,所以如果是iOS限制,内存问题,大小调整问题或者其他原因都是非常困难的。
I've connected an iPhone to a Mac to run the web inspector on the phone but this crash just terminates the whole process without logging any errors so there is no help there either.
我已经把iPhone和Mac连接起来,让它在手机上运行web inspector,但这次崩溃只是在没有记录任何错误的情况下终止了整个过程,所以也没有任何帮助。
Also, there is no reliable way to reproduce the issue - it just happens 'sometimes' with no consistent feature as to what the cause may be.
此外,也没有可靠的方法来重现问题——它只是“有时”发生,却没有关于原因可能是什么的一致特征。
Thanks in advance.
提前谢谢。
1 个解决方案
#1
0
You've tried this? :
你试过吗?:
- connect your Phone to your Mac and
- 把你的手机连接到你的Mac电脑上。
- start xcode
- 开始xcode
- open
Window->Organizer->Devices tab->Console
and see if there are Errors while reproducing the issue. - 打开窗口->组织者->设备选项卡->控制台,看看在重新生成问题时是否有错误。
#1
0
You've tried this? :
你试过吗?:
- connect your Phone to your Mac and
- 把你的手机连接到你的Mac电脑上。
- start xcode
- 开始xcode
- open
Window->Organizer->Devices tab->Console
and see if there are Errors while reproducing the issue. - 打开窗口->组织者->设备选项卡->控制台,看看在重新生成问题时是否有错误。