AJAX freezes in Safari after 9th request -


i'm trying use $.getjson , $.ajax , works fine in ever browser except in safari on 9th request safari hangs. in network tab can see request resulted in 200 code has loading spinner next request, duration column has "-" in , success callback never fired.

has encountered before? i'm on safari 10.0.1 , resource i'm requesting on same domain. i've tried following javascript:

$.getjson(url, function (data) {   log('downloaded batch ' + (lastupdate || self.lastupdate) + ' @ ' + performance.now());   callback(data); });  $.ajax({   url: url,   success: function(data) {     log('downloaded batch ' + (lastupdate || self.lastupdate) + ' @ ' + performance.now());     callback(data);   } });   var xmlhttp = new xmlhttprequest(); xmlhttp.onreadystatechange = function() {     if (xmlhttp.readystate === 4 && xmlhttp.status === 200) {         log('downloaded batch ' + (lastupdate || self.lastupdate) + ' @ ' + performance.now());         var myarr = json.parse(xmlhttp.responsetext);         log('parsed batch ' + (lastupdate || self.lastupdate) + ' @ ' + performance.now());         callback(myarr);     } }; xmlhttp.open("get", url, true); xmlhttp.send(); 


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -