aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Bring back in #main prefix on adjacent selectors.jeresig2011-01-241-5/+5
|
* Backing out disconnected + and ~ tests as they're not something that we ↵jeresig2011-01-241-9/+6
| | | | actively support.
* Fix selector scope on some tests, so they don't fail on testswarm.Anton M2011-01-221-5/+5
|
* Merge branch '8017lint' of https://github.com/rwldrn/jquery into 8017lintrwldrn2011-01-221-1/+1
|
* Merge branch '8013p' of https://github.com/rwldrn/jquery into rwldrn-8013pjeresig2011-01-211-0/+12
|\
| * Basic unit tests; This patch relies on the 51 existing clone() testsrwldrn2011-01-211-0/+12
| |
* | Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This ↵jeresig2011-01-211-20/+0
| | | | | | | | | | | | | | | | | | | | | | was causing problems with the focusin event, see: #7340. This reverts commit 88068f82c199847d3679b130664dd91cc2e89f00. Conflicts: src/event.js test/unit/event.js
* | Replaces "text in-between" technique with a full-fledged one-level ↵jaubourg2011-01-211-0/+43
| | | | | | | | transitive search for converters (unit tests added). Also cleans up auto dataType determination and adds converter checks in order to guess the best dataType possible.
* | Merge branch 'fix-7853-add-context' of https://github.com/dmethvin/jquery ↵John Resig2011-01-201-8/+9
|\ \ | | | | | | | | | into dmethvin-fix-7853-add-context
| * | Rework unit tests to check actual result elements.Dave Methvin2011-01-191-6/+6
| | |
| * | By default, use document root rather than current selection's context when ↵Dave Methvin2010-12-281-8/+9
| | | | | | | | | | | | add()ing elements. Fixes #7853.
* | | Renames Deferred's fire and fireReject methods as resolveWith and rejectWith ↵jaubourg2011-01-201-1/+1
| | | | | | | | | | | | respectively.
* | | Makes sure statusCode callbacks are ordered in the same way success and ↵jaubourg2011-01-201-3/+30
| |/ |/| | | | | error callbacks are. Unit tests added.
* | Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. ↵jaubourg2011-01-201-0/+41
| | | | | | | | Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added).
* | Moves active counter test after all other ajax tests where it should be.jaubourg2011-01-191-4/+4
| |
* | Update unit test for #7608 which was leaking timers.rwldrn2011-01-171-11/+2
| |
* | Disabled a broken test for now, until WebKit browsers become more current.jeresig2011-01-171-2/+5
| |
* | Accidentally removed the module teardown code.jeresig2011-01-171-1/+1
| |
* | Opera was falling back to undefined, which it didn't appreciate.jeresig2011-01-171-1/+1
| |
* | Merge branch 'master' of github.com:jquery/jqueryjeresig2011-01-1713-130/+321
|\ \
| * \ Merge in data_nocollide branch. Fixes #6968, improves unit testing framework ↵Colin Snover2011-01-1713-130/+321
| |\ \ | | | | | | | | | | | | checks for leaky stuff.
| | * | Update unit tests with a leak detection mechanism for the various jQuery ↵Colin Snover2011-01-0913-37/+139
| | | | | | | | | | | | | | | | globals and fix all leaks in the tests.
| | * | Change the way jQuery.data works so that there is no longer a chance of ↵Colin Snover2011-01-094-93/+179
| | | | | | | | | | | | | | | | collision between user data and internal data. Fixes #6968.
* | | | Fixed a couple issues with escaping of attribute values in selectors. Fixes ↵jeresig2011-01-171-12/+55
|/ / / | | | | | | | | | #6093.
* | | Merge branch '7608' of https://github.com/rwldrn/jquery into rwldrn-7608jeresig2011-01-171-0/+22
|\ \ \
| * | | whitespace fixes in unit testsrwldrn2011-01-101-18/+18
| | | |
| * | | Bug #7608 elem.runtimeStyle throws exception in Operarwldrn2011-01-051-0/+22
| | | |
* | | | Merging pull request 183 for #7793.jeresig2011-01-171-4/+12
|\ \ \ \
| * | | | Update test case to feature-detect Opera's lack of defaultPrevented and skip ↵Dave Methvin2011-01-151-1/+8
| | | | | | | | | | | | | | | | | | | | the test for it.
| * | | | Test for standard createEvent before IE-specific click method.Dave Methvin2010-12-271-7/+4
| | | | | | | | | | | | | | | | | | | | Don't fallback to fake click; let's see which browsers fail, if any.
| * | | | When a native browser event is bubbling up the DOM, make sure that the ↵Dave Methvin2010-12-231-0/+38
| | | | | | | | | | | | | | | | | | | | correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.
* | | | | Added unit tests to check and demonstrate new jQuery.Deferred() works.jaubourg2011-01-171-1/+20
| | | | |
* | | | | Implements joined jQuery.when statements. Makes it so calling jQuery.when ↵jaubourg2011-01-161-3/+43
| | | | | | | | | | | | | | | | | | | | with no parameter returns a resolved promise. Ensures promise method on promises supports the promise(obj) signature. Ensures a deferred and its promise always return the same promise (itself for the promise). Unit tests provided.
* | | | | Fixed the ajax test regarding the jsonp option set to false and added a test ↵jaubourg2011-01-161-5/+5
| | | | | | | | | | | | | | | | | | | | to control the prefilter actually does not tamper with the url.
* | | | | Revised jsonp unit tests and added a test for when the jsonp option is set ↵jaubourg2011-01-161-259/+222
| | | | | | | | | | | | | | | | | | | | to false.
* | | | | Fixes #2994. Not finding a transport now fires the error callbacks and ↵jaubourg2011-01-161-11/+5
| | | | | | | | | | | | | | | | | | | | doesn't make ajax return false. Had to revise how jsonp and script prefilters & transports work (better separation of concerns). Also took the opportunity to revise jXHR getRequestHeader and abort methods and enabled early transport garbage collection when the request completes.
* | | | | Fix a failing subclass test due to a change in masterwycats2011-01-141-5/+5
| | | | |
* | | | | added jQuery.subclassJared Grippe2011-01-141-0/+72
| | | | |
* | | | | Fixes #4964. Adds a statusCode object together with a new statusCode method ↵jaubourg2011-01-131-0/+70
| | | | | | | | | | | | | | | | | | | | on the jXHR object (deferred behaviour). They accept a map of statusCode/callback(s). Callbacks are fired when the status code of the response correponds to the key (as a success or an error callback depending on how the request completed). Unit tests added.
* | | | | Fixes #4897. Added ?? as a context-insensitive placeholder for the callback ↵jaubourg2011-01-121-2/+55
| | | | | | | | | | | | | | | | | | | | name of a JSONP request. Unit tests provided.
* | | | | Yet another missing semicolon!jaubourg2011-01-111-1/+1
| | | | |
* | | | | Fixes #6230. Added a unit test to control that, since the ajax rewrite, ↵jaubourg2011-01-111-0/+22
| | | | | | | | | | | | | | | | | | | | setting the Accept header actually replaced the previous value and didn't append to it (tested in Safari 4.0.4 for which the problem was specifically reported).
* | | | | Fixes 4825. jQuery.fn.load: use the jXHR's Promise interface to get the ↵jaubourg2011-01-111-0/+12
| | | | | | | | | | | | | | | | | | | | actual response in case ajaxSettings contains a dataFilter. Unit test added.
* | | | | Merge branch 'master' of github.com:jquery/jquery into jquery-masterColin Snover2011-01-091-1/+1
|\ \ \ \ \
| * | | | | Fixes a race condition in JSONP Local test.jaubourg2011-01-101-1/+1
| | |_|/ / | |/| | |
* / | | | Ensure that buildFragment clones elements properly in all browsers. Fixes ↵Colin Snover2011-01-092-10/+29
|/ / / / | | | | | | | | | | | | #3879, #6655. Also improves form element clone tests and fixes bugs in $.fn.clone exposed by these new test cases related to the values of checkboxes and radio buttons in IE.
* | | | Fixes #5812. =? will be detected even when it has been escaped during data ↵jaubourg2011-01-091-1/+17
| | | | | | | | | | | | | | | | serialization.
* | | | Simplified cross-domain detection tests.jaubourg2011-01-091-33/+13
| | | |
* | | | Fixes #5955. Option crossDomain now forces ajax to consider a request as ↵jaubourg2011-01-091-2/+17
| | | | | | | | | | | | | | | | cross-domain even when it is not. Useful for when servers issue redirects to cross-domain urls. Unit test added.
* | | | Added a test for retrying a request on error using jQuery.ajax(this). Works ↵jaubourg2011-01-091-0/+23
| | | | | | | | | | | | | | | | as intended. Fixes #7461.