简体   繁体   中英

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. This website is not working at the moment with IE8, but it's fine that it works with IE9...if just it would!

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!!

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.

I can update with more details if needed. thanks.

UPDATE 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.

More info in this issue can be found at this post: Does IE9 support console.log, and is it a real function?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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