From: Richard Gibson Date: Fri, 8 Nov 2013 15:13:32 +0000 (-0500) Subject: Ref 705216d: Synchronize ajax/xhr.js with master X-Git-Tag: 1.11.0-beta2~28 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c6de8210705efb62d3e3a8037eb2c8de4aa4a33c;p=jquery.git Ref 705216d: Synchronize ajax/xhr.js with master --- diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js index 63b86d8ed..d360f0edc 100644 --- a/src/ajax/xhr.js +++ b/src/ajax/xhr.js @@ -76,7 +76,7 @@ if ( xhrSupported ) { headers["X-Requested-With"] = "XMLHttpRequest"; } - // Need an extra try/catch for cross-domain requests in Firefox 3 + // Set headers for ( i in headers ) { xhr.setRequestHeader( i, headers[ i ] ); }