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
分享到:
相关推荐
测试
react-naitve 错误之Failed to execute aapt , react-native错误解决方案,
执行-js JavaScrip 的应用程序工作流执行器Execute-js 旨在接受工作流和数据,并执行和运行工作流并返回结果。 通过使用 Execute-js,您可以保持逻辑可读,同时您可以通过配置设置来使用 Execute-js 的所有功能。...
Oracle中EXECUTE IMMEDIATE用法
bb.execute_cdp_cmd('Page.addScriptToEvaluateOnNewDocument', {'source': js}) #url填好防爬虫地址 url = '' bb.get(url) time.sleep(15) bb.encoding = 'UTF-8' content = bb.page_source print(content)
EXECUTE
Execute runner
connection对象的execute方法
ExecuteSQL.java
failed to execute script 解决方案+命令行执行传参exe
delegate_execute.exe
execute immediate 用法研究 为初学者打造。
could not execute:bad executable format(win32 error 193) 下了一个实现MD5的代码,编译时没有错误,但是执行的时候却提示:could not execute:bad executable format(win32 error 193)
用webdriver调用浏览器时,有时浏览器窗口不是总是最大化的状态,可以封装一个函数实现浏览器窗口的最大化。 下面给出一个具体实例: public class IeDriver { public static void main(String[] args) { ...
execute_exe
winform Server.Execute! 很值得下载看看!资源免费,大家分享!!
Python 3.85 使用pyinstaller在win10 x64下打包的应用程序,在win10 x64下运行完全正常,但是在win7 x64下则报错。failed to execute script pyi_rth_ pyi_rth_xxx 解决方法
判断execute(sql)执行成功与否,帮助更好的控制代码操作性
用execute immediate 执行备份恢复SQLSVR数据库
thingsboard编译错误 Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm install) on project js-executor: Failed to run task: 'npm install' failed. 该错误如果是3.0上的,请将...