aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-0813-247/+282
| | | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb Ref c8d15a2f9f108e90d3651c31e4abf45415a30fde
* Effects: Finish should call progressThomas Tortorini2015-09-081-4/+45
| | | | | | | (cherry-picked from 3dd3d1357d027a487559516fcdd9064cc792edab) Fixes gh-2283 Closes gh-2292
* Tests: do not create data cache when fetching single propertyJason Bedard2015-09-081-0/+16
| | | | | (test cherry-picked from f5bf9bc48897e3b8f050d87d02252c8be456044a) Refs gh-2554
* Data: Don't expose jQuery.acceptDataJason Bedard2015-09-081-35/+19
| | | | | | | | jQuery.acceptData is an undocumented internal API that shouldn't be exposed. (cherry-picked from 224271982eb9cd351d7db1b38c740b4e927e6f97) Fixes gh-2555
* Serialize: Handle arrays with null valuesDaniel Nill2015-09-071-1/+4
| | | | | | (cherry-picked from 3d7ce0a65f0707ff01a851822e57ba80adcff075) Closes gh-2436
* Effects: Remove additional parameters of easingsThomas Tortorini2015-09-071-4/+2
| | | | | | | (cherry-picked from b7a7dea95f84d6d8e5a8186d4fb09a762baf79bb) Fixes gh-2367 Closes gh-2376
* Tests: Do not define two modules with the same nameOleg Gaidarenko2015-09-071-1/+1
| | | | | Ref 7aa46e0df8a673e6b00550bbbbed21eed50108b7 Fixes gh-2437
* Tests: Partially use new qunit interfaceOleg Gaidarenko2015-09-0723-6089/+6607
| | | | | | | | | | | | | http://qunitjs.com/upgrade-guide-2.x/ For most of the boring work was used https://github.com/apsdehal/qunit-migrate package However, it can't update local qunit helpers, plus in some places old QUnit.asyncTest signature is still used Ref b930d14ce64937e9478405eee2828d4da091d2cb Fixes gh-2540
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-0721-6531/+6740
| | | | | Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056
* Event: Reduce differences from masterRichard Gibson2015-08-101-3/+3
|
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-3011-64/+191
| | | | Ref aabe94edb4880c75eeebc5b5b5d66a9ad17008fe
* Docs: Fix various spelling mistakesBruno Pérel2015-07-303-3/+3
| | | | | | (cherry-picked from 360a4780339b7f412b75ad8a06dca7f39616f654) Closes gh-2487
* Data: backport cleanData tests from gh-2480Jason Bedard2015-07-281-0/+39
| | | | | | | The tests needed a slight change as on compat we're not removing the value for expando but setting it to undefined. Refs gh-2480
* Ajax: Account for Android 2.3 not firing window.onerror on script errorsMichał Gołębiowski2015-07-282-0/+19
| | | | | | | | | | | | Android 2.3 doesn't fire the window.onerror handler, just accept the reality there and skip the test. (cherry-picked from 6044fb6a7384aec85906949835ef9a58114896ce) Refs gh-1573 Refs gh-1786 Refs jquery/jquery.com#108 Closes gh-2458
* Core: Adjust comments & tests after dropping Safari 6 supportMichał Gołębiowski2015-07-272-2/+2
| | | | | | | | | | Support comments that mentioned only Safari < 7 were checked & updated to account for bugs existing in newer versions as well; Safari 6 support test results were removed. (cherry-picked from 93bee4701d14202045a88aab156da0daf9418430) Refs gh-2482
* Core: .each/.map should accept an undefined/null valueThomas Tortorini2015-07-271-0/+12
| | | | | | | (cherry-picked from bf48c21d225c31f0f9b5441d95f73615ca3dcfdb) Fixes gh-2267 Closes gh-2363
* Ajax: Remove jsonp callbacks through "jQuery#removeProp" methodOleg Gaidarenko2015-07-131-3/+32
| | | | | | Fixes gh-2323 Closes gh-2464 Ref a2ae215d999637e8d9d0906abcbf6b1ca35c8e6e
* Effects: fix failing tests in IE8Timmy Willison2015-07-082-5/+7
|
* CSS: Make .css("width") & .css("height") return fractional valuesMichał Gołębiowski2015-07-073-16/+82
| | | | | | Fixes gh-1724 Closes gh-2454 Refs gh-2439
* Deferred: pass lint in new catch testsTimmy Willison2015-07-061-4/+4
|
* Deferred: add .catch handlerTimmy Willison2015-07-061-0/+36
| | | | Fixes gh-2102
* Effects: Fix testsMichał Gołębiowski2015-06-281-1/+0
| | | | | Refs 6b10f9d7e9fb6d062d2bbda49196544cd059b05c Refs gh-2340
* Tests: Fix merge conflictCorey Frang2015-06-261-4/+0
| | | | | | Introduced in 6b10f9d7e9fb6d062d2bbda49196544cd059b05c originally. Had a rebase conflict that I fixed but forgot to ⌘-s. ☹
* Tests: Lower the checks rounding errorCorey Frang2015-06-261-1/+1
| | | | The CSS value rounding error was causig failures on FF and IE.
* Effects: Adding unit tests for jQuery.AnimationCorey Frang2015-06-261-0/+230
| | | | | | | | | Closes gh-2340 (cherry picked from commit b3b2d6c3dd51fbdc69e1942e9af75cc99a1834c2) Conflicts: src/effects.js
* Effects: Add tests for jQuery.TweenCorey Frang2015-06-262-1/+306
| | | | | | | Conflicts: src/selector-native.js test/index.html test/unit/effects.js
* Core: Change support.ownLast to support.ownFirstMichał Gołębiowski2015-06-231-12/+12
| | | | | | | | jQuery.support.ownLast was the only support test that was supposed to be false when it succeeded. It was confusing. Fixes gh-2406 Closes gh-2408
* Offset: add tests for hidden elements + scrollTimmy Willison2015-06-161-1/+13
| | | | | - Also add comments to hidden/disconnected tests noting this is to ensure consistency between branches
* Offset: return zeros for disconnected/hidden elementsTimmy Willison2015-06-161-14/+8
| | | | | Fixes gh-2310 Close gh-2396
* Revert "Offset: allow offset setter to throw for disconnected elements"Timmy Willison2015-06-161-1/+9
| | | | This reverts commit 0d11c1182f2012cd6eb06ce1e3fa5a495af9bee3.
* Tests: Remove Edge version from the user agentMichał Gołębiowski2015-06-161-1/+1
| | | | | | | | The version will change in the future, matching by /edge\//i is enough (cherry-picked from 5a1217e40193c8884155ccaf415091d326ddb52a) Refs 8e111df641cca3e1b75b31a1971bfc89014b4ded
* Tests: Add Microsoft Edge results (from Windows 10 build 10130)Michał Gołębiowski2015-06-141-4/+36
| | | | | | | The Microsoft Edge user agent contains "Chrome" so it needs to be checked before Chrome. Refs 8e111df641cca3e1b75b31a1971bfc89014b4ded
* Tests: Correct a typo in the regex matching Safari 8Michał Gołębiowski2015-06-141-1/+1
| | | | (cherry-picked from c17543fd3c14ff86c448dbb90f9fe1223661a73b)
* Core: Make jQuery objects iterableMichał Gołębiowski2015-06-131-0/+20
| | | | | | | | | | | | Make iterating over jQuery objects possible using ES 2015 for-of: for ( node of $( "<div id=narwhal>" ) ) { console.log( node.id ); // "narwhal" } (partially cherry-picked from bb026fc12c3c2ad37f47f0919e484bddcdc3d291) Fixes gh-1693
* CSS: Don't cache unrecognized CSS property namesMichał Gołębiowski2015-06-011-0/+80
| | | | | | | | | | | | | | | | | | | This prevents jQuery from caching a prefixed property name if provided directly by the user, e.g. the following code: elem.css( "msTransform", "translate(5px, 2px)" ); should not prevent one from from later setting the transition directly: elem.css( "transform", "translate(5px, 2px)" ); on a browser not understanding the unprefixed version which is the case for Safari 8 & transform. (cherry-picked from d471842b3e3af83c9a1be06b5d16f75bfa96af8c) Fixes gh-2015 Closes gh-2298
* Event: improve originalEvent hackOleg Gaidarenko2015-05-291-0/+129
| | | | | Ref 6df669f0fb87cd9975a18bf6bbe3c3548afa4fee Ref gh-2336
* Event: remove deprecated event aliasesOleg Gaidarenko2015-05-191-8/+1
| | | | | | | (Cherry-picked from 0705be475092aede1eddae01319ec931fb9c65fc) Fixes gh-2286 Closes gh-2287 Ref trac-11733
* Attributes: don't test SVG CSS-class manipulation in IE8Oleg Gaidarenko2015-05-191-0/+12
| | | | Ref 20aaed367f993f3c2aa204183d82d0d73efa114f
* Event: provide verbose info for focus(in | out) & rename support propsOleg Gaidarenko2015-05-191-33/+33
| | | | | Ref c074006a69db73a116dc04ec78844468a8cea7d3 Ref gh-2312
* Ajax: Use the native XHR for all non-local requests in IE9+Michał Gołębiowski2015-05-181-2/+4
| | | | | | | | | IE throws an error on cross-domain PATCH requests if issued via the ActiveX interface. This commit switches the logic to use the native XHR in all non-local requests. Fixes gh-1684 Closes gh-2183
* Offset: account for scroll when calculating positionRichard McDaniel2015-05-121-1/+12
| | | | | Fixes gh-1708 Close gh-1714
* Core: remove custom ready eventTimmy Willison2015-05-121-33/+30
| | | | | Fixes gh-2264 Close gh-2265
* Attributes: add SVG class manipulationTimmy Willison2015-05-121-0/+28
| | | | | | | | | - Note: support for SVG is limited in jQuery, but this is one area where the cost vs benefit ratio was acceptable. Fixes gh-2199 Close gh-2268
* Tests: fix tests in accordance with new :visible behaviorTimmy Willison2015-05-122-5/+7
|
* CSS: fix :visible/:hidden selectors for inline element w/ contentTimmy Willison2015-05-121-7/+13
| | | | | | | | | | | - Reverts behavior from 10399dd, which we never released. BR and inline elements are considered visible. - The possibility of dropping .offsetWidth and .offsetHeight was debunked by this perf: http://jsperf.com/visible-hidden-and-getclientrects Fixes gh-2227 Close gh-2281
* CSS: Ignore the CSS cascade in show()/hide()/etc.Richard Gibson2015-05-113-231/+244
| | | | | | | | | | | | | | | | Fixes gh-1767 Fixes gh-2071 Closes gh-2180 (cherry picked from commit 86419b10bfa5e3b71a7d416288ab806d47a31d1f) Conflicts: src/css.js src/css/defaultDisplay.js src/effects.js test/data/testsuite.css test/unit/css.js test/unit/effects.js
* Effects: add tests for jQuery.easing._default in Animation and TweenTimmy Willison2015-05-051-25/+80
| | | | Ref gh-2219
* Effects: set default easing using jQuery.easing._defaultTimmy Willison2015-05-051-15/+35
| | | | | Fixes gh-2219 Close gh-2218
* Offset: allow offset setter to throw for disconnected elementsTimmy Willison2015-05-051-9/+1
| | | | Fixes gh-2114
* Offset: remove ownerDocument check in offset getterTimmy Willison2015-05-051-10/+1
| | | | Fixes gh-2115