aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Event: Add basic unit tests for event aliasesDave Methvin2015-11-051-0/+18
| | | | | | | | Fixes gh-2302 Closes gh-2687 At the moment it's not possible to run the full event unit tests without aliases so this was just tested with a custom build by running this one test.
* Event: Ensure delegation doesn't error on comment nodesTimmy Willison2015-11-041-0/+27
| | | | | Fixes gh-2055 Close gh-2659
* Ajax: Don't throw exceptions on binary data responseDave Methvin2015-11-041-0/+24
| | | | | | | | | Fixes gh-2498 Closes gh-2682 The added unit test shows how this could be used to support an ArrayBuffer return, but $.ajax does not support it natively. The goal with this change was to avoid the exception.
* Ajax: trigger error callback on native abortTimmy Willison2015-11-031-1/+20
| | | | | | | - IE9 does not have onabort. Use onreadystatechange instead. Fixes gh-2079 Close gh-2684
* Ajax: Only form-encode requests with a bodyDave Methvin2015-11-022-15/+57
| | | | | Fixes #2658 Closes #2671
* 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-18/+1
|
* Tests: Add iOS 9 support tests resultsMichał Gołębiowski2015-10-301-0/+17
|
* Core: use interactive to evaluate dom ready, barring IE9-10Timmy Willison2015-10-291-0/+12
| | | | Fixes gh-2100
* 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.
* Tests: Post-Summit cleanupRichard Gibson2015-10-252-9/+1
| | | | | Ref 67d7a2eefee768b59eb3d51cb1fb2c671873e58a Ref c752a5030bc00eb5b45dea9c28963f824a5c4f44
* Tests: Use standard external domain nameRichard Gibson2015-10-231-1/+1
| | | | | | Ref 01c360f96390ff16edfe65ef3b34e167087ef645 (cherry picked from commit 36806891657b0a3b7c4a12d9698f2ebf552fd712)
* Attributes: do not set properties to false when removing booleansTimmy Willison2015-10-211-2/+4
| | | | Fixes gh-1759
* Core: make isNumeric limited to strings and numbersTimmy Willison2015-10-211-1/+1
| | | | Fixes gh-2662
* Tests: Add Safari 9 support tests resultsMichał Gołębiowski2015-10-181-0/+17
|
* CSS: Correct misrepresentation of "auto" horizontal margins as 0Richard Gibson2015-10-183-38/+65
| | | | | | | | | | | | Fixes gh-2237 Closes gh-2276 (cherry picked from commit 214e1634ab9b1d13d53647dd5de3bdf7a091d49c) Conflicts: src/css.js src/css/support.js test/unit/support.js
* Attributes: fix tabIndex on <img> in IE11Joelle Fleurantin2015-10-181-0/+7
| | | | | Fixes gh-2647 Closes gh-2664
* Core: add unit test for isPlainObject(Symbol)Liza Ramo2015-10-181-0/+9
| | | | | Fixes #2645 Closes #2661
* Offset: allow small differences in offset.topJoelle Fleurantin2015-10-181-1/+3
| | | | Fixes gh-2590
* 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