aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Event: Allow constructing a jQuery.Event without a targetDave Methvin2016-06-021-0/+9
| | | | | Fixes gh-3139 Closes gh-3140
* Events: don't execute native stop(Immediate)Propagation from simulationOleg Gaidarenko2016-05-191-7/+90
| | | | | | In Firefox, called `stop(Immediate)Propagation` methods, in capturing phase prevents receiving focus Fixes gh-3111
* CSS: Remove units from a 0 width/height elementChristophe Tafani-Dereeper2016-05-161-2/+2
| | | | Close gh-3122
* Deferred: Give better stack diagnostics on exceptionsDave Methvin2016-05-111-9/+16
| | | | | | | | Ref gh-2736 The exception stack has the name of the immediately outer function where the exception occurred, which can be very handy for tracing errors. Since we already have the exception object we might as well use it.
* Deferred: Make jQuery.when synchronous when possibleRichard Gibson2016-05-091-6/+40
| | | | | | Closes gh-3102 Fixes gh-3100 Closes gh-3105
* Event: Cover invalid delegation selector edge casesRichard Gibson2016-05-061-8/+10
| | | | Ref 7fd36ea145a11d5896de6d064b546b1c57a83f34
* Event: Evaluate delegate selectors at add timeFelipe Sateler2016-05-061-0/+13
| | | | | | | This ensures that invalid selectors throw right away. Fixes gh-3071 Closes gh-3097
* Event: Remove fixHooks, propHooks; switch to ES5 getter with addPropJason Bedard2016-05-041-15/+7
| | | | | | | | | | | Fixes gh-3103 Fixes gh-1746 Closes gh-2860 - Removes the copy loop in jQuery.event.fix - Avoids accessing properties such as client/offset/page/screen X/Y which may cause style recalc or layouts - Simplifies adding property hooks to event object
* Tests: Make the regex catching Safari 9.0/9.1 more resilientMichał Gołębiowski2016-05-021-1/+1
| | | | The word boundary character will prevent iOS from being a false positive.
* Tests: take Safari 9.1 into accountMichał Gołębiowski2016-05-021-1/+1
| | | | | Safari 9.1 shares its support test results with Safari 9.0 but it's been excluded from the regex catching Safari 9.0. This has been fixed.
* Deferred: Separate the two paths in jQuery.whenRichard Gibson2016-05-024-179/+275
| | | | | | | | Single- and no-argument calls act like Promise.resolve. Multi-argument calls act like Promise.all. Fixes gh-3029 Closes gh-3059
* Revert "Effects: Remove additional parameters of easings"Oleg Gaidarenko2016-04-271-2/+6
| | | | | This reverts commit b7a7dea95f84d6d8e5a8186d4fb09a762baf79bb. Fixes #3064
* Deferred: Provide explicit undefined context for jQuery.when raw castsRichard Gibson2016-04-271-1/+4
| | | | | Fixes gh-3082 Closes gh-3084
* Ajax: Ensure ajaxSettings.traditional is still honoredDave Methvin2016-04-272-2/+73
| | | | | | | | Fixes gh-3023 Closes gh-3081 Since .param() no longer looks at this setting we need unit tests to ensure it is still honored by $.ajax().
* Serialize: .param - don't use ajaxSettings.traditionalAlexander K2016-04-271-28/+12
| | | | | Ref gh-3023 Closes gh-3030
* Tests: Weaken sync-assumption from jQuery.when to jQuery.ready.thenRichard Gibson2016-04-261-11/+35
|
* Deferred: Remove default callback contextRichard Gibson2016-04-231-26/+42
| | | | | | | Employs strict mode to simplify Deferred callback context handling. Fixes gh-3060 Closes gh-3061
* Tests: Refactor testIframe() to make it DRYer and more consistentDave Methvin2016-04-1141-99/+123
| | | | | Ref gh-3040 Closes gh-3049
* Tests: Make iframe tests wait after checking isReadyDave Methvin2016-04-1114-52/+35
| | | | Ref gh-3040
* CSS: Toggle detached elements as visible unless they have display: noneRichard Gibson2016-04-112-4/+41
| | | | | Fixes gh-2863 Closes gh-3037
* Core: add test for `jQuery.isPlainObject(localStorage)`Oleg Gaidarenko2016-04-081-0/+6
| | | | Ref gh-3045
* Serialize: Treat literal and function-returned null/undefined the sameJoe Trumbull2016-04-051-1/+4
| | | | | | Fixes gh-3005 Closes gh-3007
* Ajax: execute jQuery#load callback with correct contextOleg Gaidarenko2016-04-041-0/+19
| | | | | | | Thanks @blq (Fredrik Blomqvist) Fixes gh-3035 Close gh-3039
* Tests: do not run IE9 effect tests if inside testswarmOleg Gaidarenko2016-04-042-24/+34
| | | | | | | | That test doesn't work properly in such environment Ref e04e246552c27e872bbf4ae00b55def02b197189 Fixes gh-2888 Closes gh-3034
* Core: Simplify isPlainObjectRichard Gibson2016-04-041-5/+6
| | | | | Fixes gh-2986 Close gh-2998
* Core: set the base href of the context in parseHTMLTimmy Willison2016-04-041-0/+9
| | | | | Fixes gh-2965 Close gh-3022
* Core: implement ready without DeferredTimmy Willison2016-04-041-11/+67
| | | | | | | | | - Make jQuery.ready promise-compatible - Gives up sync guarantee for post-ready callbacks Fixes gh-1778 Fixes gh-1823 Close gh-2891
* Docs: Update support comments to follow the new syntaxMichał Gołębiowski2016-03-305-8/+8
| | | | | The changes follow the spec proposed in: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
* Docs:Tests: Remove legacy code & add support comments where neededMichał Gołębiowski2016-03-305-55/+37
| | | | | | | | This commits backports some changes done in the patch to the then-existing compat branch that removed support for old browsers and added some support comments. Refs 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
* Attributes: strip/collapse whitespace for set values on selectsTimmy Willison2016-03-171-6/+76
| | | | | Fixes gh-2978 Close gh-3002
* Core: Restore 1.x isPlainObject constructor checksRichard Gibson2016-03-141-1/+10
| | | | | | | - Guard isPlainObject against inherited scalar constructors Fixes gh-2982 Close gh-2985
* Tests: add additional test for jQuery.isPlainObjectOleg Gaidarenko2016-03-121-1/+11
| | | | | | Ref 00575d4d8c7421c5119f181009374ff2e7736127 Also see discussion in https://github.com/jquery/jquery/pull/2970#discussion_r54970557
* Tests: Restrict "p > * > *" selection in selector.js to #qunit-fixtureAlexander Lisianoi2016-03-092-9/+33
| | | | | | | | Add `match` and `QUnit.assert.selectInFixture` functions that mimic `QUnit.assert.t`. Ref gh-2880 Closes gh-2973
* Docs:Tests: Remove obsolete code from tests, update support commentsMichał Gołębiowski2016-03-088-126/+44
| | | | | | | | | | Support comments that were lacking the final IE/Edge version that exhibits the bug were checked & updated. Links to the Chromium bug tracker were updated. Code in tests related to unsupported browsers (like Android 2.3 in non-basic tests) has been removed. Fixes gh-2868 Closes gh-2949
* Core: restore enumeration behavior in isPlainObjectTimmy Willison2016-03-071-2/+14
| | | | | Fixes gh-2968 Close gh-2970
* Core: Deprecate jQuery.parseJSONMichał Gołębiowski2016-03-025-95/+76
| | | | | Fixes gh-2800 Closes gh-2948
* Dimensions: Add tests for negative borders & paddingsVitaliy Terziev2016-02-241-6/+32
| | | | Closes gh-2869
* Tests: limit selection to #qunit-fixture in attributes.jsAlexander Lisianoi2016-02-221-5/+6
| | | | | Ref gh-2880 Close gh-2921
* Tests: fix typosWilliam Robinet2016-02-172-3/+3
| | | | Closes gh-2927
* Tests: use `jQuery` variable instead of `$`Oleg Gaidarenko2016-02-131-1/+1
| | | | | | For some reason that works with `amd` but not with builded version Fixes gh-2909
* Tests: test element position outside viewOleg Gaidarenko2016-02-112-0/+42
| | | | | | | Ref 49833f7795d665ff1d543c4f71f29fca95b567e9 Ref gh-2828 Ref gh-2836 Fixes gh-2909
* Build: use hard-coded path to sizzle in selector-sizzleTimmy Willison2016-02-101-4/+1
| | | | Fixes gh-2898
* Tests: account for new offset testsOleg Gaidarenko2016-02-091-1/+1
| | | | Ref 49833f7795d665ff1d543c4f71f29fca95b567e9
* Revert "Offset: account for scroll when calculating position"Oleg Gaidarenko2016-02-091-12/+2
| | | | | | | | | | | | This reverts commit 2d715940b9b6fdeed005cd006c8bf63951cf7fb2. This commit provoked new issues: gh-2836, gh-2828. At the meeting, we decided to revert offending commit (in all three branches - 2.2-stable, 1.12-stable and master) and tackle this issue in 3.x. Fixes gh-2828
* Tests: fix another traverse testOleg Gaidarenko2016-01-311-1/+5
| | | | | | | Tricky test - if isolated, was executed fine, but falling if runned with other tests Ref b97c8d30c5aedace75dc17056d429f28e41b20c1
* Tests:Build: update qunit and fix incorrect testOleg Gaidarenko2016-01-291-2/+25
| | | | | | * Update QUnit to the latest version (1.20.0) * Corrected test was dependent on QUnit UI, which is always a bad idea
* Selector: add jQuery.escapeSelectorTimmy Willison2016-01-281-0/+6
| | | | | Fixes gh-1761 Close gh-2878
* CSS: Add test for gh-2867Timmy Willison2016-01-271-0/+10
|
* Build: Update npm deps, fix Sinon npmcopy configMichał Gołębiowski2016-01-271-1/+1
| | | | | | | | | | | | All deps were updated except: * jsdom - tests using a Symbol polyfill are hacky and break with newer jsdom; we need to re-do them properly first * qunitjs - versions 1.19.0 & 1.20.0 introduce race conditions to the tests, making the fail randomly Those two packages will be updated once issues related to them get resolved. Fixes gh-2877
* Build: enable JSCS for test/unit/support.js, fix styling issuesMichał Gołębiowski2016-01-271-3/+5
|