]> source.dussan.org Git - jquery.git/commitdiff
Ref 705216d: Synchronize ajax/xhr.js with master
authorRichard Gibson <richard.gibson@gmail.com>
Fri, 8 Nov 2013 15:13:32 +0000 (10:13 -0500)
committerRichard Gibson <richard.gibson@gmail.com>
Fri, 8 Nov 2013 15:13:32 +0000 (10:13 -0500)
src/ajax/xhr.js

index 63b86d8ed48c260e08cacd3f8fef3ba71210eb99..d360f0edc8c8cd5061bfc60afbaeff2b0c59545f 100644 (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 ] );
                                        }