简体   繁体   English

基于jQuery的webapp只挂在IE9上

[英]Jquery based webapp hanging ONLY with IE9

I'm stuck on this issue since days... 几天以来,我一直在解决这个问题...

This is the site I'm talking about. 是我正在谈论的网站。 It is a webapp which makes large use of backbone, visualsearch, jquery plugins. 这是一个Web应用程序,大量使用了主干,visualsearch,jquery插件。 This website is not working at the moment with IE8, but it's fine that it works with IE9...if just it would! 该网站目前无法与IE8配合使用,但可以与IE9配合使用……也可以!

What happens is that the website hangs when loaded ONLY with IE9 and (this is bizarre!) if the profiler tool of IE9 developer tools is ON it doesn't!! 发生的情况是,仅将IE9加载后,该网站就会挂起,并且,如果IE9开发人员工具的探查器工具处于打开状态,这会很奇怪!

It also happens to oher people (I was notified of that) so I'm pretty sure it's not an issue linked to my browser settings. 其他人也会遇到这种情况(我已收到通知),因此我很确定这不是与我的浏览器设置相关的问题。

It makes me think about an error which has something to do with delays, or iterative functions which, in presence of profiler, are forced to delay bte cycles and so to leave free time slots to other functions which render the page. 这让我想到了一个与延迟或迭代函数有关的错误,在有探查器的情况下,迭代函数被迫延迟bte周期,因此将空闲时隙留给其他呈现页面的函数。

I can update with more details if needed. 如果需要,我可以提供更多详细信息。 thanks. 谢谢。

UPDATE 01 更新01

For the sake of simplicity I report the list of plugin I use 为了简单起见,我报告了我使用的插件列表

  <script type="text/javascript" src="script/test/vendor/json2.js"></script>
    <script type="text/javascript"  src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>    
    <script type="text/javascript" src="script/jquery.couch.js"></script>
    <script type="text/javascript" src="script/jquery.couchLogin.js"></script> 
    <script type="text/javascript" src="script/underscore.1.3.3-min.js"></script>
    <script type="text/javascript" src="script/backbone.0.9.2.js"></script> 
    <script type="text/javascript" src="script/jquery.colorbox-min.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>    
    <script type ="text/javascript" src="script/visualsearch/build/visualsearch.js"></script>
    <script type ="text/javascript" src="script/AjaxStack/src/jsonreport/jsonreport.js"></script>  
    <script type="text/javascript" src="script/highcharts/js/highcharts.js"></script>        
    <script type="text/javascript" src="script/highcharts/js/modules/exporting.js"></script>
    <script type="text/javascript" src="script/jquery.simpletip-1.3.1.pack.js"></script>
    <script type="text/javascript" src="script/mcdropdown/lib/jquery.mcdropdown.js"></script>
    <script type="text/javascript" src="script/mcdropdown/lib/jquery.bgiframe.js"></script>
    <script type="text/javascript" src="script/gMapProgressBar/progressbar.js"></script>
    <script src="script/backbone-render/src/backbone-forms.js"></script>
    <script src="script/backbone-render/src/jquery-ui-editors.js"></script>
    <script type="text/javascript" src="script/atooltip/js/jquery.atooltip.min.js"></script>  
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?key=AIzaSyBw0v9F-ur6pmeWrwCyFQ17qdZoikBon1Y&sensor=false"></script>
    <script type="text/javascript" src="script/textualizer/textualizer.js"></script>
    <script type="text/javascript" src="script/jquery-download/jquery-download.js"></script>

对我有用的是删除(注释掉)函数,直到找到罪魁祸首,但是我再次有一个错误,就是因为该问题而超出了堆栈空间

After a long debugging I found the solution: 经过长时间的调试,我找到了解决方案:

the problem NOT REPORTED AS AN ERROR BY IE9 was that the console.log() commands makes IE9 stuck when developer tools are closed. IE9未报告为错误的问题是,关闭开发人员工具时console.log()命令使IE9卡住。

More info in this issue can be found at this post: Does IE9 support console.log, and is it a real function? 有关此问题的更多信息,请参见这篇文章: IE9是否支持console.log,它是一个真正的功能吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM