IOS 6 Safari not exhibiting bug when debugging with Web Inspector, how to find bug?

邮差的信 提交于 2019-12-12 15:16:54

问题


I'm trying to debug a bug that's only showing on IOS 6 Safari, from what I know. Chrome and Opera don't exhibit this bug.

I have reproduced the bug on my iPad 2 and the iOS Simulator, but only in the production environment. However, when I go into the safari Web Inspector (either iPad or simulator), the bug no longer occurs.

Any idea how to figure out what type of error I'm dealing with? I believe it's a JS error, but don't know where.

-- UPDATE --

To give a better idea of the workflow:

I load the page the exhibits the error. I plug in the iPad to my Mac, open a Safari window, then open a Develop > iPad > myTab. Then I hit reload on the page, and it doesn't exhibit the error.

-- UPDATEx2 --

I was able to get an error by opening it up in Opera Mini, then opening a tab and going to "server:console", which showed the error. Not exactly helpful when dealing with Safari-exclusive bugs, give it seemed to work.

And btw, the bug was an undefined JS variable.

来源:https://stackoverflow.com/questions/17457034/ios-6-safari-not-exhibiting-bug-when-debugging-with-web-inspector-how-to-find-b

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!