aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Data: do not include digits when camelCasing"Oleg Gaidarenko2015-12-222-36/+15
| | | | This reverts commit a254f22d7bb5b072a82087a448130ffadd70d698.
* Revert "Data: always camelCase keys in .data()"Oleg Gaidarenko2015-12-221-176/+50
| | | | This reverts commit 0204c3089e7beee0306594605cc64d1e050ecd07.
* Revert "Data: camelCasing should not ignore case"Oleg Gaidarenko2015-12-221-19/+0
| | | | This reverts commit cf16f860b05b7bffeb2382a0a55bb85c69b2abb5.
* Revert "Offset: Fix .offset() to correctly work with ShadowDOM"Oleg Gaidarenko2015-12-221-15/+0
| | | | This reverts commit d4dd548acaf049d8e4dca9e4b879a51f26bb3d27.
* Revert "Offset: remove ownerDocument check in offset getter"Oleg Gaidarenko2015-12-221-5/+14
| | | | This reverts commit a2386a8250c82e27680d21f7f6fd1eb9a8f7e938.
* Revert "Offset: allow offset setter to throw for disconnected elements"Oleg Gaidarenko2015-12-221-1/+9
| | | | This reverts commit dc49f62f22a90ba95bbd1b659bfdae905adb4dd8.
* Revert "CSS: Ignore the CSS cascade in show()/hide()/etc."Oleg Gaidarenko2015-12-224-1223/+1116
| | | | This reverts commit 9df8bd205ab78308c34af70c934c42175e560e86.
* Revert "Core: remove custom ready event"Oleg Gaidarenko2015-12-221-25/+28
| | | | This reverts commit b35bea14a9b1ff6b9ba96e0c51e21bfeecfc4c4a.
* Revert "Event: remove deprecated event aliases"Oleg Gaidarenko2015-12-221-1/+8
| | | | This reverts commit ef30bdf4f1b361b6f2e99f5b7233b419f95a62f2.
* Revert "Deferred: add .catch handler"Oleg Gaidarenko2015-12-221-37/+0
| | | | This reverts commit ef77f83db86b806425203d1e5ecbcc119d7b9c32.
* Revert "CSS: Make .css("width") & .css("height") return fractional values"Oleg Gaidarenko2015-12-223-84/+18
| | | | This reverts commit 23212b34e690e857cbc46951dd8c018d181206cb.
* Revert "Effects: Remove additional parameters of easings"Oleg Gaidarenko2015-12-221-2/+4
| | | | This reverts commit 41a04e59df5beac4ca61b3b5e3a6b078b6aee1ac.
* Revert "CSS: Make show/hide/toggle methods a module"Oleg Gaidarenko2015-12-224-53/+41
| | | | This reverts commit 3842246024475eafdc8a00a7ac4358d06d76cab2.
* Revert "Core: make isNumeric limited to strings and numbers"Oleg Gaidarenko2015-12-221-1/+1
| | | | This reverts commit ada073e9acfc9a103b13b9b69d26590e1c834d04.
* Revert "Attributes: do not set properties to false when removing booleans"Oleg Gaidarenko2015-12-221-1/+1
| | | | This reverts commit 5c086c3782459307c44397549fef15a87c8b90c4.
* Tests: Make regexes for iOS devices more rigidMichał Gołębiowski2015-10-301-3/+3
|
* Tests: Remove Safari 7.0 & iOS 6 support tests resultsMichał Gołębiowski2015-10-301-35/+1
|
* Tests: Add iOS 9 support tests resultsMichał Gołębiowski2015-10-301-0/+34
|
* Attributes: remove flakey test for selected attributeTimmy Willison2015-10-261-3/+1
| | | | | | | - The change is already covered by the "checked" test. Since this test is redundant, just drop it. (cherry picked from commit 87bd130289c6ed9bfc355c1f8587ae6ce00a4776)
* Attributes: do not set properties to false when removing booleansTimmy Willison2015-10-261-2/+4
| | | | | | | | | Fixes gh-1759 (cherry picked from commit 47ccf3daadc4b312f850502300129952e70f9d9d) Conflicts: src/attributes/attr.js
* Tests: Post-Summit cleanupRichard Gibson2015-10-251-1/+1
| | | | | | | Ref 67d7a2eefee768b59eb3d51cb1fb2c671873e58a Ref c752a5030bc00eb5b45dea9c28963f824a5c4f44 (cherry picked from commit f931786018058174fa63551a7a4a3fccf9de41fa)
* Core: make isNumeric limited to strings and numbersTimmy Willison2015-10-251-1/+1
| | | | | | Fixes gh-2662 (cherry picked from commit 15ac848868e993dfe5ccd7751a94f5c8edc288bc)
* Attributes: fix tabIndex on <img> in IE11Joelle Fleurantin2015-10-251-0/+7
| | | | | | | | | | Fixes gh-2647 Closes gh-2664 (cherry picked from commit c752a5030bc00eb5b45dea9c28963f824a5c4f44) Conflicts: src/attributes/prop.js
* Attributes: Use simpler boolean check vs a function callDave Methvin2015-10-251-1/+5
| | | | | | Ref gh-2491 (cherry picked from commit 4bf1a09522955eb52de1fafb4ee1ecc5982b7a3e)
* Attributes: Remove undocumented .toggleClass( boolean ) signatureDave Methvin2015-10-251-24/+1
| | | | | | | | | | Fixes gh-2491 Close gh-2618 (cherry picked from commit 53f798cf4d783bb813b4d1ba97411bc752b275f3) Conflicts: src/attributes/classes.js
* CSS: Make show/hide/toggle methods a moduleDave Methvin2015-10-254-41/+53
| | | | | | | | | | | | | | | | Unit test changes some uses of .show() and .hide() to .css( "display", ... ), there was already an implicit assumption in several of the existing tests. Fixes gh-2193 Close gh-2648 (cherry picked from commit 67d7a2eefee768b59eb3d51cb1fb2c671873e58a) Conflicts: Gruntfile.js src/css.js src/css/showHide.js test/unit/css.js
* Core: make isNumeric test work on SymbolLiza Ramo2015-10-251-0/+7
| | | | | | | Ref #2645 Closes #2657 (cherry picked from commit 0703fd52ef88a2cdac93502070c51c93ffa1dfdd)
* Tests: Use standard external domain nameRichard Gibson2015-10-231-1/+1
| | | | Ref 01c360f96390ff16edfe65ef3b34e167087ef645
* Tests: Add Safari 9 support tests resultsMichał Gołębiowski2015-10-181-0/+34
| | | | Refs e99a3ac7066226d00ff5828de596d4a4b3818c0c
* Offset: allow small differences in offset.topJoelle Fleurantin2015-10-181-1/+3
| | | | | Fixes gh-2590 (cherry picked from commit 9f9e204bba41b7a9cde5ba7e065d817ef8b18c41)
* Core: add unit test for isPlainObject(Symbol)Liza Ramo2015-10-181-0/+9
| | | | | | Fixes #2645 Closes #2661 (cherry picked from commit 9090d98439f8dc449beafee98f8ff35cfb4f9116)
* CSS: Correct misrepresentation of "auto" horizontal margins as 0Richard Gibson2015-10-183-27/+58
| | | | | Fixes gh-2237 Closes gh-2276
* Tests: Account for array-like objects in jQuery.grepAurelio De Rosa2015-10-131-6/+73
| | | | | Cherry-picked from 67b76f5986a78d868553b9aec0d0192f5259a078 Closes gh-2605
* Tests: fix code style issuesOleg Gaidarenko2015-10-131-1/+1
| | | | | Cherry-picked from 625bd303d99408bca86b7002cd42b8716e2b267e Follow-up for c7cf28681eeb2a7f6d71e5e17b293c252900bda7
* Core: Support Symbol wrapper objects in jQuery.typeChristian Grete2015-10-131-0/+13
| | | | | | | | | | In ECMAScript 2015 (ES6), the native typeof operator returns "symbol" for Symbol primitives. As it is possible to wrap symbols using the Object constructor, symbols can be objects as well as any other primitive type in JavaScript and should be determined by jQuery.type. Cherry-picked from 8a734344f2566dab5b8d34ecd79ae81ebd8843c5 Closes gh-2627
* Ajax: don't expect cross-origin tests run in envs which not support itOleg Gaidarenko2015-10-131-31/+20
| | | | | Cherry-picked from 39cdb8c9aa0fde68f733553ba050a2ba9d86474c Follow-up to b078a62013782c7424a4a61a240c23c4c0b42614
* Ajax: improve content-type detectionOleg Gaidarenko2015-10-121-1/+103
| | | | | | Cherry-picked from 239169bb2ede6ea6287d82d1d13b0c354f451749 Fixes gh-2584 Closes gh-2643
* Event: fix incorrect testOleg Gaidarenko2015-10-121-7/+1
| | | | | | | Which was revealed by 03eaadb131df925d1072afd2496ee3b41d2f1fc6 commit, also do not try to fix typos in data/jquery version Cherry-picked from d92310050ca7bf0b33825d64e052f9a8809c3e9e
* Tests:Docs: Fix various typosGary Ye2015-10-122-2/+2
| | | | | | | | | | | | | * Changes "baar" to "bar" when used with "foo" in readme and comments of js files * mousenter -> mouseenter Thanks @garysye, @KimTaehee Cherry-picked from 03eaadb131df925d1072afd2496ee3b41d2f1fc6 Closes gh-2613 Closes gh-2601
* Event: Move .bind() and .delegate() to deprecatedDave Methvin2015-10-121-0/+40
| | | | | | Cherry-picked from ee0854f85bd686b55757e8854a10480f23c928da Fixes gh-2288 Closes gh-2624
* Tests: Add .extend test for defined accessor propertiesOleg Gaidarenko2015-10-121-0/+30
| | | | | Ref 9748e436ad80d6a2e1661ba4cf8d7391ed87c3ad Closes gh-2615
* Ajax: Mitigate possible XSS vulnerabilityOleg Gaidarenko2015-10-121-0/+48
| | | | | | | | Proposed by @jaubourg Cherry-picked from b078a62013782c7424a4a61a240c23c4c0b42614 Fixes gh-2432 Closes gh-2588
* Tests: Account for Edge in originalEvent UA-sniffsMichał Gołębiowski2015-09-141-6/+4
| | | | | | | | | All other cases where Edge user agent needed to be taken into account in tests have already been resolved. (cherry-picked from 64fd7ef3d081b5c65d541237f73a4d89f0f0ad7b) Fixes gh-2357
* Tests: Fix the expando-removal test failure in IE 8Michał Gołębiowski2015-09-141-1/+4
| | | | | | | IE 8 gets the expando removed via removeAttribute so the second assertion won't be reached. The expected assertion count had to be updated. Fixes gh-2596
* Tests: Provide equal() arguments in correct order (actual, expected)Richard Gibson2015-09-081-1/+1
| | | | | | | | | | Ref 224271982eb9cd351d7db1b38c740b4e927e6f97 Ref f5bf9bc48897e3b8f050d87d02252c8be456044a (cherry picked from commit d3d8d9751f3d14a545b26cf820dc1f51896a7b50) Conflicts: test/unit/data.js
* Data: test that delete is not used on DOM nodesJason Bedard2015-09-081-0/+24
| | | | | | (test cherry-picked from 0e982433eb94391b3e9f6838d9b8fbf9bb31abf9) Closes gh-2479
* Tests: Really fix tests in IE 8 this timeMichał Gołębiowski2015-09-081-1/+1
| | | | IE 8 doesn't have indexOf on arrays. Also, one toLowerCase() was missing. Oops.
* Tests: Make basic tests work in IE 8Michał Gołębiowski2015-09-081-5/+43
| | | | | | | | | IE 8 prints tag names in upper case which was breaking some tests. This commit is not necessary on master but has been brought here to keep tests similar in both branches. (cherry-picked from 5914b103627e3773418ad1fd8c3b034bf3748d51)
* Tests: Backport basic tests from masterMichał Gołębiowski2015-09-081-0/+264
| | | | | | | | | | | | | Commit 2c7e9c9 added the basic test suite; these are the only tests that are now run on Android 2.3 on master. On compat we're keeping full Android 2.3 support for now but the tests and the testswarm basic run mode have been cherry-picked anyway to reduce the divergence between branches. (cherry-picked from 2c7e9c934971500a746d012c529e13ec0b560a83) Fixes gh-2505 Closes gh-2509 Refs gh-2483
* Tests: more style correctionsOleg Gaidarenko2015-09-086-19/+18
| | | | | | Provocated by jscs-dev/node-jscs@2de68c0 Ref c161eecce09fc66ce252d4adf64b565f726bb6d2