aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Effects: Don't overwrite display:none when .hide()ing hidden elementsRichard Gibson2014-03-201-0/+13
| | | | | Fixes #14848 Closes gh-1548
* CSS: jQuery#hide should always save display valueOleg Gaidarenko2014-03-201-0/+10
| | | | | Fixes #14750 Closes gh-1509
* Attributes: Trim whitespace from option text when returned as a valueJohn Hoven2014-03-201-0/+13
| | | | | | | | | | Fixes #14858 Ref #14686 Closes gh-1531 (cherry picked from commit 9ec429cf6270e455aba4eba85f4db80e633806b6) Conflicts: src/attributes/val.js
* Core: Change the sleep time in dont_return.php from 100s to 30sMichał Gołębiowski2014-03-191-1/+1
| | | | | | Half a minute is more than enough for the test to finish even in the slowest browsers and in case of starving the PHP FPM process pool, one has to wait for only half a minute to try again.
* Event: Simplify the logic behind blacklisting Android 2.3 on one testMichał Gołębiowski2014-03-181-7/+4
|
* Event: Don't test stopImmediatePropagation in Android 2.3Michał Gołębiowski2014-03-181-8/+19
| | | | | Android 2.3 doesn't support stopImmediatePropagation; jQuery fallbacks to stopPropagation in such a case.
* Core: Change the sleep time in dont_return.php to a sane valueMichał Gołębiowski2014-03-181-1/+1
| | | | | PHP sleep function accepts time in seconds, not milliseconds; the previous value was starving the PHP FPM process pool.
* Core: Blacklist the ready test on async-loaded jQuery in iOS7Michał Gołębiowski2014-03-171-4/+9
| | | | Fixes #14882
* Event: Unit test for #14741 fixDave Methvin2014-03-161-0/+14
| | | | | Fixes #14741 Closes gh-1503
* Core: Bump timeouts to stabilize doc ready testMichał Gołębiowski2014-03-132-2/+2
| | | | | | The "document ready when jQuery loaded asynchronously" test fails all the time in iOS7 and sometimes in other browsers. Bumping the timeouts *might* help these other browsers to be less flakey here.
* Event: Call underlying stopImmediatePropagation when presentDave Methvin2014-03-121-2/+13
| | | | Fixes #13997
* Support: Make the support matrix for iOS 6 match iOS 7 as wellMichał Gołębiowski2014-03-131-1/+1
|
* Css: Fix testsMichał Gołębiowski2014-03-101-6/+9
| | | | | | | It's not easy to find a CSS property that is implemented even in ancient browsers and that returns a consistent result among browsers when passed through .css(). color didn't work since Firefox normalizes it an empty value to rgb(0, 0, 0).
* Css: Revert 24e587929f62428e1959b10aace6dc4fd65ab397Michał Gołębiowski2014-03-101-7/+20
| | | | | | | | | | | | The workaround to be able to change !important styles broke the browser keeping the old CSS value if the new one was rejected. Patching it would involve a significant perf hit (~33%) so the initial patch needs to be reverted instead. Tests by m_gol & gibson042. Fixes #14836 Closes gh-1532
* Ajax, Effects: Disable Chrome 31 workaroundsMichał Gołębiowski2014-03-102-27/+7
|
* Core: Do not run window.onready when readyDave Methvin2014-03-042-0/+31
| | | | Fixes #14802
* CSS: Return values should be numbersDave Methvin2014-03-041-1/+2
| | | | Fixes #14792
* Event: Allow triggerHandler(beforeunload)Dave Methvin2014-03-042-0/+23
| | | | Fixes #14791
* Ajax: .load() should trim its selectorDave Methvin2014-03-042-0/+9
| | | | Fixes #14773
* Core: Arrays like [42] should fail .isNumeric()Dave Methvin2014-03-041-1/+3
| | | | Fixes #14179
* Effects: Don't check fill-opacity in Android 2.3, it's not supportedMichał Gołębiowski2014-02-131-1/+6
|
* Event: Blacklist the onbeforeunload test in Android 2.3Michał Gołębiowski2014-02-131-3/+4
| | | | | Similarly to iOS, Android 2.3 has the onbeforeunload property on window but doesn't support the event. This commit blacklists the test there as well.
* Css: Don't check fill-opacity in Android 2.3, it's not supportedMichał Gołębiowski2014-02-131-1/+6
|
* Tests: remove all the empty line whitespaceRick Waldron2014-02-112-28/+28
|
* Support: Document box-sizing was unprefixed in Firefox 29Michał Gołębiowski2014-02-052-2/+2
|
* Build: Upgrade QUnit to 1.14.0Michał Gołębiowski2014-02-056-636/+705
|
* Build: Switch to explicit dependencies versions in bower.jsonMichał Gołębiowski2014-02-022-99/+147
|
* Ajax: Protect against exceptions thrown synchronously by xhr.sendjaubourg2014-01-291-0/+30
| | | | | | | | | | | When xhr.send throws an exception synchronously, the onerror handler may have been called already which, unchecked, makes the exception bubble up outside of jQuery.ajax. We now catch the exception pre-emptively and only rethrow if we know it hasn't already been notified through the onerror handler. Fixes #14683
* Support: Add iOS6 support tests resultsMichał Gołębiowski2014-01-271-0/+16
|
* Tests: Blacklist beforeunload test in iOSMichał Gołębiowski2014-01-261-1/+4
| | | | | | | | iOS has the window.onbeforeunload field but doesn't support the beforeunload handler making it impossible to feature-detect the support. Fixes #14717 Closes gh-1496
* Manipulation: Use textarea for missing IE defaultValue checkDave Methvin2014-01-231-1/+1
| | | | | | | | | | IE11 fixed the checkbox defaultValue issue but not textarea. Rather than creating a new detect name I'm reusing the old one to protect anyone who is unwisely using this externally. Re-fixing the defaultValue when it doesn't need to be done is not a problem, so leave that code for IE11. Fixes #14716 Closes gh-1495
* Tests: fix Safari userAgent detectionMichał Gołębiowski2014-01-221-3/+3
|
* Support: Add expected support results for Safari 7 & IE11Michał Gołębiowski2014-01-221-0/+32
|
* Tests: Blacklist one effects test in Chrome 31Michał Gołębiowski2014-01-211-3/+17
| | | | | | Chrome 31 reports incorrect offsetWidth on a table cell with fixed width. This is fixed in Chrome 32 so let’s just skip the failing test in Chrome 31. See https://code.google.com/p/chromium/issues/detail?id=290399
* Traversing: Check all pairwise element combinations for .find( els )Richard Gibson2014-01-171-2/+4
| | | | | Ref b8d0d54a3c4960794a1b492957abeb56eddd1e48 Fixes #14701
* Tests: Fix code style issuesOleg2014-01-161-4/+4
|
* Tests: Add assertion for the jQuery#val methodOleg2014-01-161-2/+7
|
* Attrs: Remove outdated valHook for option elementOleg2014-01-161-0/+9
| | | | | | | This hook was relevant for BlackBerry 4.7 which is no longer supported. But this code path now raises error in IE10-11 (#14686) in 1.x-master branch. So to just to be safe, also add test for IE issue to this branch too.
* Tests: Remove one of the checks for memory leakOleg2014-01-141-12/+0
| | | | This check is redundant since jQuery.fragments object does not exist anymore
* Tests: Remove html5 shivDave Methvin2014-01-091-7/+0
|
* Effects: First step() call should match :animated selectorDave Methvin2014-01-071-0/+15
| | | | | Fixes #14623 Closes gh-1473
* traversing: Optimise .add by not using makeArrayTimo Tijhof2013-12-301-27/+111
| | | | Closes gh-1430
* Tests: Avoid use of QUnit.reset() in tests by splitting themcjqed2013-12-237-225/+544
| | | | | Fix #14040 Close gh-1457
* Ajax: don’t test jQuery.ajax() on beforeunload in Chrome 31Michał Gołębiowski2013-12-181-4/+11
| | | | | | | Chrome 31 doesn't fire Ajax requests in beforeunload event handler. There is no way for us to workaround it and it's been fixed in Chrome 32 so let's just blacklist Chrome 31 as long as it's in TestSwarm. See https://code.google.com/p/chromium/issues/detail?id=321241
* Manage bower dependencies with grunt-bowercopyTimmy Willison2013-12-067-6/+4867
| | | | | | | | | | | | Tracked bower dependencies are located at "src/sizzle" and "test/libs". The source-destination mapping is in the Gruntfile. When updating a bower dependency, update the version in bower.json, run `grunt bower`, and then commit the result. When adding a dependency, update the bowercopy task accordingly. Fixes #14615. Closes gh-1452.
* Ajax: Use weak ETag header in testsCorey Frang2013-11-261-2/+5
| | | | | | See http://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation Close gh-1448
* Add unit tests for .html( number ). Close gh-1447.Jakob Stoeck2013-11-261-3/+6
|
* Effects: Integrate sinon fake timers into tests. Close gh-1377.John Paul2013-11-243-290/+206
|
* Ref #14503: Cherry-pick tests.hongymagic2013-11-152-6/+21
| | | | | | (cherry picked from commit 27b22f4ef5f3f291204f0e0f9f414ac503f6c8a8) (cherry picked from commit 8dc0f2ea84e1861d8d8dfa7699268368c659f8e9) (cherry picked from commit 936126f10de193e2bb1c8280dbc2361ca5d62e29)
* Ref #14180, let focusin/out work on non-element targets.Dave Methvin2013-11-141-0/+13
|