aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ajax.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow 304/Not Modified tests to complete in Opera.jeresig2010-09-271-1/+16
|
* Serialize keys with empty arrays/object values in jQuery.param(). Fixes #6481.temp012010-09-241-1/+6
|
* Make sure that #... are trimmed from Ajax request URLs. Fixes #4987.John Resig2010-09-221-0/+29
|
* Use a different workaround for detecting when Opera finds a status 304 page. ↵John Resig2010-09-211-0/+12
| | | | Fixes #6060.
* Fixing request data param issue. Thanks to mislav for the patch. Fixes #5123.jeresig2010-06-141-0/+13
|
* Fix for http://dev.jquery.com/ticket/6451malsup2010-06-151-0/+6
|
* Update other remote test URLs as well.jeresig2010-03-231-4/+4
|
* Strip off filename and query string for JSONP Remote test.jeresig2010-03-231-1/+1
|
* More changes to get jQuery in line with JSLint.jeresig2010-03-011-23/+21
|
* Ok, this should actually fix #6041 :)Ben Alman2010-02-061-1/+1
|
* Make sure that we don't try to double-encode params using the traditional ↵jeresig2010-02-051-2/+4
| | | | style. Fixes #6041.
* Provided detailed message for JSON parse errors. Fixes #4435.Mike Alup2010-01-251-2/+3
|
* Make sure original context is maintained and not the deep extended one. ↵John Resig2010-01-251-0/+21
| | | | Fixes #5924.
* Objects with length properties weren't getting serialized properly by ↵John Resig2010-01-251-0/+13
| | | | jQuery.param(). Fixes #5862.
* Don't set the context in .load() as it stops the global ajax events from ↵John Resig2010-01-241-0/+24
| | | | firing. Fixes #5922.
* Make sure regular settings object is set as context for all Ajax requests, ↵John Resig2010-01-161-13/+37
| | | | if none is specified. Fixes #5838.
* Make sure that null params aren't traversed. Fixes #5794.jeresig2010-01-131-2/+3
|
* Make sure that a parsererror is thrown whenever malformed JSON comes back ↵jeresig2010-01-071-2/+21
| | | | from a server (so that the Ajax error handler is called). Makes it uniform across browsers that do and don't have JSON.parse support.
* Add some abort() Ajax tests. Verifies that #3984 works.jeresig2010-01-061-0/+24
|
* Added in support for content-type sniffing for scripts. Fixes #5718.jeresig2010-01-061-0/+14
|
* Detect JSON Ajax requests by the response content-type (like is done with ↵Rick Waldron2010-01-051-0/+19
| | | | XML). Fixes #5709.
* Moved jQuery.param "traditional" flag into jQuery.ajaxSettings, can now be ↵Ben Alman2009-12-231-3/+10
| | | | overridden via 2nd argument to jQuery.param
* Add new html5 input types to list of serializable types. Older browers ↵Dave Methvin2009-12-181-4/+11
| | | | handle these as type="text" so they should be consistently serialized on both old and new browsers. Fixes #5667.
* Further modified jQuery 1.4 .param() method to serialize arrays containing ↵Ben Alman2009-12-181-2/+8
| | | | non-scalar values. PHP and jQuery BBQ can both deserialize these structures, while rack (as of 1.0.0) cannot.
* Added in support for $.ajax jsonpCallback (allowing you to specify the name ↵John Resig2009-12-061-2/+32
| | | | of the callback method - and allowing you to avoid skipping the cache). Fixes #4206.
* Just restore window.JSON in the getJSON test, don't try to delete the value.jeresig2009-12-031-6/+3
|
* Re-wrote context Ajax test to use an element instead of an object (a more ↵John Resig2009-11-171-1/+1
| | | | realistic test and works with the new jQuery.extend logic for cloning object literals).
* jQuery.ajax modified the passed-in object only to help test the code - this ↵John Resig2009-11-071-0/+5
| | | | shouldn't occur. Fixes #5439.
* Getting $.param working well; Patch by ben_almanYehuda Katz2009-09-171-10/+27
|
* remove globals in tests for compability with ?noglobals, to be enabled by ↵Jörn Zaefferer2009-09-151-1/+4
| | | | default
* jquery ajax: addition for #2452. Wasn't working correctly in some cases.Ariel Flesler2009-09-151-3/+6
|
* jquery ajax: closes #4994. Adding 'context' setting to $.ajaxAriel Flesler2009-09-151-3/+42
|
* Adds nested param serialization; Closes #4201 (by merbjedi)Yehuda Katz2009-09-021-1/+14
|
* Temporarily disabled some tests for Opera 10 - a variety of problems with ↵John Resig2009-08-261-1/+3
| | | | input elements and selectors exist.
* Exaggerate the times for the localtimeout ajax test.John Resig2009-07-211-1/+1
|
* Fixed spelling mistake in Ajax tests.John Resig2009-07-141-2/+2
|
* Fixed the handling of .status == 304 in Opera (it always returns 0). Also ↵John Resig2009-07-141-4/+14
| | | | silently "pass" in Opera 9.6 (which is unable to send the correct headers with setRequestHeader). Follow-up to bug #4764.
* Minor tab-spacing tweak.John Resig2009-06-151-1/+1
|
* Adding support for etags in $.ajax() - and simplified the if-modified-since ↵John Resig2009-06-151-0/+52
| | | | implementation. Thanks to Lawrence for the patch! Closes ticket #4764.
* Switched to using new Function instead of eval for handling JSON parsing ↵John Resig2009-05-201-0/+19
| | | | (Fixes bug #4680). Added support for JSON.parse, if it exists (Fixes bug #4429).
* error case for an ajax testBrandon Aaron2009-05-161-2/+6
|
* fix global event triggering that i broke in r6323Brandon Aaron2009-05-011-124/+124
|
* Made it so that search input elements are now serialized. Fixes bug #4107.John Resig2009-02-181-4/+4
|
* Had to remove the global variable tricks (especially the delete window ↵John Resig2009-01-121-28/+8
| | | | | | | | calls) as they cause exceptions in IE. Also fixed a faulty test that assumed the order of Ajax function callbacks would be consistent.
* testrunner: Putting back the global variables used for ajax tests. I added ↵Ariel Flesler2009-01-101-22/+46
| | | | many calls to delete though. The global namespace must be cleaned up before calling start() again.
* testrunner: Removing every global variable leaked within (and outside) ↵Ariel Flesler2009-01-091-21/+19
| | | | tests. Some were deleted and some saved within the jQuery namespace.
* Timeout test appears to be flaky - disabling, for now.John Resig2009-01-051-0/+2
|
* The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 ↵John Resig2009-01-051-1/+1
| | | | second.
* core: tests cleanup for compability with qunit updates: stop() now actually ↵Jörn Zaefferer2008-10-241-4/+4
| | | | accepts an argument (ajax.js); selectors should be confined to fixture(event.js)
* test runner: the changes are:Ariel Flesler2008-05-281-135/+135
| | | | | | | - Replaced all the $ for jQuery in the tests and suite. - Added a noConflict to testrunner.js. - Modified the test for noConflict() so that it still work. - Added jQuery 1.2.1 and 1.2.3 to otherlibs.