aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Adds an invert method to promises that returns a "inverted" promise ↵jaubourg2011-02-181-41/+9
| | | | | | that is resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved." This reverts commit 4e975430510f443ef76a90d077bc8956fb8b8cc0.
* Fix a some inaccuracies in the original test case for #7912.Anton M2011-02-171-16/+26
| | | | | | | - Use fresh div instead of one outside the test-fixture - make sure the empty string test tests actually that (not 0% 0%) - actually test for < -10000 (#7193) - fixed some whitespace issues
* Fixes #7912. Make sure .cur() only returns 0 as fallback value when it needs ↵louisremi2011-02-171-15/+38
| | | | | | | | to ("", auto, undefined, null). This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by .css() if it isn't a number, number-alike or a value that needs a fallback to 0. This way fx.start doesn't need to be recalculated for complex values.
* Only perpetrate the .toJSON hack on data caches when they are attached to a ↵Dave Methvin2011-02-171-6/+0
| | | | plain Javascript object. Part of the continuing saga of #8108.
* Fixes #8297. Makes sure response headers with empty values are handled ↵jaubourg2011-02-171-3/+9
| | | | properly and do not prevent proper parsing of the entire response headers string. Unit test amended.
* Revert "Merge branch '8099' of https://github.com/rwldrn/jquery into ↵Anton M2011-02-151-12/+0
| | | | | | | | | | | rwldrn-8099" This reverts commit bb9408516aa0fc8892f4e07a99b1a47bce06081b, reversing changes made to 3ad8dd242acec1066f43a9349f4c1a352680d37b. Conflicts: src/effects.js
* Fix some whitespace issues.Anton M2011-02-151-6/+6
|
* Fixes #7922. Copy the donor event when simulating a bubbling submit in IE so ↵Dave Methvin2011-02-151-0/+11
| | | | that we don't accidentally stop propagation on it. Remove a bunch of return statements that could also cancel the event. DRY out the liveFired change from #6359 by moving it to the trigger() function.
* Fixes #8277. Sets data to undefined rather than null when it is not provided ↵jaubourg2011-02-151-0/+15
| | | | in ajax helpers so that it won't revent data set in ajaxSettings from being used. Unit test added.
* Fix some unscoped tests which failed after recent changes to QUnit.Anton M2011-02-153-9/+9
|
* Hide metadata when serializing JS objects using JSON.stringify via a toJSON ↵Colin Snover2011-02-141-3/+29
| | | | hack. Fixes #8108.
* Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099jeresig2011-02-141-0/+12
|\
| * Bug #8099 - Always restore to correct display value based on element's ↵rwldrn2011-01-311-0/+12
| | | | | | | | expected default display
* | Fix breaking test in Chrome.Anton M2011-02-141-1/+1
| |
* | Don't add "px" to unit-less properties when animating them. Fixes #4966.Anton M2011-02-131-0/+10
| |
* | Clean up whitespace in test/unit/effects.jsAnton M2011-02-131-44/+37
| |
* | Remove duplicate test.Anton M2011-02-111-3/+1
| |
* | Make sure .val() works after form.reset() in IE. Fixes #2551.rwldrn2011-02-101-0/+19
| |
* | Make sure .clone(true) correctly clones namespaced events. Fixes #4537.Anton M2011-02-101-6/+13
| |
* | Fix some whitespace issues. Improve and correct an events test.Anton M2011-02-101-30/+26
| |
* | No need to duplicate Sizzle tests, just run them directly from Sizzle.John Resig2011-02-101-517/+0
| |
* | Pull over tests from Sizzle. "Remove backslashes from tag name filter. Fixes ↵Anton M2011-02-101-2/+3
| | | | | | | | #8220."
* | Fixes #8219. Introduces the mimeType option to override content-type header ↵jaubourg2011-02-091-0/+28
| | | | | | | | in conversion (and in native xhr when possible). Adds companion overrideMimeType method on jqXHR object (it simply sets the option). Unit test added.
* | Revert portions of 7acb141ed7f2dedd950bb65acf878098640d081e that attempt to ↵Colin Snover2011-02-081-13/+2
| | | | | | | | use a function to hide jQuery metadata from JSON.stringify since this does not work reliably cross-browser (fails in Fx3.5, O11, Saf4).
* | Update $.data to use a function instead of an object when attaching to JS ↵Colin Snover2011-02-072-7/+21
| | | | | | | | objects in order to hide attached metadata from JSON.stringify. Remove event.js code that was doing this before specifically for events, which is now redundant. Fixes #8108. 1.5-stable
* | Fixes a bug that prevented headers from being set in an ajaxSend callback. ↵jaubourg2011-02-071-5/+12
| | | | | | | | Unit test modified.
* | Fixes a typo in the title of the load() unit test.jaubourg2011-02-051-1/+1
| |
* | Remove an invalid ajax test and some code that is no longer used by any test.Anton M2011-02-051-15/+0
| |
* | Fixes abort in prefilter. No global event will be fired in that case even if ↵jaubourg2011-02-041-0/+19
| | | | | | | | the global option is set to true. Unit test added.
* | Fixes #7945. Make jQuery.param() serialize plain objects with a property ↵Anton Kovalyov2011-02-021-1/+6
| | | | | | | | named jquery correctly.
* | Fixes #8129. Fix cloning multiple selected options in IE8.rwldrn2011-02-021-1/+9
| |
* | Fixes #8115. Renames all references to jXHR with jqXHR in the code (like was ↵jaubourg2011-02-011-18/+18
| | | | | | | | done in the doc).
* | The default for .clone() is to not clone any events. Fixes #8123.jeresig2011-02-011-0/+11
| |
* | Places multiple signature test after all primary callbacks tests.jaubourg2011-02-011-15/+15
| |
* | Improve $.ajax method signature unit test and placementDan Heberden2011-02-011-19/+15
| |
* | Bug 8107; Fix argument handling for $.ajax for multiple method signatues and ↵Dan Heberden2011-01-311-0/+19
| | | | | | | | add test case
* | Fixes #8095. Properly handles the case where browser cache needs to be ↵jaubourg2011-01-311-78/+87
|/ | | | bypassed while server-side logic still delivers proper 304 responses. Unit test added.
* Script dataType now supports ecmascript mimetypes.jaubourg2011-01-311-8/+14
|
* Makes sure jsonp callback is not left in the global namespace in case of an ↵jaubourg2011-01-311-3/+35
| | | | early abort (beforeSend). Unit test added.
* Makes sure all converters keys are lowercased before any conversion is ↵jaubourg2011-01-311-4/+4
| | | | taking place: dataTypes' names are now truly case insensitive. Unit test edited.
* Fixes #7568. Follow-up fix for #5862. Objects with a length property weren't ↵Anton M2011-01-311-10/+28
| | | | serialized properly by jQuery.param.
* Adds an invert method to promises that returns a "inverted" promise that is ↵jaubourg2011-01-311-9/+41
| | | | resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved.
* Rename jQuery.subclass() to jQuery.sub().jeresig2011-01-311-6/+6
|
* Removed errorThrown test for 404 responses seeing as Safari 3.x XHR sets the ↵jaubourg2011-01-311-1/+7
| | | | statusText as "OK" rather than "Not Found".
* Simplifies the unit test for #8082.jaubourg2011-01-291-8/+3
|
* Fixes #8082. Text to script converter now returns text. Unit test added.jaubourg2011-01-291-3/+9
|
* Use the original element/fragment as the last item to be appended to the ↵Colin Snover2011-01-281-0/+13
| | | | document instead of the first in order to prevent missing elements when appending to multiple elements. Fixes #8070.
* Pull over tests from Sizzle. Fixes #3729. Fixes #6428.Anton M2011-01-281-1/+10
|
* Make sure subclass is a proper subclass not just subclassing the fn methods. ↵Digitalxero2011-01-271-0/+49
| | | | Fixes #7979.
* Fixes #5856. Adds document protocol at the beginning of URLs without ↵jaubourg2011-01-261-0/+12
| | | | protocol (thanks go to skrings for the initial pull request). Simplifies cross-domain detection regexp and logic as a consequence. Also took the opportunity to remove an unused variable. Unit test added.