Ref 705216d: Synchronize ajax/xhr.js with master

This commit is contained in:
Richard Gibson 2013-11-08 10:13:32 -05:00
parent 7e383b1b07
commit c6de821070

View File

@ -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 ] );
}