jquery/src/ajax
Michał Gołębiowski-Owczarek abdc89ac2e
Ajax: Simplify jQuery.ajaxSettings.xhr
Previously, jQuery.ajaxSettings.xhr, contents were wrapped in a try-catch
as we defined jQuery.support.ajax & jQuery.support.cors executed during the
jQuery load and we didn't want to crash if IE had native XHR disabled (which
is possible). While jQuery hasn't supported the ActiveX-based XHR since 2.0,
jQuery with XHR disabled could still be used for its other features in such
a crippled browser.

Since gh-4347, jQuery.support.ajax & jQuery.support.cors no longer exist, so
we don't need the try-catch anymore.

Fixes gh-1967
Closes gh-4467
Ref gh-4347
2019-08-26 19:01:26 +02:00
..
var Core: deprecate jQuery.now 2018-01-08 11:24:45 -05:00
jsonp.js Core: Drop support for IE <11, iOS <11, Firefox <65, Android Browser & PhantomJS 2019-04-29 22:56:09 +02:00
load.js Core: Drop support for IE <11, iOS <11, Firefox <65, Android Browser & PhantomJS 2019-04-29 22:56:09 +02:00
parseXML.js Core: Drop support for IE <11, iOS <11, Firefox <65, Android Browser & PhantomJS 2019-04-29 22:56:09 +02:00
script.js squash! Set attributes all at once, src last 2018-05-14 14:09:43 -04:00
xhr.js Ajax: Simplify jQuery.ajaxSettings.xhr 2019-08-26 19:01:26 +02:00