aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/core.js
Commit message (Collapse)AuthorAgeFilesLines
* Core: Restore 1.x isPlainObject constructor checksRichard Gibson2016-03-141-1/+10
| | | | | | | - Guard isPlainObject against inherited scalar constructors Fixes gh-2982 Close gh-2985
* Core: restore enumeration behavior in isPlainObjectTimmy Willison2016-03-071-2/+14
| | | | | Fixes gh-2968 Close gh-2970
* Core: drop the document.implementation.createHTMLDocument usageMichał Gołębiowski2016-03-021-16/+0
| | | | | | | | | | | The document.implementation.createHTMLDocument("") method creates inert documents which is good but using it has introduced issues around anchor elements href property not resolving according to the current document. Because of that, this patch is getting backed out on 1.x/2.x branches. Refs cfe468f29c4cbe1a457d0feb17dec90dcfd7c280 Refs gh-1505 Fixes gh-2941
* Core:CSS: disable 2 tests for Opera 12Timmy Willison2016-01-061-1/+1
|
* Revert "Core: make isNumeric limited to strings and numbers"Oleg Gaidarenko2015-12-091-1/+1
| | | | This reverts commit 15ac848868e993dfe5ccd7751a94f5c8edc288bc.
* Revert "Ajax: Always use script injection in globalEval"Oleg Gaidarenko2015-11-131-15/+0
| | | | This reverts commit bbdfbb4ee859fe9319b348d88120ddc2c9efbd63.
* Revert "Core: Throw an error on $("#") rather than returning 0-length ↵Oleg Gaidarenko2015-11-131-7/+2
| | | | | | collection" This reverts commit 80022c81ce4a07a232afd3c580b0977555a2daec.
* Release: remove revert artefactsOleg Gaidarenko2015-11-131-1/+1
|
* Revert "Core: Remove deprecated context and selector properties"Oleg Gaidarenko2015-11-131-4/+5
| | | | This reverts commit 0ea8c32863af31fb5cfc184e8d513bbae35583e8.
* Revert "Core: Return empty array instead of null for parseHTML("")"Oleg Gaidarenko2015-11-131-24/+19
| | | | This reverts commit 4116914dcac32868c2c822366785e3dd2ccc69d4.
* Release: remove revert artefactsOleg Gaidarenko2015-11-131-15/+15
|
* Revert "Data: do not include digits when camelCasing"Oleg Gaidarenko2015-11-131-1/+1
| | | | This reverts commit 2862a07af640be42711f72ad4abe532349985824.
* Revert "Offset: allow offset setter to throw for disconnected elements"Oleg Gaidarenko2015-11-131-1/+9
| | | | This reverts commit 0d11c1182f2012cd6eb06ce1e3fa5a495af9bee3.
* Revert "Revert "Offset: allow offset setter to throw for disconnected elements""Oleg Gaidarenko2015-11-111-8/+0
| | | | This reverts commit 578dcee96a8d4d759b3a7e623177fa36a5133ba7.
* Selector: pass jQuery unit tests with selector-nativeTimmy Willison2015-11-111-3/+7
| | | | | | | | | - Ignore certain tests that obviously are not supported - Beefed up the sortOrder, uniqueSort, isXMLDoc, and attr functions Fixes gh-1742 Fixes gh-2048 Close gh-2703
* Core: make isNumeric limited to strings and numbersTimmy Willison2015-10-211-1/+1
| | | | Fixes gh-2662
* Core: add unit test for isPlainObject(Symbol)Liza Ramo2015-10-181-0/+9
| | | | | Fixes #2645 Closes #2661
* 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
* Tests: Add .extend test for defined accessor propertiesConnor Atherton2015-10-121-0/+23
| | | | Closes gh-2615
* Tests: more style correctionsOleg Gaidarenko2015-09-081-1/+1
| | | | | | Provocated by jscs-dev/node-jscs@2de68c0d8351103bb2a989dc942ab47a391d3546 Closes gh-2578
* 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
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-499/+505
| | | | Fixes gh-2056
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-161-530/+542
| | | | | | | | | | | | 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
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-301-3/+9
| | | | Closes gh-2507
* 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-201-1/+1
| | | | | | | | | | | 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
* 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" } 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-031-1/+1
| | | | Fixes gh-1751
* Manipulation: Make an HTML interception pointRichard Gibson2015-04-301-8/+4
| | | | | Fixes gh-1747 Closes gh-2203
* 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
| | | | Closes gh-2089
* Core: Return empty array instead of null for parseHTML("")Timo Tijhof2015-01-191-4/+9
| | | | | Fixes gh-1997 Close gh-1998
* Core: add support to tag-hyphenated elementsLeonardo Braga2015-01-131-0/+13
| | | | Ref #1987
* Core: Remove deprecated context and selector propertiesDave Methvin2015-01-111-44/+1
| | | | | Fixes gh-1908 Closes gh-2000
* Core: re-introduce createHTMLDocument in parseHTML; Safari 8 left outTimmy Willison2014-12-101-1/+17
| | | | Close gh-1505
* Core: revert addition of createHTMLDocument. Thanks, Safari 8.Timmy Willison2014-12-091-14/+0
| | | | | - Safari 8 has issues when the HTML string contains forms. Closing tags are not respected.
* Core: remove unnecessary support test for createHTMLDocumentTimmy Willison2014-12-091-14/+10
|
* Build: fix tests in AMD modeTimmy Willison2014-12-091-13/+16
|
* Core: use document.implemenation.createHTMLDocument in jQuery.parseHTMLFrederic Hemberger2014-12-091-0/+18
| | | | Close gh-1505
* 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!
* Build: Move test to appropriate moduleOleg Gaidarenko2014-06-161-6/+0
|
* Ajax: Always use script injection in globalEvalOleg Gaidarenko2014-06-161-0/+13
| | | | | Fixes #14757 Closes gh-1449
* Tests: Clean up isNumeric testsRichard Gibson2014-06-071-47/+42
| | | | (cherry picked from commit d05f4bda1cc0b1ef76dce41a53c17f75c105a377)
* Core: Work around loss of precision from parseFloatRichard Gibson2014-06-071-1/+2
| | | | | Fixes #15100 (cherry picked from commit b6e99eb43c35a3cd048c5c56d31c7e871f299a77)
* Core: Correct the number of expected testsMichał Gołębiowski2014-05-021-1/+1
|