aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Strip untypical callback parameter characters from PHP files2.2-stableMichał Gołębiowski-Owczarek2021-04-294-16/+28
| | | | | | | | | | | | | | | | | | Only allow alphanumeric characters & underscores for callback parameters. This is only test code so we're not fixing any security issue but it happens often enough that the whole jQuery repository directory structure is deployed onto the server with PHP enabled that it makes is easy to introduce security issues if this cleanup is not done. This is a 1.x/2.x version of PR gh-4871. The change doesn't require a release; it's meant at installations testing the latest state of `1.12-stable` & `2.2-stable` branches. This change also fixes testing on Travis & on Chrome/Firefox. Closes gh-4875 Ref gh-4764 Ref gh-4871
* Tests: adjust to older version of qunitOleg Gaidarenko2016-05-201-1/+1
| | | | Ref 66b840618da4d8e7ac8a83b856df6dd07892947f
* Event: don't execute native stop(Immediate)Propagation from simulationOleg Gaidarenko2016-05-191-6/+90
| | | | | | | | In Firefox, called `stop(Immediate)Propagation` methods, in capturing phase prevents receiving focus Cherry-picked from 94efb7992911b6698f900f5b816d043b468bc277 Fixes gh-3111
* 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. (cherry-picked from 7f2ebd2c4dea186d7d981b939e6e2983a9d7f9c1)
* 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. (cherry-picked from 234a2d828021b6eb36d83d83cc30c5a09045e781)
* Ajax: execute jQuery#load callback with correct contextOleg Gaidarenko2016-04-041-0/+19
| | | | | | | Thanks @blq (Fredrik Blomqvist) Fixes gh-3035 Close gh-3039
* 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
* Attributes: fix setting selected on an option in IE<=11Timmy Willison2016-03-071-0/+31
| | | | | Fixes gh-2732 Close gh-2840
* 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-022-31/+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
* Build: use hard-coded path to sizzle in selector-sizzleTimmy Willison2016-02-221-4/+1
| | | | Fixes gh-2898
* Tests: Set Edge's expected support for clearCloneStyle to trueZack Hall2016-02-131-2/+3
| | | | | | | | | This is done for a version 13 or newer as the bug still exists in Edge 12. (cherry-picked from 28f0329a02c453ae26b6bc028b6aaeec578bef6f) Closes gh-2857
* 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 ee0f61647cb93d587764280b1278807d9ff86fc9 Ref gh-2828 Ref gh-2836 Fixes gh-2909
* 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
* CSS: Add test for gh-2867Timmy Willison2016-01-271-0/+10
|
* Event: Fix chaining .on() with null handlersDevin Wilson2016-01-151-1/+8
| | | | | Fixes gh-2812 Close gh-2825
* Event: compat -> 1.x in commentsMichał Gołębiowski2016-01-111-3/+3
| | | | Ref 3c56eac50725c2548c3abc0159841c3354936ac4
* Tests: hotfix for c1511c673148208ab17cafa0faf37bce3b4ae392Michał Gołębiowski2016-01-071-1/+1
| | | | Refs c1511c673148208ab17cafa0faf37bce3b4ae392
* Tests: Accept Android 2.3 doesn't fire window.onerror for remote scriptsMichał Gołębiowski2016-01-071-1/+4
| | | | A followup to 1a9c9b079177a1d6420efb876e8e66bf1fb4cbe2
* Tests: Disable/relax a few tests failing in Android 2.3Michał Gołębiowski2016-01-072-5/+27
| | | | | | (cherry-picked from 704de8180f220afa1efd7bd65e9aeb9007a4f238) Fixes gh-1785
* Data: find hyphenated data with camelCased keyTimmy Willison2016-01-071-0/+9
| | | | Fixes gh-2779
* CSS: Add animation-iteration-count to cssNumber, fix testsJun Sun2016-01-071-4/+13
| | | | | Fixes gh-2792 Closes gh-2793
* Tests: fix lint in restored testTimmy Willison2016-01-071-2/+2
|
* Revert "Event: remove guard for falsy handler argument of jQuery#on method"Timmy Willison2016-01-071-0/+15
| | | | This reverts commit fac67a984268ef8f7de952666fda6d8d32754f5f.
* Revert "Attributes: Remove undocumented .toggleClass( boolean ) signature"Timmy Willison2016-01-071-1/+24
| | | | This reverts commit 53f798cf4d783bb813b4d1ba97411bc752b275f3.
* Core:CSS: disable 2 tests for Opera 12Timmy Willison2016-01-062-3/+6
|
* Revert "Core: make isNumeric limited to strings and numbers"Oleg Gaidarenko2015-12-091-1/+1
| | | | This reverts commit 15ac848868e993dfe5ccd7751a94f5c8edc288bc.
* Tests: Fix support tests results for Android 2.3Michał Gołębiowski2015-11-171-1/+1
|
* Effects: Remove tests for jQuery.Animation & jQuery.TweenMichał Gołębiowski2015-11-173-585/+1
| | | | | | | | | | We'll officially support those APIs in jQuery 3.0 but we don't want to have to support them in 1.12/2.2. The code is left untouched, only tests (& official support) are removed. Refs b3b2d6c3dd51fbdc69e1942e9af75cc99a1834c2 Refs cdaed15c7ea1bbfdde5a5bea691c583ce7961526
* Tests: Fix Safari 5.1 support tests resultsMichał Gołębiowski2015-11-161-2/+2
|
* Tests: Blacklist the iframe scrollTop test in Opera 12.1xMichał Gołębiowski2015-11-161-1/+3
|
* Tests: Fix support tests resultsMichał Gołębiowski2015-11-161-4/+4
|
* Revert "Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 support"Michał Gołębiowski2015-11-161-13/+78
| | | | This reverts commit ce3b4a62427c5a3a6669dcb8bf8e27a6287990d5.
* Misc: Fix the tests, revert some unneeded/broken revertsMichał Gołębiowski2015-11-161-2/+2
| | | | Refs 65d71843b7c37dbdba2cfcb1bc7055cb522c5af6
* Revert "Misc: Drop support for older browsers; update support comments"Michał Gołębiowski2015-11-164-11/+53
| | | | This reverts commit 740e190223d19a114d5373758127285d14d6b71e.
* Release: fix revert artefactsOleg Gaidarenko2015-11-132-3/+3
|
* Effects: manually revert two `requestAnimationFrame` commitsOleg Gaidarenko2015-11-131-33/+0
| | | | 72119e0023dcc0d9807caf6d988598b74abdc937 and bbdfbb4ee859fe9319b348d88120ddc2c9efbd63
* Revert "Manipulation: execute scripts from iframe in the iframe's context"Oleg Gaidarenko2015-11-132-29/+0
| | | | This reverts commit 22449eb968622c2e14d6c8d8de2cf1e1ba4adccd.
* Revert "Ajax: Always use script injection in globalEval"Oleg Gaidarenko2015-11-135-54/+30
| | | | This reverts commit bbdfbb4ee859fe9319b348d88120ddc2c9efbd63.
* Offset: do not run tests which break without back-incompat changeOleg Gaidarenko2015-11-131-3/+3
|
* Release: fix revert artefactsOleg Gaidarenko2015-11-131-3/+3
|
* Revert "Deprecated: Drop size and andSelf methods"Oleg Gaidarenko2015-11-131-0/+6
| | | | This reverts commit f110360f65a268e959ae892ca36e85da3d91e606.
* Revert "Manipulation: support data-URI scripts insertion"Oleg Gaidarenko2015-11-131-9/+0
| | | | This reverts commit 15f4dec7894f1e00adbfb9bce4f870441a527bd6.
* Revert "Core: Throw an error on $("#") rather than returning 0-length ↵Oleg Gaidarenko2015-11-131-7/+2
| | | | | | collection" This reverts commit 80022c81ce4a07a232afd3c580b0977555a2daec.
* Revert "Manipulation: improve test for data-URI"Oleg Gaidarenko2015-11-131-23/+6
| | | | This reverts commit dd596ccf729b2f39d44b73bc54b53bd41c880146.
* Revert "Manipulation: make wrapAll funarg execute only once"Oleg Gaidarenko2015-11-131-51/+0
| | | | This reverts commit 359b03cac74d7336676a6992f14b7ccab9b28659.
* Release: remove revert artefactsOleg Gaidarenko2015-11-132-2/+2
|
* Revert "Callbacks: Don't abort execution on .lock()"Oleg Gaidarenko2015-11-131-37/+27
| | | | This reverts commit 32bf9178cace8c52a31c468a28adde9a4fdc4671.