aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-0726-7289/+7807
| | | | Fixes gh-2056
* Tests: do not define two modules with the same nameOleg Gaidarenko2015-08-161-1/+1
| | | | Fixes gh-2437
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-1624-5931/+6188
| | | | | | | | | | | | 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 Fixes gh-2540
* Event: Only check elements for delegation matchesRichard Gibson2015-08-101-0/+11
| | | | | | Closes gh-2529 Ref trac-13208 (cherry picked from commit fc2ba2e1361126c39f955437ee025cfca3bffa65)
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-3011-65/+193
| | | | Closes gh-2507
* Docs: Fix various spelling mistakesBruno Pérel2015-07-305-5/+5
| | | | Closes gh-2487
* Data: remove user data in cleanDataJason Bedard2015-07-281-1/+23
| | | | | Fixes gh-2503 Closes gh-2480
* Ajax: Account for Android 2.3 not firing window.onerror on script errorsMichał Gołębiowski2015-07-282-0/+20
| | | | | | | | | | Android 2.3 doesn't fire the window.onerror handler, just accept the reality there and skip the test. 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. Refs gh-2482
* Core: .each/.map should accept an undefined/null valueThomas Tortorini2015-07-271-0/+12
| | | | | Fixes gh-2267 Closes gh-2363
* Build: Acknowledge Android 2.3 is not ES5-compatibleMichał Gołębiowski2015-07-205-7/+10
| | | | | | | | | | | Android 2.3 chokes on unquoted reserved words being used as property names which was making Deferred tests not run. Acknowledge the sad fact that Android 2.3 is not ES5-compliant browser and enable the "es3" option in JSHint config. Fixes gh-2478 Closes gh-2481
* Ajax: Remove jsonp callbacks through "jQuery#removeProp" methodOleg Gaidarenko2015-07-131-11/+21
| | | | | Fixes gh-2323 Closes gh-2464
* Tests: Remove a trailing comma for compatibility with the compat branchMichał Gołębiowski2015-07-081-1/+1
|
* CSS: Add an integration test for issue gh-1764Michał Gołębiowski2015-07-084-0/+172
| | | | | | Refs gh-1764 Refs gh-2401 Closes gh-2425
* CSS: Make .css("width") & .css("height") return fractional valuesMichał Gołębiowski2015-07-072-16/+69
| | | | | Fixes gh-1724 Closes gh-2439
* Deferred: add .catch handlerTimmy Willison2015-07-061-0/+36
| | | | Fixes gh-2102
* 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-262-0/+231
| | | | Closes gh-2326
* Effects: Add tests for jQuery.TweenCorey Frang2015-06-264-4/+305
|
* Offset: add tests for hidden elements + scrollTimmy Willison2015-06-162-1/+15
| | | | | - 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 test/data/ua.txtMichał Gołębiowski2015-06-161-272/+0
| | | | | | | The file was used by $.browser tests but $.browser now doesn't exists in Core and this file hasn't been updated for a few years. Fixes gh-2398
* 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 Refs 8e111df641cca3e1b75b31a1971bfc89014b4ded
* Tests: Add Microsoft Edge results (from Windows 10 build 10130)Michał Gołębiowski2015-06-141-4/+22
| | | | | The Microsoft Edge user agent contains "Chrome" so it needs to be checked before Chrome.
* Tests: Correct a typo in the regex matching Safari 8Michał Gołębiowski2015-06-141-1/+1
|
* Core: Make jQuery objects iterableMichał Gołębiowski2015-06-135-0/+67
| | | | | | | | | | Make iterating over jQuery objects possible using ES 2015 for-of: for ( node of $( "<div id=narwhal>" ) ) { console.log( node.id ); // "narwhal" } Fixes gh-1693
* Build: Refactor Node smoke testsMichał Gołębiowski2015-06-136-38/+34
| | | | Utilize the assert module, avoid inline JSHint comments.
* Build: Update grunt-contrib-jshintMichał Gołębiowski2015-06-131-0/+1
|
* 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. Fixes gh-2015 Closes gh-2298
* Event: remove outdated originalEvent hackOleg Gaidarenko2015-05-291-16/+49
| | | | | Closes gh-2335 Ref 7475d5debeb7c53158921ed40f6c2fdb25a2cc86
* Event: Remove fake originalEvent from jQuery.Event.simulateGabriel Schulhof2015-05-292-0/+59
| | | | | Fixes gh-2300 Closes gh-2303
* Event: remove deprecated event aliasesOleg Gaidarenko2015-05-191-8/+1
| | | | | | Fixes gh-2286 Closes gh-2287 Ref trac-11733
* Event: provide verbose comment for focus(in | out) & rename support propOleg Gaidarenko2015-05-191-10/+10
| | | | Closes gh-2312
* 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
* Data: remove the expando when there's no more dataTimmy Willison2015-05-122-2/+40
| | | | | Fixes gh-1760 Close gh-2271
* 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-220/+228
| | | | | | Fixes gh-1767 Fixes gh-2071 Closes gh-2180
* 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
* Offset: Fix .offset() to correctly work with ShadowDOMArthur Stolyar2015-05-051-5/+23
| | | | | Fixes gh-1784 Close gh-2043
* Selector: add test for jQuery.unique() aliasTimmy Willison2015-05-051-1/+3
|
* Selector: add jQuery.uniqueSort; deprecate jQuery.uniqueTimmy Willison2015-05-042-4/+4
| | | | Fixes gh-2228
* Data: camelCasing should not ignore caseTimmy Willison2015-05-041-0/+10
| | | | Fixes gh-2070
* Data: always camelCase keys in .data()Timmy Willison2015-05-041-5/+31
| | | | | | | - This effectively implements our "Embrace HTML5" option - Related: http://goo.gl/GcQAtn Fixes gh-2257