ipad2的浏览器报js execute timeout的错误
2017-03-28 14:09
211 查看
iPhone javascript execution exceeded timeout
Posted on July 6th, 2011
Wow. I know that Apple severely cripples their phones, under clocking their processors, etc. I know that the iPhone 3G I have for testing is incredibly slow when side-by-side with my Android Samsung Galaxy S phone… But my experience with this iPhone has hit a new low… I was just debugging a problem with the iPhone showing a blank page on a functional JQuery Mobile page. It works perfectly in all desktop browsers, as well as on Android, WP7, etc. I enabled iPhone’s debug console and it’s reporting a javascript execution timeout error in JQuery 1.6.1 code. Apparently, the iPhone 3G runs so slowly that it is now timing itself out when trying to render a JQuery Mobile page…
Now I have to start trying to find a work-around to make this work… From what I understand, the javascript execution timeouts are reset with new execution contexts– of which setTimeout is one… So possibly I need to put some of my page initialization code in a setTimeout code so that it will actually run on an iPhone 3G… Amazing the lengths I must get to to make things work on all these devices….and don’t even get me started on Blackberry support…
另一个参考
http://stackoverflow.com/questions/7876994/ios-5-safari-javascript-execution-exceeded-timeout
Posted on July 6th, 2011
Wow. I know that Apple severely cripples their phones, under clocking their processors, etc. I know that the iPhone 3G I have for testing is incredibly slow when side-by-side with my Android Samsung Galaxy S phone… But my experience with this iPhone has hit a new low… I was just debugging a problem with the iPhone showing a blank page on a functional JQuery Mobile page. It works perfectly in all desktop browsers, as well as on Android, WP7, etc. I enabled iPhone’s debug console and it’s reporting a javascript execution timeout error in JQuery 1.6.1 code. Apparently, the iPhone 3G runs so slowly that it is now timing itself out when trying to render a JQuery Mobile page…
Now I have to start trying to find a work-around to make this work… From what I understand, the javascript execution timeouts are reset with new execution contexts– of which setTimeout is one… So possibly I need to put some of my page initialization code in a setTimeout code so that it will actually run on an iPhone 3G… Amazing the lengths I must get to to make things work on all these devices….and don’t even get me started on Blackberry support…
另一个参考
http://stackoverflow.com/questions/7876994/ios-5-safari-javascript-execution-exceeded-timeout
相关文章推荐
- 屏蔽浏览器左下角的js错误提示
- JS网页定时自动关闭-无浏览器提示-ScreenSaver.prototype.timeout
- 关于遨游等浏览器对浮动广告过滤引起的网页js错误
- js不能使用浏览器调试的时候debug解决方案,打印错误信息
- JS网页定时自动关闭-无浏览器提示-ScreenSaver.prototype.timeout(2)
- ajaxFileUpload.js上传图片插件,全浏览器兼容,规避json错误,带文件格式大小拦截
- Uploadify.js引用导致浏览器宽度计算错误,布局混乱
- 前端浏览器辅助知识总结--渲染机制、JS运行机制、页面性能、错误监控
- 屏蔽浏览器左下角的js错误提示
- 学习js,时查看浏览器提示的错误Uncaught SyntaxError: Unexpected token [
- swagger ui js 错误:Failed to execute 'serializeToString' on 'XMLSerializer': parameter 1 is not of typ
- js,onblur后下一个控件获取焦点判断、html当前活跃控件、jquery版本查看、jquery查看浏览器版本、setTimeout&setInterval
- Node.js引用gm包错误Error: Could not execute GraphicsMagick/ImageMagick
- 关于js在ie6中运行错误,在其他浏览器运行正常的解决方法
- 屏蔽浏览器左下角的js错误提示
- 前端安全、浏览器渲染机制、js运行机制、页面性能、错误监控
- 如何在浏览器中捕获JS的语法错误
- 【备忘】使浏览器报出js错误提示的设置
- JS实现浏览器菜单命令
- js判断浏览器