aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Strip untypical callback parameter characters from PHP files2.2-stableMichał Gołębiowski-Owczarek2021-04-292-7/+12
| | | | | | | | | | | | | | | | | | 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: test element position outside viewOleg Gaidarenko2016-02-111-0/+12
| | | | | | | Ref ee0f61647cb93d587764280b1278807d9ff86fc9 Ref gh-2828 Ref gh-2836 Fixes gh-2909
* Effects: Remove tests for jQuery.Animation & jQuery.TweenMichał Gołębiowski2015-11-171-3/+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
* Revert "Manipulation: execute scripts from iframe in the iframe's context"Oleg Gaidarenko2015-11-131-18/+0
| | | | This reverts commit 22449eb968622c2e14d6c8d8de2cf1e1ba4adccd.
* Revert "Ajax: Always use script injection in globalEval"Oleg Gaidarenko2015-11-132-1/+1
| | | | This reverts commit bbdfbb4ee859fe9319b348d88120ddc2c9efbd63.
* Release: remove revert artefactsOleg Gaidarenko2015-11-132-1/+3
|
* Revert "CSS: Ignore the CSS cascade in show()/hide()/etc."Oleg Gaidarenko2015-11-131-2/+10
| | | | This reverts commit 86419b10bfa5e3b71a7d416288ab806d47a31d1f.
* Manipulation: execute scripts from iframe in the iframe's contextTimmy Willison2015-11-091-0/+18
| | | | | Fixes gh-1757 Close gh-2696
* Event: Make event aliases optional in unit testsDave Methvin2015-11-061-1/+1
|
* Core: use interactive to evaluate dom ready, barring IE9-10Timmy Willison2015-10-291-0/+23
| | | | Fixes gh-2100
* CSS: Correct misrepresentation of "auto" horizontal margins as 0Richard Gibson2015-10-181-1/+2
| | | | | | | | | | | | Fixes gh-2237 Closes gh-2276 (cherry picked from commit 214e1634ab9b1d13d53647dd5de3bdf7a091d49c) Conflicts: src/css.js src/css/support.js test/unit/support.js
* Tests: Change quotes according to style guidelinesJulian Alexander Murillo2015-10-187-16/+16
| | | | Close gh-2339
* Tests: Keep test iframes around for assertionsRichard Gibson2015-10-171-1/+1
| | | | | | Ref 44f8239d3f9d09d81e2885e9ae7e044277b67341 Ref gh-2644 Ref gh-2390
* Ajax: improve content-type detectionOleg Gaidarenko2015-10-121-0/+5
| | | | | Fixes gh-2584 Closes gh-2643
* Event: fix incorrect testOleg Gaidarenko2015-10-121-1/+1
| | | | | Which was revealed by 03eaadb131df925d1072afd2496ee3b41d2f1fc6 commit, also do not try to fix typos in data/jquery version
* Tests:Docs: Fix various typosGary Ye2015-10-122-3/+3
| | | | | | | | | | | | * Changes "baar" to "bar" when used with "foo" in readme and comments of js files * mousenter -> mouseenter Thanks @garysye, @KimTaehee Closes gh-2613 Closes gh-2601
* Event: Move .bind() and .delegate() to deprecatedDave Methvin2015-10-121-0/+1
| | | | | Fixes gh-2288 Closes gh-2624
* Tests: Use QUnit URL parameter parsingRichard Gibson2015-10-081-6/+3
|
* Tests: Add dummy modules when running basic testsRichard Gibson2015-10-081-13/+16
| | | | | | | Without this, other modules don't appear in the QUnit module picker. Ref 855b0c8c288533948b257925a8906f7da3449eed Closes gh-2582
* Tests: Really fix tests in IE 8 this timeMichał Gołębiowski2015-09-081-1/+1
| | | | | | | | | IE 8 doesn't have indexOf on arrays. Also, one toLowerCase() was missing. Oops. This commit is not necessary on master but has been brought here to keep tests similar in both branches. (cherry-picked from 1b48eef4caf7fa3aba0ee1a3473e0d46487d20ea)
* Tests: Don't load non-basic tests when basic module is selectedMichał Gołębiowski2015-09-081-29/+37
| | | | | | | | When loading basic tests don't load any others to not overload Android 2.3. The drawback is that most tests are not selectable in the module dropdown when the basic module is seelcted. Refs 2c7e9c934971500a746d012c529e13ec0b560a83
* Tests: Add simple tests for Android 2.3Michał Gołębiowski2015-09-081-0/+6
| | | | | | Fixes gh-2505 Closes gh-2509 Refs gh-2483
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-082-11/+11
| | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb
* Tests: lower the PHP sleep time in unreleasedXHR.htmlMichał Gołębiowski2015-09-081-1/+1
| | | | | | | | | | The AJAX test performed in unreleasedXHR.html was scheduling PHP processes sleeping for 10 minutes. When a lot of commits are tested in short intervals this was causing build failures due to the drained php-fpm pool. The 10 seconds sleep time should be enough for this test. Refs 62acda819f9b6fba9263d0b613e15285807b23a7
* Build: correct style tests files which could be automatically correctedOleg Gaidarenko2015-09-071-2/+2
|
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-074-819/+1113
| | | | Fixes gh-2056
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-161-20/+29
| | | | | | | | | | | | 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
* Docs: Fix various spelling mistakesBruno Pérel2015-07-301-1/+1
| | | | Closes gh-2487
* Effects: Adding unit tests for jQuery.AnimationCorey Frang2015-06-261-0/+1
| | | | Closes gh-2326
* Effects: Add tests for jQuery.TweenCorey Frang2015-06-261-1/+2
|
* Offset: add tests for hidden elements + scrollTimmy Willison2015-06-161-0/+2
| | | | | - Also add comments to hidden/disconnected tests noting this is to ensure consistency between branches
* Tests: Remove test/data/ua.txtMichał Gołębiowski2015-06-161-272/+0
| | | | | | | The file was used by $.browser tests but $.browser now doesn't exists in Core and this file hasn't been updated for a few years. Fixes gh-2398
* CSS: Ignore the CSS cascade in show()/hide()/etc.Richard Gibson2015-05-111-10/+2
| | | | | | Fixes gh-1767 Fixes gh-2071 Closes gh-2180
* Tests: Increase QUnit timeoutMichał Gołębiowski2015-04-271-1/+1
| | | | | | | | | | | | Android 2.3 is very slow & times out a lot in async tests, they have to be restarted multiple times to settle. Long test execution is not a huge problem as Android 2.3 is tested only periodically during the night, unstable tests are a bigger problem. This might mitigate that. In a regular scenario almost all tests should pass so increasing the timeout for all browsers shouldn't have a huge impact on overall test time. Closes gh-2232
* Ajax: make jQuery#load "type" field explicitOleg Gaidarenko2015-02-152-0/+1
| | | | | | | | * Move "evalScript.php" file to appropriate place * Make jQuery#load "type" field explicit and add test for it Ref trac-11264
* Core: re-introduce createHTMLDocument in parseHTML; Safari 8 left outTimmy Willison2014-12-101-1/+1
| | | | Close gh-1505
* Build: fix tests in AMD modeTimmy Willison2014-12-091-1/+3
|
* Tests: Minor updates for QUnit 1.16 compatibilityRichard Gibson2014-12-051-4/+3
| | | | | | More to come later. (cherry picked from commit f6f8848fbe477fa93fd27ac7f10885dd6e97f633)
* Misc: Remove leftover -moz-box-sizing in testsMichał Gołębiowski2014-11-031-1/+0
|
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-172-9/+24
|
* Ajax: Always use script injection in globalEvalOleg Gaidarenko2014-06-162-1/+1
| | | | | Fixes #14757 Closes gh-1449
* Data: Work around IE11 bug with onpageshow attributeDave Methvin2014-04-301-0/+16
| | | | Fixes #14894
* Effects: Respect display value on inline elementsOleg Gaidarenko2014-04-301-0/+3
| | | | | | | | Take "olddisplay" value into the account Fixes #14824 Closes gh-1566 Ref 73fe17299a840a8a7f3ffffcac15e32a88bd3d66
* Build: Fix code style issueOleg Gaidarenko2014-04-151-1/+0
| | | | Remove needless empty line character
* Tests: Fix failing ajax tests in oldIEOleg Gaidarenko2014-04-153-4/+4
| | | | | | (cherry-picked from the 71780965072b1271018f2cf360e82fbe31f4987e) Picked up so tests from the 1.x-master would be more similar to this branch
* Tests: Bring back some of the clean-up logicOleg Gaidarenko2014-04-151-0/+11
|
* Tests: Do global clean up in teardown functionOleg Gaidarenko2014-04-151-0/+2
|
* Build: Use jscs to check test helpersOleg Gaidarenko2014-04-152-2/+0
| | | | Also fix issues found by jscs
* Tests: More improvments for testrunnerOleg Gaidarenko2014-04-152-59/+36
| | | | Conform to style guide and simplify it
* Tests: Remove Sizzle intergration testsOleg Gaidarenko2014-04-152-174/+27
| | | | Fixes #14818