aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ajax.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Tweaks the logic in the 304-related unit tests so that they pass for ↵jaubourg2013-01-081-41/+10
| | | | versions of Opera that support manual 304 handling as well as for those that don't
* Adds the abort on unload trick back in since IE9 still exhibits the bugjaubourg2013-01-071-0/+5
|
* 2.0: reduced xhr transportjaubourg2013-01-071-18/+20
|
* Remove invalid test "jQuery.getJSON() - Using Native JSON" from ↵Rick Waldron2012-12-311-31/+12
| | | | | | test/unit/ajax.js Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Revert "Organizes the php scripts used for testing better, so that the whole ↵jaubourg2012-12-051-694/+771
| | | | | | logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." This reverts commit 228ab3ddae527f72cc3122a1c6115d7718bcfd57.
* Revert "228ab3d followup 1: fix test failures. Close gh-1056."jaubourg2012-12-051-82/+85
| | | | This reverts commit 20608b3579d70d3bac7fd74b4e11e4c08cd9d9b5.
* 228ab3d followup 1: fix test failures. Close gh-1056.Richard Gibson2012-12-051-85/+82
|
* Organizes the php scripts used for testing better, so that the whole logic ↵jaubourg2012-12-041-771/+694
| | | | of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore.
* No ticket: improve global variable/ajax request trackingRichard Gibson2012-12-021-7/+26
|
* Don't really want to expect any global events here.Dave Methvin2012-12-021-1/+1
|
* Followup to #12989 fix, improve unit test resiliency.Dave Methvin2012-12-021-27/+16
|
* Fix #12989. Remove ajax "global" event behavior.Dave Methvin2012-12-011-116/+32
|
* Unit test for #12004jaubourg2012-11-291-0/+34
|
* Use strictEqual rather than equaljaubourg2012-11-271-2/+2
|
* Removes unnecessary closure and applyjaubourg2012-11-261-3/+1
|
* Total revamping of the ajax unit testsjaubourg2012-11-261-2178/+1286
|
* No ticket: speedup test suite. Close gh-1020.Richard Gibson2012-11-081-6/+3
|
* No ticket: update test suite to pass QUnit globals check in most ↵Richard Gibson2012-11-051-15/+112
| | | | environments. Close gh-1016.
* No ticket: remove test suite external dependenciesRichard Gibson2012-11-011-3/+4
|
* Fix #12751. Ensure parseJson throws in the same situations as JSON.parse. ↵James Huston2012-10-171-0/+14
| | | | Close gh-993.
* Handle a falsy URL in the settings object for jQuery.ajax. Fixes #10093, ↵Ben Truyman2012-10-161-2/+36
| | | | Closes gh-979
* enforce double quotes via JSHint. Closes gh-975Mike Sherov2012-10-161-1/+1
|
* fixes problematic JSONP test (gotta learn to count)jaubourg2012-10-161-4/+4
|
* comments out some problematic JSONP test until we figure out what the problem isjaubourg2012-10-161-4/+3
|
* Breakout JSONP domain-related testsRick Waldron2012-10-151-86/+142
|
* Split failing cross domain tests into two separate test bodies.Rick Waldron2012-10-151-9/+11
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fixing style for test unit ajax.js. ↵Erick Ruiz2012-10-151-1989/+2201
| | | | https://github.com/jquery/2012-dev-summit/issues/56
* Enforce expects in ajax.js ↵James Huston2012-10-151-0/+11
| | | | (https://github.com/jquery/2012-dev-summit/issues/53) Closes gh-964
* Fix #12637: restore 1.8.1 ajax crossDomain logic. Close gh-944.Richard Gibson2012-10-031-1/+11
|
* Revert "Chrome fails in ajax.js tests because TestSwarm/Ngnix won't give ↵Dave Methvin2012-09-301-12/+1
| | | | | | | | HEAD requests any respect. Skip them rather than hear Swarmy call FAILURE on each run." This reverts commit 9c5089a60d479a959b290a5b4ab8ef38c985e963. These were not the droids we were looking for. Actually caused by a BrowserStack issue.
* Chrome fails in ajax.js tests because TestSwarm/Ngnix won't give HEAD ↵Dave Methvin2012-09-111-1/+12
| | | | requests any respect. Skip them rather than hear Swarmy call FAILURE on each run.
* Revert "Fix #11586. Ajax DELETE ain't got no body, so data goes to its URL."Dave Methvin2012-08-241-15/+0
| | | | | | This reverts commit c01e022f33575ed45fb8da65be756fc464d40a24. We actually changed DELETE to accept a body on purpose, see http://bugs.jquery.com/ticket/7285 .
* Fix #11586. Ajax DELETE ain't got no body, so data goes to its URL.Dave Methvin2012-08-231-0/+15
|
* Calling load with null as the data parameter now properly issues a GET ↵jaubourg2012-08-161-1/+35
| | | | request, not a POST request. Unit tests added. Fixes #12234.
* Loosen the ajax statusText check so Safari AND Chrome pass.Dave Methvin2012-07-251-1/+1
|
* Extracts the serialization code from the ajax module so that alternative ↵jaubourg2012-07-131-132/+0
| | | | ajax implementations can use it without the need for the whole ajax module to be included in the build.
* Make unit tests friendly to Closure Compiler. Closes gh-845.Chad Killingsworth2012-07-051-65/+66
| | | | | | Conflicts: test/unit/effects.js test/unit/offset.js
* Adds src/deprecated.js, test/unit/deprecated.js; -deprecated flag; Moves ↵Rick Waldron2012-06-251-13/+18
| | | | jQuery.browser and removes use in test/unit/ajax.js. Fixes #11965
* Unit tests are linted and passing.Rick Waldron2012-06-211-18/+44
|
* Some work to modularize ajax later on.jaubourg2012-06-111-1/+1
|
* Fix #11743: Don't mask script errors in jQuery.ajax, closes gh-795.Richard Gibson2012-05-311-0/+22
|
* Fix indentation in /speed and /test dirs, closes gh-780.Trey Hunner2012-05-181-95/+95
|
* Fixes #11402. domManip now also removes the closing part of HTML comments or ↵jaubourg2012-05-061-0/+8
| | | | CDATA surrounding executed scripts. Unit tests added.
* Adds unit test to show order of parameters in the load callback are off for ↵jaubourg2012-05-021-0/+42
| | | | errors since the rewrite (this test works in master).
* Makes test message more meaningful.jaubourg2012-05-021-1/+1
|
* jQuery.ajaxSetup() data is merged with params. Fixes #10524Oleg2012-05-011-1/+19
|
* Fixes #8205. Mitigates memory usage by recycling jsonp callback names the ↵jaubourg2012-04-201-2/+43
| | | | safest possible way (no kittens were harmed in the making of this). Doesn't even try to delete window properties (would necessitate a try/catch for IE which makes the cost in size prohibitive). Unit tests added.
* Fix #8653, .param() undefined/null values become empty stringstsinha2012-04-051-6/+9
|
* For much improved consistency, jqXHR.abort() sets a default statusText of ↵jaubourg2012-04-021-2/+2
| | | | 'canceled' right until after beforeSend has been called (in which case it reverts to the default of 'abort'): now all early aborts have a statusText of 'canceled'.
* $.ajax now always returns an object implementing the Promise interface. ↵jaubourg2012-04-021-7/+12
| | | | | | | Fixes #10944. Unit tests amended. For back-compat, in case of an early abort, callbacks passed in the options are not called (while subsequent callbacks attached to the returned Promise are). For early abort triggered by returning false in beforeSend, statusText is "canceled".