aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/core.js
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Misc: Drop support for older browsers; update support comments"Timmy Willison2016-01-061-1/+1
| | | | This reverts commit 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278.
* Revert "Core: Return empty array instead of null for parseHTML("")"Oleg Gaidarenko2015-12-221-16/+11
| | | | This reverts commit 61bb61279ce51af189d40162dc62e44f04826051.
* Build: code style fixes after all those revertsOleg Gaidarenko2015-12-221-25/+25
|
* Revert "Ajax: Always use script injection in globalEval"Oleg Gaidarenko2015-12-221-10/+16
| | | | This reverts commit 37f0f7f42cd158e36665066d88708ca4aa0713ac.
* Revert "Core: Remove deprecated context and selector properties"Oleg Gaidarenko2015-12-221-5/+47
| | | | This reverts commit e2ec5da2a7f1b3de1f9dc7e2c01f27cd23714e60.
* Revert "Core: Throw an error on $("#") rather than returning 0-length ↵Oleg Gaidarenko2015-12-221-12/+5
| | | | | | collection" This reverts commit 93f95c966355f02b5695f50523f88687eadb4c81.
* Revert "Data: do not include digits when camelCasing"Oleg Gaidarenko2015-12-221-1/+1
| | | | This reverts commit a254f22d7bb5b072a82087a448130ffadd70d698.
* Revert "Offset: allow offset setter to throw for disconnected elements"Oleg Gaidarenko2015-12-221-1/+9
| | | | This reverts commit dc49f62f22a90ba95bbd1b659bfdae905adb4dd8.
* Revert "Core: make isNumeric limited to strings and numbers"Oleg Gaidarenko2015-12-221-1/+1
| | | | This reverts commit ada073e9acfc9a103b13b9b69d26590e1c834d04.
* Core: make isNumeric limited to strings and numbersTimmy Willison2015-10-251-1/+1
| | | | | | Fixes gh-2662 (cherry picked from commit 15ac848868e993dfe5ccd7751a94f5c8edc288bc)
* Core: make isNumeric test work on SymbolLiza Ramo2015-10-251-0/+7
| | | | | | | Ref #2645 Closes #2657 (cherry picked from commit 0703fd52ef88a2cdac93502070c51c93ffa1dfdd)
* Core: add unit test for isPlainObject(Symbol)Liza Ramo2015-10-181-0/+9
| | | | | | Fixes #2645 Closes #2661 (cherry picked from commit 9090d98439f8dc449beafee98f8ff35cfb4f9116)
* 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
* Tests: Add .extend test for defined accessor propertiesOleg Gaidarenko2015-10-121-0/+30
| | | | | Ref 9748e436ad80d6a2e1661ba4cf8d7391ed87c3ad Closes gh-2615
* Tests: more style correctionsOleg Gaidarenko2015-09-081-1/+1
| | | | | | Provocated by jscs-dev/node-jscs@2de68c0 Ref c161eecce09fc66ce252d4adf64b565f726bb6d2
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-081-6/+14
| | | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb Ref c8d15a2f9f108e90d3651c31e4abf45415a30fde
* Tests: Partially use new qunit interfaceOleg Gaidarenko2015-09-071-523/+535
| | | | | | | | | | | | | 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-071-495/+499
| | | | | Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-301-3/+9
| | | | Ref aabe94edb4880c75eeebc5b5b5d66a9ad17008fe
* Core: .each/.map should accept an undefined/null valueThomas Tortorini2015-07-271-0/+12
| | | | | | | (cherry-picked from bf48c21d225c31f0f9b5441d95f73615ca3dcfdb) Fixes gh-2267 Closes gh-2363
* Revert "Offset: allow offset setter to throw for disconnected elements"Timmy Willison2015-06-161-1/+9
| | | | This reverts commit 0d11c1182f2012cd6eb06ce1e3fa5a495af9bee3.
* 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
* Offset: allow offset setter to throw for disconnected elementsTimmy Willison2015-05-051-9/+1
| | | | Fixes gh-2114
* Data: do not include digits when camelCasingTimmy Willison2015-05-041-1/+1
| | | | Fixes gh-1751
* Manipulation: Make an HTML interception pointRichard Gibson2015-04-301-8/+4
| | | | | | | | | | | Fixes gh-1747 Closes gh-2203 (cherry picked from commit 225bde37c997f5ddd9fe00fdfb8e9a43545cfbbc) Conflicts: src/manipulation.js test/unit/manipulation.js
* Core: add workaround for iOS JIT error in isArrayLikeTimmy Willison2015-04-291-0/+21
| | | | Fixes gh-2145
* Core: simplify "each" stylesheet iteration testOleg Gaidarenko2015-02-151-1/+1
| | | | | (cherry-picked from fcb6c4d1d6552c7e54df16a36b171858bdf0553f) Closes gh-2089
* Core: Return empty array instead of null for parseHTML("")Timo Tijhof2015-01-191-4/+9
| | | | | | | | Fixes gh-1997 Close gh-1998 Conflicts: test/unit/core.js
* Core: add support to tag-hyphenated elementsLeonardo Braga2015-01-131-0/+13
| | | | | Ref #1987 Ref 534f13025aeb59a7d5893ce62efafa0b066a4934
* Core: Remove deprecated context and selector propertiesDave Methvin2015-01-111-44/+1
| | | | | | Fixes gh-1908 Closes gh-2000 (cherry picked from commit 0ea8c32863af31fb5cfc184e8d513bbae35583e8)
* Build: fix tests in AMD modeTimmy Willison2014-12-101-13/+16
|
* Core: introduce createHTMLDocument in parseHTML; Safari 8/IE8 left outTimmy Willison2014-12-101-0/+16
| | | | Close gh-1506
* Core: Throw an error on $("#") rather than returning 0-length collectionDave Methvin2014-12-031-2/+7
| | | | | | | Closes gh-1682 Thanks @goob for the issue report! (cherry picked from commit 80022c81ce4a07a232afd3c580b0977555a2daec)
* Build: Move test to appropriate moduleOleg Gaidarenko2014-06-161-6/+0
| | | | Ref fbdbb6fd431a3f598b581079b0ca37c399d369d4
* Ajax: Always use script injection in globalEvalOleg Gaidarenko2014-06-161-0/+13
| | | | | Fixes #14757 Ref bbdfbb4ee859fe9319b348d88120ddc2c9efbd63
* Tests: Clean up isNumeric testsRichard Gibson2014-06-071-47/+42
|
* Core: Work around loss of precision from parseFloatRichard Gibson2014-06-071-1/+2
| | | | Fixes #15100
* Core: Correct the number of expected testsMichał Gołębiowski2014-05-021-1/+1
| | | | (cherry-picked from da148f158f40b474841ad7a60cc39c5868cf420c)
* Core: Remove repeated testLiang Peng2014-05-021-1/+0
| | | | | | (cherry-picked from 69d4a48ff67188214bc28ec1a4d138c5997ce171) Closes gh-1570
* Core: Blacklist the ready test on async-loaded jQuery in iOS7Michał Gołębiowski2014-03-171-4/+9
| | | | | | (cherry-picked from 551578eb3676f67cccd8a91a582c2225bc970cac) Fixes #14882
* Core: Add test for jQuery.ready.promise fallback loadMichał Gołębiowski2014-03-131-0/+5
| | | | | | Fix #13655 Close gh-1209 Ref 32b066d3805a48f8c8312562ed52a1b5910b1d85
* Core: Do not run window.onready when readyDave Methvin2014-03-041-0/+7
| | | | | Fixes #14802 (cherry picked from commit 2df1aad6a1c9376c2a477eba26ee992113ed1c23)
* Core: Arrays like [42] should fail .isNumeric()Dave Methvin2014-03-041-1/+3
| | | | | Fixes #14179 (cherry picked from commit 10efa1f5b44046aab6bcc8423322a41923faa290)
* Build: Upgrade QUnit to 1.14.0Michał Gołębiowski2014-02-051-14/+14
| | | | (cherry-picked from 95b21c6ec2790d0d051cdfe95d73148d7c385d68)
* Tests: Avoid use of QUnit.reset() in tests by splitting themcjqed2014-01-031-2/+0
| | | | | Closes gh-1470 Ref #1457
* Add es3: true to test/.jshintrc. Make tests conform to that jsHint setting.Michał Gołębiowski2013-11-151-1/+1
|
* Fix #14492: More correct jQuery.parseJSON. Close gh-1419.Richard Gibson2013-11-121-6/+69
|
* No ticket. Restore some parsing tests in core. (cherry-picked from ↵Michał Gołębiowski2013-11-101-5/+8
| | | | 650f325d8e5e9092cd8ca7c1a7ab62c4bba582cf)