aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Bug #6911 - Prevent action on disabled elements, both triggering and bound ↵Dan Heberden2011-02-181-61/+94
| | | | via .live()
* 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-172-3/+11
| | | | 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-152-15/+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-142-0/+15
|\
| * Bug #8099 - Always restore to correct display value based on element's ↵rwldrn2011-01-312-0/+15
| | | | | | | | expected default display
* | Merge branch 'fix8033' of https://github.com/SlexAxton/jquery into ↵jeresig2011-02-147-13/+13
|\ \ | | | | | | | | | SlexAxton-fix8033
| * | Moved jQuery global leak to end of file so accidental gEBCN overrides in ↵Alex Sexton2011-01-237-13/+13
| | | | | | | | | | | | prototype don't get caught up in confusion. Fixed tests to reference jQuery variable instead of $ (best practice). Fixes #8033
* | | 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
| | |
* | | Follow up to fbf79c0b495e08d67c3a4767f371ec7bcfc40a17.Anton M2011-02-131-3/+3
| | | | | | | | | | | | Fix stupid error.
* | | Remove old cruft from test folder. Change "polluted" test suite loader to ↵Anton M2011-02-1323-13958/+70
| | | | | | | | | | | | use CDN hosted libraries.
* | | Add readyWait tests. Fixes #8145.jrburke2011-02-123-0/+111
| | | | | | | | | | | | Adds tests for the fix to #6781.
* | | Remove duplicate test.Anton M2011-02-111-3/+1
| | |
* | | Simplifies status normalization in xhr transport. Local file test modified ↵jaubourg2011-02-111-15/+29
| | | | | | | | | | | | for clarity.
* | | 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-102-518/+1
| | |
* | | 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.
* | | Makes local filesystem test for ajax more insightful.jaubourg2011-02-091-9/+31
| | |
* | | 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-053-22/+1
| | |
* | | 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.
* | | Stores jQuery.ajaxSettings.isLocal locally at load time so that any change ↵jaubourg2011-02-031-10/+26
| | | | | | | | | | | | to it won't affect the transport. Fixes the url parsing regexp to deal with empty domains. Adds informative text into test/localfile.html and handles Opera's failure. Revises the way xhr are created by doing all tests at load time and normalizes all the xhr creation functions so that none of them may throw an exception.
* | | Fixes #8135. Makes sure any exception thrown by Firefox when trying to ↵jaubourg2011-02-021-0/+101
| | | | | | | | | | | | access an XMLHttpRequest property when a network error occured is caught and notified as an error. Added test/networkerror.html to test the behavior.
* | | 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 #8125. Status is set to 200 for requests with status 0 when ↵jaubourg2011-02-011-0/+40
| | | | | | | | | | | | location.protocol if "file:". Added test/localfile.html to control it works.
* | | 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-312-9/+19
| |
* | 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.