- 03 Feb, 2011 6 commits
-
-
jaubourg authored
Stores jQuery.ajaxSettings.isLocal locally at load time so that any change to it won't affect the transport. Fixes the url parsing regexp to deal with empty domains. Adds informative text into test/localfile.html and handles Opera's failure. Revises the way xhr are created by doing all tests at load time and normalizes all the xhr creation functions so that none of them may throw an exception.
-
jaubourg authored
Fixes #7653. Changes regexp to detect local protocol so that it will accept any protocol finishing by -extension.
-
jaubourg authored
Fixes #8146. Custom fields in xhrFields are now set after the XMLHttpRequest object has been opened.
-
jaubourg authored
Fixes #8152 by applying the same special cases for protocol "chrome-extension:" as were for "file:" (needs tests). Re-organizes and fixes the handling of special cases for HTTP status code in the xhr transport. Also re-organizes the handling of document.location in ajax.js.
-
jaubourg authored
Fixes #8146 by introducing the xhrFields option with is a map of fieldName/fieldValue to set on the native xhr. Can be used to set withCredentials to true for cross-domain requests if needed.
-
jaubourg authored
Fixes #8138. Access to document.location is made only once at load time and if it fails (throwing an exception in IE when document.domain is already set), we use the href of an A element instead.
-
- 02 Feb, 2011 5 commits
-
-
jaubourg authored
Fixes #8135. Makes sure any exception thrown by Firefox when trying to access an XMLHttpRequest property when a network error occured is caught and notified as an error. Added test/networkerror.html to test the behavior.
-
Mathias Bynens authored
Fixes #8098. Use the fast document.head when available. Don't set unneeded "script.type = text/javascript".
-
Anton Kovalyov authored
-
rwldrn authored
-
jaubourg authored
Fixes #8125. Status is set to 200 for requests with status 0 when location.protocol if "file:". Added test/localfile.html to control it works.
-
- 01 Feb, 2011 10 commits
-
-
jaubourg authored
-
jeresig authored
-
jaubourg authored
-
Dan Heberden authored
-
Dan Heberden authored
-
jaubourg authored
Fixes #8095. Properly handles the case where browser cache needs to be bypassed while server-side logic still delivers proper 304 responses. Unit test added.
-
jaubourg authored
-
jaubourg authored
Makes sure jsonp callback is not left in the global namespace in case of an early abort (beforeSend). Unit test added.
-
jaubourg authored
Makes sure all converters keys are lowercased before any conversion is taking place: dataTypes' names are now truly case insensitive. Unit test edited.
-
jaubourg authored
-
- 31 Jan, 2011 7 commits
-
-
Anton M authored
Fixes #7568. Follow-up fix for #5862. Objects with a length property weren't serialized properly by jQuery.param.
-
jaubourg authored
Adds an invert method to promises that returns a "inverted" promise that is resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved.
-
jeresig authored
-
jeresig authored
-
jeresig authored
-
jaubourg authored
Removed errorThrown test for 404 responses seeing as Safari 3.x XHR sets the statusText as "OK" rather than "Not Found".
-
jaubourg authored
-
- 29 Jan, 2011 5 commits
-
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
Fixes potential collisions between jsonp requests from different jQuery instances by prefixing the jsonp callback name with the jQuery expando rather than with "jsonp".
-
Colin Snover authored
Use the original element/fragment as the last item to be appended to the document instead of the first in order to prevent missing elements when appending to multiple elements. Fixes #8070.
-
jaubourg authored
Compatibility fixes in ajax: exceptions are no longer promoted to strings before being given to callbacks. Updated misleading comment in conversion code.
-
- 28 Jan, 2011 2 commits
-
-
Anton M authored
-
Digitalxero authored
-
- 27 Jan, 2011 5 commits
-
-
jaubourg authored
-
jaubourg authored
Actually does what https://github.com/jquery/jquery/commit/bab8079593913dbc689404aa4e83c46b9b4c9355 promised: passes the jXHR as the third argument of prefilters and transport factories. Comitted for completness even if if backs this out in the end and only land in 1.5.1.
-
gnarf authored
-
Anton M authored
Fix Makefile to use plain sed agin. Remove unicode trickery. Thanks to danheberden and gnarf for figuring out why it previously faild on Mac OS X.
-
jeresig authored
-