aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Added tests for symbol-separated tag namesDavid Broder-Rodgers2016-12-291-9/+18
| | | | | Fixes gh-2006 Closes gh-3473
* Build: Use valid ecmaVersionRichard Gibson2016-12-191-1/+1
| | | | | | Fixes Node smoke tests Ref gh-3385 Closes gh-3460
* Build: ESLint setup improvementsMichał Gołębiowski2016-12-193-13/+24
| | | | | | | 1. Use the short name of the preset in the config. 2. Run ESLint first on non-minified files. 3. Explicitly specify environments in every config file (those settings cascade which means we've been assuming a Node.js environment where we shouldn't have).
* Deferred: Stop inventing jQuery.when() resolution valuesRichard Gibson2016-12-161-2/+2
| | | | Fixes gh-3442 Closes gh-3445
* Offset: report offset for 0 sized elementsJason Bedard2016-12-121-2/+30
| | | | Fixes gh-3267 Closes gh-3367
* Core: Deprecate jQuery.isArrayManoj Kumar2016-11-305-5/+11
| | | | | Fixes gh-2961 Closes gh-3278
* Tests: Add test results for Safari 10/iOS 10, remove for Safari 8Michał Gołębiowski2016-09-191-19/+2
|
* Core: rnotwhite -> rhtmlnotwhite and jQuery.trim -> stripAndCollapseTimmy Willison2016-09-153-3/+59
| | | | | | | | | | | | - Renames and changes rnotwhite to focus on HTML whitespace chars - Change internal use of jQuery.trim to more accurate strip and collapse - Adds tests to ensure HTML space characters are retained where valid - Doesn't add tests where the difference is inconsequential and existing tests are adequate. Fixes gh-3003 Fixes gh-3072 Close gh-3316
* Tests: Disable a whitespace-setting test in Edge 14Michał Gołębiowski2016-09-121-1/+10
| | | | | | | | | | | | | | Working around this problem would require us to skip setting whitespace-only values except when they're valid which would be very fragile. Another option would be to set the value and see if it succeeded and then react to that. We've tried something like that in the past to be able to overwrite !important styles (see 24e5879) but it broke the CSS cascade (see https://bugs.jquery.com/ticket/14836#comment:5) and was triggering MutationObserver callbacks too often so it was reverted in PR gh-1532. Ref gh-3204 Ref gh-1532
* Core: expose noConflict in AMD modeTimmy Willison2016-08-152-19/+14
| | | | | | | | - For compability reasons, we had already added the global in AMD mode, but without noConflict. This adds back noConflict to AMD (which fixes noConflict mode in the tests). Fixes gh-2930
* Traversing: Let .not(arraylike) pass non-element nodesDave Methvin2016-08-101-0/+14
| | | | | Fixes gh-3226 Closes gh-3261
* Ajax: Don't mangle the URL when removing the anti-cache paramDave Methvin2016-08-081-9/+19
| | | | | Fixes gh-3229 Closes gh-3253
* Build: .eslintrc -> .eslintrc.jsonOleg Gaidarenko2016-08-024-5/+5
| | | | | | | | `.eslintrc` format is deprecated - http://eslint.org/docs/user-guide/configuring#configuration-file-formats Fixes gh-3248 Closes gh-3247
* Build: Update eslint config and fix associated errorsOleg Gaidarenko2016-07-151-1/+0
|
* Build: More ESLint related changesOleg Gaidarenko2016-07-092-2/+1
|
* Core: Re-throw errors that happened in callbacks wrapped in jQuery readyMichał Gołębiowski2016-07-071-1/+51
| | | | | | | | Also, expose jQuery.readyException that allows to overwrite the default ready error handler. Fixes gh-3174 Closes gh-3210
* Build: ESLint detailsOleg Gaidarenko2016-06-1122-252/+247
| | | | | | Use eslint pragmas, fix new errors, etc Closes gh-3148
* Tests: Move promise/A+ adapters for tests to dedicated folderOleg Gaidarenko2016-06-114-8/+14
|
* Build: Switch from jscs+jshint to eslintOleg Gaidarenko2016-06-114-70/+62
|
* Deferred: Propagate progress correctly from unwrapped promisesMichał Gołębiowski2016-06-091-0/+30
| | | | | | | | | | | Progress parameters are now correctly propagated from a deferred to which another deferred resolved unwrapping it. Thanks to @gibson042 for the report and a clear description of the problem and the needed fix. Fixes gh-3062 Closes gh-3150
* Attributes: Avoid infinite recursion on non-lowercase attribute gettersMichał Gołębiowski2016-06-031-0/+19
| | | | | | | | | | | | Attribute hooks are determined for the lowercase versions of attribute names but this has not been reflected in the bool attribute hooks. The code that temporarily removed a handler to avoid an infinite loop was removing an incorrect handler causing stack overflow. Fixes gh-3133 Refs gh-2914 Refs gh-2916 Closes gh-3134
* Tests: Remove side-effects of one attributes testMichał Gołębiowski2016-06-031-1/+10
| | | | | | One test in the attribute module was overwriting jQuery.expr.attrHandle.checked and wasn't restoring the original state after it finished. It started causing issues for another checked-related test.
* 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