aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Attributes: Use simpler boolean check vs a function callDave Methvin2015-10-181-1/+5
| | | | Ref gh-2491
* Attributes: Remove undocumented .toggleClass( boolean ) signatureDave Methvin2015-10-181-24/+1
| | | | | Fixes gh-2491 Close gh-2618
* CSS: Make show/hide/toggle methods a moduleDave Methvin2015-10-184-33/+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
* Core: make isNumeric test work on SymbolLiza Ramo2015-10-171-0/+7
| | | | | Ref #2645 Closes #2657
* Tests: Account for array-like objects in jQuery.grepAurelio De Rosa2015-10-131-6/+73
| | | | Closes gh-2605
* Tests: fix code style issuesOleg Gaidarenko2015-10-131-1/+1
| | | | Follow-up for 8a734344f2566dab5b8d34ecd79ae81ebd8843c5
* 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. Closes gh-2627
* Ajax: don't expect cross-origin tests run in envs which not support itOleg Gaidarenko2015-10-131-31/+20
| | | | Follow-up to b078a62013782c7424a4a61a240c23c4c0b42614
* Ajax: improve content-type detectionOleg Gaidarenko2015-10-121-1/+103
| | | | | 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
* 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 Closes gh-2613 Closes gh-2601
* Event: Move .bind() and .delegate() to deprecatedDave Methvin2015-10-121-0/+40
| | | | | Fixes gh-2288 Closes gh-2624
* Tests: Add .extend test for defined accessor propertiesConnor Atherton2015-10-121-0/+23
| | | | Closes gh-2615
* Ajax: Mitigate possible XSS vulnerabilityOleg Gaidarenko2015-10-121-0/+48
| | | | | | | Proposed by @jaubourg Fixes gh-2432 Closes gh-2588
* Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 supportMichał Gołębiowski2015-09-141-48/+10
| | | | | | | | Drop non-critical workarounds for Android 2.3. Fixes gh-2483 Fixes gh-2505 Closes gh-2581
* 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. Fixes gh-2357
* Tests: Provide equal() arguments in correct order (actual, expected)Richard Gibson2015-09-081-12/+13
| | | | | Ref 224271982eb9cd351d7db1b38c740b4e927e6f97 Ref f5bf9bc48897e3b8f050d87d02252c8be456044a
* Data: avoid using delete on DOM nodesJason Bedard2015-09-083-5/+25
| | | | 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. This commit is not necessary on master but has been brought here to keep tests similar in both branches. (cherry-picked from 1b48eef4caf7fa3aba0ee1a3473e0d46487d20ea)
* 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.
* Tests: Add simple tests for Android 2.3Michał Gołębiowski2015-09-081-0/+264
| | | | | | Fixes gh-2505 Closes gh-2509 Refs gh-2483
* Tests: more style correctionsOleg Gaidarenko2015-09-083-3/+3
| | | | | | Provocated by jscs-dev/node-jscs@2de68c0d8351103bb2a989dc942ab47a391d3546 Closes gh-2578
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-0813-248/+283
| | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb
* Effects: Finish should call progressThomas Tortorini2015-09-081-4/+45
| | | | | Fixes gh-2283 Closes gh-2292
* Data: do not create data cache when fetching single propertyJason Bedard2015-09-081-0/+16
| | | | Closes gh-2554
* Data: Don't expose jQuery.acceptDataJason Bedard2015-09-081-15/+14
| | | | | | jQuery.acceptData is an undocumented internal API that shouldn't be exposed. Fixes gh-2555
* Serialize: Handle arrays with null valuesDaniel Nill2015-09-071-1/+4
| | | | Closes gh-2436
* Effects: Remove additional parameters of easingsThomas Tortorini2015-09-071-6/+2
| | | | | Fixes gh-2367 Closes gh-2376
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-0721-6469/+6693
| | | | 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-1623-5911/+6159
| | | | | | | | | | | | 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-304-4/+4
| | | | 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-204-7/+7
| | | | | | | | | | | 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
* 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-261-0/+230
| | | | Closes gh-2326
* Effects: Add tests for jQuery.TweenCorey Frang2015-06-262-2/+302
|
* 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 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.