aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fixes #8054 by reverting feature enhancement 5812 (4920). Regexps no longer ↵jaubourg2011-01-261-19/+2
| | | | searches for %3F in url or data to find jsonp callback placeholders.
* Reworks how values of parameters passed to error callbacks are determined. ↵jaubourg2011-01-251-0/+41
| | | | Fixes #8050.
* 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
| |
* | Add another tweak for handling CSP - we need to make sure that we don't ↵John Resig2011-01-181-0/+30
| | | | | | | | trigger any eval on load (not sure if it's the best tweak, definitely not ideal). Add a test page as well so that it's easier to catch problem.
* | 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-1715-131/+371
|\ \
| * \ Merge in data_nocollide branch. Fixes #6968, improves unit testing framework ↵Colin Snover2011-01-1715-131/+371
| |\ \ | | | | | | | | | | | | checks for leaky stuff.
| | * | Update unit tests with a leak detection mechanism for the various jQuery ↵Colin Snover2011-01-0915-38/+189
| | | | | | | | | | | | | | | | 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.
* | | | | So embarrassing :( wycats2011-01-141-8/+0
| | | | |
* | | | | Fix a failing subclass test due to a change in masterwycats2011-01-141-5/+5
| | | | |
* | | | | Overwrite CRLF with LFwycats2011-01-141-0/+8
| | | | |