`navigator.geolocation.getCurrentPosition()` gets stuck and doesn't fire callbacks in Chrome.
问题 In the depths of an application I need to use the Geolocation API. var that = this; if(Modernizr.geolocation){ $(this).addClass("loading"); navigator.geolocation.getCurrentPosition(function(position){ that.handleGeoSuccess(position); // defined elsewhere },function(error){ that.handleGeoError(error); // defined elsewhere }, {maxAge: 0, timeout: 1000}); } else { that.handleGeoError(); // defined elsewhere } This happens inside of a click-event. Chrome (25.0.1364.155) prompts for permission but