aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Tests: Account for array-like objects in jQuery.grepAurelio De Rosa2015-10-131-6/+73
| | | | | Cherry-picked from 67b76f5986a78d868553b9aec0d0192f5259a078 Closes gh-2605
* Tests: fix code style issuesOleg Gaidarenko2015-10-131-1/+1
| | | | | Cherry-picked from 625bd303d99408bca86b7002cd42b8716e2b267e Follow-up for c7cf28681eeb2a7f6d71e5e17b293c252900bda7
* Core: Support Symbol wrapper objects in jQuery.typeChristian Grete2015-10-132-1/+14
| | | | | | | | | | 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. Cherry-picked from 8a734344f2566dab5b8d34ecd79ae81ebd8843c5 Closes gh-2627
* Ajax: don't expect cross-origin tests run in envs which not support itOleg Gaidarenko2015-10-131-31/+20
| | | | | Cherry-picked from 39cdb8c9aa0fde68f733553ba050a2ba9d86474c Follow-up to b078a62013782c7424a4a61a240c23c4c0b42614
* Ajax: improve content-type detectionOleg Gaidarenko2015-10-124-5/+112
| | | | | | Cherry-picked from 239169bb2ede6ea6287d82d1d13b0c354f451749 Fixes gh-2584 Closes gh-2643
* Ajax: correct indentationOleg Gaidarenko2015-10-121-3/+3
| | | | | | As noted by @arthurvr Follow-up for f60729f3903d17917dc351f3ac87794de379b0cc
* Event: fix incorrect testOleg Gaidarenko2015-10-122-8/+2
| | | | | | | Which was revealed by 03eaadb131df925d1072afd2496ee3b41d2f1fc6 commit, also do not try to fix typos in data/jquery version Cherry-picked from d92310050ca7bf0b33825d64e052f9a8809c3e9e
* Build: Fixed issue with base path that contain 'var'Martin Naumann2015-10-121-1/+1
| | | | | | | | Remove the cwd from the paths, so the regex doesn't kick in on "var" Cherry-picked from 0c34e688439713725d4215c63bc4cf876d8d0423 Fixes gh-2450 Closes gh-2641
* Tests:Docs: Fix various typosGary Ye2015-10-126-7/+7
| | | | | | | | | | | | | * Changes "baar" to "bar" when used with "foo" in readme and comments of js files * mousenter -> mouseenter Thanks @garysye, @KimTaehee Cherry-picked from 03eaadb131df925d1072afd2496ee3b41d2f1fc6 Closes gh-2613 Closes gh-2601
* Event: Move .bind() and .delegate() to deprecatedDave Methvin2015-10-124-18/+63
| | | | | | Cherry-picked from ee0854f85bd686b55757e8854a10480f23c928da Fixes gh-2288 Closes gh-2624
* Tests: Add .extend test for defined accessor propertiesOleg Gaidarenko2015-10-121-0/+30
| | | | | Ref 9748e436ad80d6a2e1661ba4cf8d7391ed87c3ad Closes gh-2615
* Ajax: Mitigate possible XSS vulnerabilityOleg Gaidarenko2015-10-122-0/+55
| | | | | | | | Proposed by @jaubourg Cherry-picked from b078a62013782c7424a4a61a240c23c4c0b42614 Fixes gh-2432 Closes gh-2588
* Docs: "npm run build" was missing from the contributing guidesRichard Kraaijenhagen2015-10-121-0/+6
| | | | Close gh-2537
* Tests: Use QUnit URL parameter parsingRichard Gibson2015-10-081-6/+3
| | | | (cherry picked from commit f23a64d745759d358d423ba0557e8f74d65f76cc)
* 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 (cherry picked from commit f9af896bb8f4cb37b22d508443174c8edf40fc54)
* Manipulation: Don't provide the parser with sloppy table markupAnthony Ryan2015-09-141-13/+5
| | | | | | | | | | | | | | | | | | | While we can reply on parsers that were designed to cope with malformed syntax to understand what we mean, we shouldn't intentionally provide bad markup, not all parsers will accept it. "Be conservative in what you do, be liberal in what you accept from others." (cherry-picked from 99e8ff1baa7ae341e94bb89c3e84570c7c3ad9ea) Reverts 0ea342a6a6dce793c1b0f14f051c2573f40f4e44 Refs gh-2031 Refs gh-2002 Fixes gh-2493 Closes gh-2499
* Event: Use form prop so that a propHook can be usedAdrian Olek2015-09-141-1/+6
| | | | | Fixes gh-2332 Closes gh-2575
* Tests: Account for Edge in originalEvent UA-sniffsMichał Gołębiowski2015-09-141-6/+4
| | | | | | | | | All other cases where Edge user agent needed to be taken into account in tests have already been resolved. (cherry-picked from 64fd7ef3d081b5c65d541237f73a4d89f0f0ad7b) Fixes gh-2357
* Tests: Fix the expando-removal test failure in IE 8Michał Gołębiowski2015-09-141-1/+4
| | | | | | | IE 8 gets the expando removed via removeAttribute so the second assertion won't be reached. The expected assertion count had to be updated. Fixes gh-2596
* Build: Remove a double empty line at the end of .travis.ymlMichał Gołębiowski2015-09-111-1/+0
| | | | | | | | The file already had an empty line at the end, I just can't see. Refs 06320c88af5be9cd937917282deb6eb4c4ad0443 (cherry-picked from cea94a83c7a5c5df6da578d417e5fb26152b19e1)
* Build: Use double quotes in .travis.ymlMichał Gołębiowski2015-09-111-3/+4
| | | | | | | .travis.yml used single quotes which is inconsistent with what we use in most other files. Also, the file was missing an empty line at the end. (cherry-picked from 06320c88af5be9cd937917282deb6eb4c4ad0443)
* Build: Drop io.js testing, test on latest Node.jsMichał Gołębiowski2015-09-081-1/+1
| | | | | | | | Node.js & io.js have merged, there will be no more major io.js releases. Also, as of today io.js is officially unsupported (even if it still gets some updates) while Node.js 4.0.0 (just released!) will be supported until 2018. (cherry-picked from 250a1990baa571de60325ab2c52eabb399c4cf9e)
* Tests: Provide equal() arguments in correct order (actual, expected)Richard Gibson2015-09-081-1/+1
| | | | | | | | | | Ref 224271982eb9cd351d7db1b38c740b4e927e6f97 Ref f5bf9bc48897e3b8f050d87d02252c8be456044a (cherry picked from commit d3d8d9751f3d14a545b26cf820dc1f51896a7b50) Conflicts: test/unit/data.js
* Data: test that delete is not used on DOM nodesJason Bedard2015-09-081-0/+24
| | | | | | (test cherry-picked from 0e982433eb94391b3e9f6838d9b8fbf9bb31abf9) Closes gh-2479
* Manipulation: Switch rnoInnerhtml to a version more performant in IESean Henderson2015-09-081-1/+5
| | | | | | | | | | | | | | IE versions greater than 9 do not handle the old regular expression well with large html content. This is due to the use of a non-capturing group after a very common html character (<). Test suite: http://jsfiddle.net/Lwa0t5rp/3/ Microsoft bug: https://connect.microsoft.com/IE/feedback/details/1736512/ (cherry-picked from d4def22e4cd1c2eb2571f449e226b38384fb6d81) Fixes gh-2563 Closes gh-2574
* Tests: Really fix tests in IE 8 this timeMichał Gołębiowski2015-09-082-2/+2
| | | | IE 8 doesn't have indexOf on arrays. Also, one toLowerCase() was missing. Oops.
* Tests: Make basic tests work in IE 8Michał Gołębiowski2015-09-081-5/+43
| | | | | | | | | IE 8 prints tag names in upper case which was breaking some tests. This commit is not necessary on master but has been brought here to keep tests similar in both branches. (cherry-picked from 5914b103627e3773418ad1fd8c3b034bf3748d51)
* 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. (cherry-picked from 855b0c8c288533948b257925a8906f7da3449eed) Refs 2c7e9c934971500a746d012c529e13ec0b560a83
* Tests: Backport basic tests from masterMichał Gołębiowski2015-09-084-4/+286
| | | | | | | | | | | | | Commit 2c7e9c9 added the basic test suite; these are the only tests that are now run on Android 2.3 on master. On compat we're keeping full Android 2.3 support for now but the tests and the testswarm basic run mode have been cherry-picked anyway to reduce the divergence between branches. (cherry-picked from 2c7e9c934971500a746d012c529e13ec0b560a83) Fixes gh-2505 Closes gh-2509 Refs gh-2483
* Build: Don't install jsdom 3 on Node.js 0.10 & 0.12 by defaultMichał Gołębiowski2015-09-085-35/+41
| | | | | | | | | | | | | | | | | | | | | | | jsdom 3 requires Python & Visual Studio on Windows which is a significant barrier to contributors. Newer jsdom versions don't require pre-compiling but work only on io.js. This commit installs the new jsdom everywhere (it does install in old Node.js, it just won't work) and executes Node-related tests only on newer Nodes or if a working jsdom version is installed. The latter can be achieved by running the `old_jsdom` task. Node.js is merging with io.js soon so this will become a smaller problem over time. One drawback is our Jenkins setup runs on Node 0.10 so it won't be running Node tests anymore. We have Travis set up on io.js, though so all PRs have those tests run. When the new LTS Node.js arrives (as it soon merges with io.js) we should update our Jenkins infrastructure so that it runs on this new version. (cherry-picked from dbb2daa8c3a458e3525d310440f4365548edc138) Fixes gh-2519 Closes gh-2526
* Traversing: Don't expose jQuery.dir & jQuery.siblingMichał Gołębiowski2015-09-083-38/+46
| | | | | | | | | | jQuery.dir & jQuery.sibling are undocumented internal APIs; they shouldn't be exposed. (cherry-picked from f9ef427d355a8a2b531aed5d112dfa4f9692105c) Fixes gh-2512 Closes gh-2525
* Tests: more style correctionsOleg Gaidarenko2015-09-086-19/+18
| | | | | | Provocated by jscs-dev/node-jscs@2de68c0 Ref c161eecce09fc66ce252d4adf64b565f726bb6d2
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-0816-271/+293
| | | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb Ref c8d15a2f9f108e90d3651c31e4abf45415a30fde
* Effects: Finish should call progressThomas Tortorini2015-09-087-4/+100
| | | | | | | (cherry-picked from 3dd3d1357d027a487559516fcdd9064cc792edab) Fixes gh-2283 Closes gh-2292
* Core: Remove unnecessary parameter to jQuery#constructorYongwoo Jeon2015-09-081-1/+1
| | | | | | (cherry-picked from 98cee73244d55910a1ac82bcf6cae04a7f650484) Closes gh-2441
* Build: Fix an email address of a contributorBatiste Bieler2015-09-082-2/+2
| | | | | | (cherry-picked from ab30934c1d7e023d9e80525c6e7ad4da31b543af) Closes gh-2455
* Tests: do not create data cache when fetching single propertyJason Bedard2015-09-081-0/+16
| | | | | (test cherry-picked from f5bf9bc48897e3b8f050d87d02252c8be456044a) Refs gh-2554
* Data: Don't expose jQuery.acceptDataJason Bedard2015-09-085-51/+33
| | | | | | | | jQuery.acceptData is an undocumented internal API that shouldn't be exposed. (cherry-picked from 224271982eb9cd351d7db1b38c740b4e927e6f97) Fixes gh-2555
* 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. (cherry-picked from 02e10082b25df3b47b6b98e3b35399712795b7df) Refs 62acda819f9b6fba9263d0b613e15285807b23a7
* Serialize: Fix object detectionMichał Gołębiowski2015-09-081-1/+1
| | | | | | | | | | | jQuery.type doesn't just return "null" for null but also e.g. "array" for arrays instead of object so it's not really a typeof analogue. My suggestion was stupid. Sorry. (cherry-picked from 14c0fe44328f22debb5b531d2b671923658542b3) Refs 3d7ce0a65f0707ff01a851822e57ba80adcff075
* Serialize: Handle arrays with null valuesDaniel Nill2015-09-072-2/+5
| | | | | | (cherry-picked from 3d7ce0a65f0707ff01a851822e57ba80adcff075) Closes gh-2436
* Build: Update grunt-contrib-uglify because of a security issue in uglifyReed Loden2015-09-071-1/+1
| | | | | | | | | | | | Update grunt-contrib-uglify dependency to v0.9.2 in order to avoid a security issue fixed in uglify-js v2.4.24. https://github.com/mishoo/UglifyJS2/issues/751 https://zyan.scripts.mit.edu/blog/backdooring-js/ (cherry-picked from 835e9218beef8f0c559da314fac01cb85dacb740) Closes gh-2556
* Effects: Remove additional parameters of easingsThomas Tortorini2015-09-072-14/+7
| | | | | | | (cherry-picked from b7a7dea95f84d6d8e5a8186d4fb09a762baf79bb) Fixes gh-2367 Closes gh-2376
* Build: space between curly and paren is optionalTimmy Willison2015-09-071-2/+2
| | | | | | Ref 63a577aa0bcb439c1730c3825407d86c128b17be Fixes gh-2399 Close gh-2400
* Tests: Do not define two modules with the same nameOleg Gaidarenko2015-09-071-1/+1
| | | | | Ref 7aa46e0df8a673e6b00550bbbbed21eed50108b7 Fixes gh-2437
* Tests: Partially use new qunit interfaceOleg Gaidarenko2015-09-0724-6122/+6646
| | | | | | | | | | | | | 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 Ref b930d14ce64937e9478405eee2828d4da091d2cb Fixes gh-2540
* Ajax: do not quote "throws" option - use dot notation insteadOleg Gaidarenko2015-09-071-1/+1
| | | | | Ref c9cf250daafe806818da1dd207a88a8e94a4ad16 Fixes gh-2571
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-07135-8084/+8857
| | | | | Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056
* Build: correct jscs pathsOleg Gaidarenko2015-09-071-3/+2
| | | | Ref 99975c44abc8c1092764c7fca3ccfe89fc832b87
* Core: Support non-browser environmentsMichał Gołębiowski2015-08-1645-68/+363
| | | | | | | | | | | | Fixes gh-2133 Fixes gh-2501 Closes gh-2504 Refs gh-1950 Refs gh-1949 Refs gh-2397 Refs gh-1537 Refs gh-2504 Refs 842958e7aecd0d75a7ee9e2aaec83457701aa2f3