Revert "Ajax: Fix #14424. Use ActiveX in IE9+ on local files, close gh-1434."

This reverts commit 498e0e6c9b.

We can't use the ActiveX XHR because it doesn't support events.
This commit is contained in:
Dave Methvin 2013-12-15 22:02:51 -05:00
parent f9ad13c9ec
commit b278d8174f
2 changed files with 1 additions and 10 deletions

View File

@ -20,7 +20,6 @@
"globals": {
"jQuery": true,
"define": true,
"module": true,
"ActiveXObject": true
"module": true
}
}

View File

@ -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 ) {}