Is there anyway to get javascript error on android or iphone mobile webkit browser?
I have built a website for mobile webkit browsers, there is an interval update to refresh data. But it turns out that the pooling refresh will stop at some time after run for a while (some minutes or hours, different by each time).
I thought there may be something error occurred in my refresh data functions, but it works well in my laptop browser. I also tried to listen window.onerror event, but webkit browser seems do not support that event. What else can I do?
And I am also doubting is there any problem with setTimeout and setInte开发者_StackOverflowrval functions in mobile webkit browser?
Did you try to enable Debug Console on your iphone? Settings > Safari > Developer
精彩评论