jaubourg
|
d4e666d475
|
strengthens and dries 304 unit tests
|
2013-01-08 11:07:18 +01:00 |
|
jaubourg
|
ed6209e8b2
|
Tweaks the logic in the 304-related unit tests so that they pass for versions of Opera that support manual 304 handling as well as for those that don't
|
2013-01-08 10:10:18 +01:00 |
|
jaubourg
|
62acda819f
|
Adds the abort on unload trick back in since IE9 still exhibits the bug
|
2013-01-07 10:34:14 -05:00 |
|
jaubourg
|
17049c73bc
|
2.0: reduced xhr transport
|
2013-01-07 10:34:07 -05:00 |
|
Rick Waldron
|
747dd8c042
|
Remove invalid test "jQuery.getJSON() - Using Native JSON" from test/unit/ajax.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
|
2012-12-31 13:31:03 -05:00 |
|
jaubourg
|
b7ece8c620
|
Revert "Organizes the php scripts used for testing better, so that the whole 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 228ab3ddae .
|
2012-12-05 14:54:14 +01:00 |
|
jaubourg
|
7f7007dffe
|
Revert "228ab3d followup 1: fix test failures. Close gh-1056."
This reverts commit 20608b3579 .
|
2012-12-05 14:54:00 +01:00 |
|
Richard Gibson
|
20608b3579
|
228ab3d followup 1: fix test failures. Close gh-1056.
|
2012-12-05 02:12:32 -05:00 |
|
jaubourg
|
228ab3ddae
|
Organizes the php scripts used for testing better, so that the whole 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.
|
2012-12-04 07:40:12 +01:00 |
|
Richard Gibson
|
5b9bf13439
|
No ticket: improve global variable/ajax request tracking
|
2012-12-02 23:32:16 -05:00 |
|
Dave Methvin
|
27c9360a1b
|
Don't really want to expect any global events here.
|
2012-12-02 10:53:34 -05:00 |
|
Dave Methvin
|
b5acda7af2
|
Followup to #12989 fix, improve unit test resiliency.
|
2012-12-02 10:48:26 -05:00 |
|
Dave Methvin
|
c2d6847de0
|
Fix #12989. Remove ajax "global" event behavior.
|
2012-12-01 20:29:32 -05:00 |
|
jaubourg
|
6378a19c46
|
Unit test for #12004
|
2012-11-29 00:15:17 +01:00 |
|
jaubourg
|
e679f6c2db
|
Use strictEqual rather than equal
|
2012-11-27 02:38:20 +01:00 |
|
jaubourg
|
512b826f9f
|
Removes unnecessary closure and apply
|
2012-11-26 12:09:42 +01:00 |
|
jaubourg
|
d31cef38f2
|
Total revamping of the ajax unit tests
|
2012-11-26 03:31:19 +01:00 |
|
Richard Gibson
|
517846aad2
|
No ticket: speedup test suite. Close gh-1020.
|
2012-11-08 10:10:43 -05:00 |
|
Richard Gibson
|
81b094b2c1
|
No ticket: update test suite to pass QUnit globals check in most environments. Close gh-1016.
|
2012-11-05 17:24:03 -05:00 |
|
Richard Gibson
|
3f51504580
|
No ticket: remove test suite external dependencies
|
2012-11-01 17:32:08 -04:00 |
|
James Huston
|
ee9687d441
|
Fix #12751. Ensure parseJson throws in the same situations as JSON.parse. Close gh-993.
|
2012-10-17 16:28:55 -04:00 |
|
Ben Truyman
|
ce5784a480
|
Handle a falsy URL in the settings object for jQuery.ajax. Fixes #10093, Closes gh-979
|
2012-10-16 11:37:15 -04:00 |
|
Mike Sherov
|
ed9e34482a
|
enforce double quotes via JSHint. Closes gh-975
|
2012-10-16 10:17:14 -04:00 |
|
jaubourg
|
6ba563887a
|
fixes problematic JSONP test (gotta learn to count)
|
2012-10-16 10:03:17 -04:00 |
|
jaubourg
|
7d2e99fb64
|
comments out some problematic JSONP test until we figure out what the problem is
|
2012-10-16 09:39:33 -04:00 |
|
Rick Waldron
|
d6c84c5bb5
|
Breakout JSONP domain-related tests
|
2012-10-15 17:11:21 -04:00 |
|
Rick Waldron
|
a0cbf60192
|
Split failing cross domain tests into two separate test bodies.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
|
2012-10-15 16:00:50 -04:00 |
|
Erick Ruiz
|
be1f1d7b5b
|
Fixing style for test unit ajax.js. https://github.com/jquery/2012-dev-summit/issues/56
|
2012-10-15 15:53:39 -04:00 |
|
James Huston
|
b36d58d4e8
|
Enforce expects in ajax.js (https://github.com/jquery/2012-dev-summit/issues/53) Closes gh-964
|
2012-10-15 12:37:02 -04:00 |
|
Richard Gibson
|
da3ff3afe4
|
Fix #12637: restore 1.8.1 ajax crossDomain logic. Close gh-944.
|
2012-10-03 21:07:50 -04:00 |
|
Dave Methvin
|
ebf4d43011
|
Revert "Chrome fails in ajax.js tests because TestSwarm/Ngnix won't give HEAD requests any respect. Skip them rather than hear Swarmy call FAILURE on each run."
This reverts commit 9c5089a60d .
These were not the droids we were looking for. Actually caused by a BrowserStack issue.
|
2012-09-30 22:23:02 -04:00 |
|
Dave Methvin
|
9c5089a60d
|
Chrome fails in ajax.js tests because TestSwarm/Ngnix won't give HEAD requests any respect. Skip them rather than hear Swarmy call FAILURE on each run.
|
2012-09-11 15:42:10 -04:00 |
|
Dave Methvin
|
05337e78fa
|
Revert "Fix #11586. Ajax DELETE ain't got no body, so data goes to its URL."
This reverts commit c01e022f33 .
We actually changed DELETE to accept a body on purpose, see http://bugs.jquery.com/ticket/7285 .
|
2012-08-24 11:59:01 -04:00 |
|
Dave Methvin
|
c01e022f33
|
Fix #11586. Ajax DELETE ain't got no body, so data goes to its URL.
|
2012-08-23 21:33:29 -04:00 |
|
jaubourg
|
b292c4c2df
|
Calling load with null as the data parameter now properly issues a GET request, not a POST request. Unit tests added. Fixes #12234.
|
2012-08-16 16:45:18 +02:00 |
|
Dave Methvin
|
bc07ae8c1d
|
Loosen the ajax statusText check so Safari AND Chrome pass.
|
2012-07-25 14:31:21 -04:00 |
|
jaubourg
|
ced5e9037a
|
Extracts the serialization code from the ajax module so that alternative ajax implementations can use it without the need for the whole ajax module to be included in the build.
|
2012-07-13 09:47:43 +02:00 |
|
Chad Killingsworth
|
de9bed319e
|
Make unit tests friendly to Closure Compiler. Closes gh-845.
Conflicts:
test/unit/effects.js
test/unit/offset.js
|
2012-07-05 15:52:42 -04:00 |
|
Rick Waldron
|
a2758377df
|
Adds src/deprecated.js, test/unit/deprecated.js; -deprecated flag; Moves jQuery.browser and removes use in test/unit/ajax.js. Fixes #11965
|
2012-06-25 10:02:28 -04:00 |
|
Rick Waldron
|
7ff3da186c
|
Unit tests are linted and passing.
|
2012-06-21 15:30:24 -04:00 |
|
jaubourg
|
ac48a19b92
|
Some work to modularize ajax later on.
|
2012-06-11 14:00:16 +02:00 |
|
Richard Gibson
|
742872984e
|
Fix #11743: Don't mask script errors in jQuery.ajax, closes gh-795.
|
2012-05-31 08:31:13 -07:00 |
|
Trey Hunner
|
f1dcaad097
|
Fix indentation in /speed and /test dirs, closes gh-780.
|
2012-05-18 13:28:50 -04:00 |
|
jaubourg
|
a743be19bd
|
Fixes #11402. domManip now also removes the closing part of HTML comments or CDATA surrounding executed scripts. Unit tests added.
|
2012-05-06 01:27:01 +02:00 |
|
jaubourg
|
d3e034f6c7
|
Adds unit test to show order of parameters in the load callback are off for errors since the rewrite (this test works in master).
|
2012-05-02 02:22:56 +02:00 |
|
jaubourg
|
ae6b14abaf
|
Makes test message more meaningful.
|
2012-05-02 02:15:09 +02:00 |
|
Oleg
|
6bed348a00
|
jQuery.ajaxSetup() data is merged with params. Fixes #10524
|
2012-05-01 14:39:45 -04:00 |
|
jaubourg
|
8ebb2f4793
|
Fixes #8205. Mitigates memory usage by recycling jsonp callback names the 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.
|
2012-04-20 03:02:20 +02:00 |
|
tsinha
|
36d2d9ae93
|
Fix #8653, .param() undefined/null values become empty strings
|
2012-04-05 11:06:54 -04:00 |
|
jaubourg
|
914df9cb42
|
For much improved consistency, jqXHR.abort() sets a default statusText of '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'.
|
2012-04-02 02:04:46 +02:00 |
|