Commit Graph

221 Commits

Author SHA1 Message Date
Timmy Willison
0fa52c11cb Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755. 2013-04-09 11:59:31 -04:00
Michał Gołębiowski
52394ba986 Move size() test to deprecated.js and avoid in other tests. Close gh-1237. 2013-04-08 20:38:20 -04:00
Michał Gołębiowski
dca7681284 Improve CSS and Support: comments. Close gh-1220.
1) corrected box-sizing rules order - the unprefixed value should always be the last one
2) removed last semi-colons in CSS rules
3) updated support comments

code review changes + more consistent comment spacing
2013-04-06 17:09:52 -04:00
Michał Gołębiowski
8ca9f931ec bind/unbind changed to on/off in unit tests; refs #13554 2013-03-25 22:06:49 -04:00
Michał Z. Gołębiowski
79992d7523 Edited comments and minor adjustments. Fixes #13553. Closes gh-1195. 2013-03-12 21:06:25 -04:00
dmitrygusev
eee2eaf1d7 Fix typos. Close gh-1186. 2013-02-28 15:45:10 -05:00
jaubourg
eebc77849c Fixes #11151, #13388. Minor refactor of response conversion and when/where
responseXXX fields are set on the jqXHR. Close gh-1164.

(Cherry-picked from 69b3d5ce0f)
2013-02-28 15:01:10 -05:00
byroot
bfc61b879e Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes #13261. 2013-01-24 02:34:02 +01:00
jaubourg
4c6fb65d35 Fixes #13276. Unit test is enough since the 2.x XHR transport already dismissed the XML as parsed by the XHR instance. 2013-01-21 02:53:50 +01:00
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