aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/xhr.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2013-12-15 22:02:51 -0500
committerDave Methvin <dave.methvin@gmail.com>2013-12-15 22:02:51 -0500
commitb278d8174f307fd351ae9ce6409c1806e7426e34 (patch)
treec9f046190a29a4d24355d3a39d9de63ecc1ec717 /src/ajax/xhr.js
parentf9ad13c9ec8967916427642db2883a1bf3bccd86 (diff)
downloadjquery-b278d8174f307fd351ae9ce6409c1806e7426e34.tar.gz
jquery-b278d8174f307fd351ae9ce6409c1806e7426e34.zip
Revert "Ajax: Fix #14424. Use ActiveX in IE9+ on local files, close gh-1434."
This reverts commit 498e0e6c9bf486a0b1f16b455d65fcbc6c43867e. We can't use the ActiveX XHR because it doesn't support events.
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r--src/ajax/xhr.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js
index 313dff5dc..55d526a41 100644
--- a/src/ajax/xhr.js
+++ b/src/ajax/xhr.js
@@ -5,14 +5,6 @@ define([
], function( jQuery, support ) {
jQuery.ajaxSettings.xhr = function() {
- // Support: IE9+
- // IE can't get local files with standard XHR, only ActiveX
- if ( this.isLocal ) {
- try {
- return new ActiveXObject( "Microsoft.XMLHTTP" );
- } catch( e ) {}
- }
-
try {
return new XMLHttpRequest();
} catch( e ) {}