From b278d8174f307fd351ae9ce6409c1806e7426e34 Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Sun, 15 Dec 2013 22:02:51 -0500 Subject: 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. --- src/ajax/xhr.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/ajax/xhr.js') 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 ) {} -- cgit v1.2.3