aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Core: Preserve CSP nonce on scripts in DOM manipulationMichał Gołębiowski-Owczarek2019-01-141-0/+20
| | | | Fixes gh-3541 Closes gh-4269
* Tests: Exclude Android 4.x from repeated header names testMichał Gołębiowski-Owczarek2018-12-141-1/+11
| | | | | | | | Android Browser only returns the last value for each header so there's no way for jQuery get all parts. Closes gh-4259 Ref gh-3403 Ref gh-4173
* Manipulation: Only evaluate HTTP-successful script srcRichard Gibson2018-12-121-0/+17
| | | | | Fixes gh-4126 Closes gh-4243
* Tests: fix dimensions tests in testswarmTimmy Willison2018-12-031-1/+5
| | | Close gh-4248
* Dimensions: fall back to offsetWidth/Height for border-box in IETimmy Willison2018-11-271-5/+27
| | | | | | | | - Use getClientRects() to explicitly detect hidden/disconnected elements Close gh-4223 Fixes gh-4102
* Ajax: Fix getResponseHeader(key) for IE11Andrei Fangli2018-11-261-1/+4
| | | | | | | | | | | - getResponseHeader(key) combines all header values for the provided key into a single result where values are concatenated by ', '. This does not happen for IE11 since multiple values for the same header are returned on separate lines. This makes the function only return the last value of the header for IE11. - Updated ajax headers test to better cover Object.prototype collisions Close gh-4173 Fixes gh-3403
* Tests: Add Safari 12 & iOS 12 resultsMichał Gołębiowski-Owczarek2018-11-121-6/+6
|
* Tests: Move latest Firefox before Firefox 60 test resultsMichał Gołębiowski-Owczarek2018-11-121-4/+4
|
* Core: Recognize Shadow DOM in attachment checksSaptak Sengupta2018-11-092-0/+112
| | | | | | | Allow `isAttached` to check Shadow DOM for attachment. Fixes gh-3504 Closes gh-3996 Ref gh-3977
* CSS: Don't read styles.position in the width/height cssHook unless necessaryMichał Gołębiowski-Owczarek2018-10-081-1/+1
| | | | | | | | | | | | Current width/height cssHook reads the computed position style even if not necessary as the browser passes the scrollboxSize support test. That has been changed. This commit also makes the scrollboxSize support test in line with all others (i.e. only return true or false) and changes the variable name in the hook to make the code clearer. Fixes gh-4185 Closes gh-4187
* Tests: Add tests for not auto-appending "px" to CSS Grid propertiesMichał Gołębiowski-Owczarek2018-10-031-0/+50
| | | | | Ref gh-4007 Ref gh-4028 Closes gh-4165
* Tests: Allow Karma to load unminfied sourceRichard Gibson2018-09-071-11/+30
| | | Closes gh-4128
* Tests: use width style instead of SVG width attribute (#4157)Jason Bedard2018-08-201-3/+3
| | | | | The SVG width attribute seems to not support border-box in iOS7. Closes gh-4155
* Tests: Account for the iPad with iOS 11.3 user agentMichał Gołębiowski-Owczarek2018-08-011-1/+1
| | | | | | The user agent of the iPad with iOS 11.3 on BrowserStack is missing the "iPhone" part in the "iPhone OS 11_3" part. This commit makes the iOS regex accept such (probably?) malformed UAs.
* Tests: Skip module tests in EdgeMichał Gołębiowski-Owczarek2018-07-301-1/+7
| | | | | | Edge sometimes doesn't execute module scripts. It needs to be investigated why but for now, we're skipping the test to make our tests more stable. Closes gh-4140
* Tests: Make support tests pass in Firefox 52Michał Gołębiowski-Owczarek2018-07-301-1/+1
| | | | jQuery Core now supports Firefox ESR.
* Manipulation: Properly detect HTML elements with single-character namesRichard Gibson2018-07-131-0/+15
| | | | Fixes gh-4124 Closes gh-4125
* Tests: Add support test results for Firefox 61+Michał Gołębiowski-Owczarek2018-07-091-1/+20
| | | | | Firefox 61 now passes the reliableMarginLeft test. Closes gh-4122
* Dimensions: fix computing outerWidth on SVGsJason Bedard2018-06-201-0/+60
| | | | Fixes gh-3964 Closes gh-4096
* Serialize: jQuery.param: return empty string when given null/undefinedTimmy Willison2018-06-201-1/+4
| | | | Fixes gh-2633 Close gh-4108
* Test: enable a spec testing CSS whitespace preserving in Edge 17Michał Gołębiowski-Owczarek2018-06-181-2/+2
| | | | | | | | In Edge 14-16 setting a style property to a whitespace-only value resets it to the default, forcing us to skip a relevant CSS test in Edge. Now that Edge 17 has fixed the issue we can re-enable this test there. Ref gh-3204 Closes gh-4101
* CSS: Don't auto-append "px" to CSS variables (#4064)Michał Gołębiowski-Owczarek2018-06-041-0/+15
| | | | Fixes gh-4063 Closes gh-4064
* squash! Set attributes all at once, src lastDave Methvin2018-05-141-5/+3
|
* Ajax: Allow custom attributes when script transport is usedDave Methvin2018-05-141-0/+23
| | | | | | | Fixes gh-3028 Ref gh-2612 Useful, for example, to add `nonce`, `integrity`, or `crossorigin`.
* Traversing: $.fn.contents() support for objectLuis Emilio Velasco Sanchez2018-05-141-38/+68
| | | | | Fixes gh-4045 Closes gh-4046
* CSS: Correctly detect scrollbox support with non-default zoomRichard Gibson2018-05-071-3/+4
| | | | Fixes gh-4029 Closes gh-4030
* CSS: Ensure camel- vs kebab-cased names are not collapsed for CSS varsMichał Gołębiowski-Owczarek2018-05-021-0/+2
| | | Closes gh-4062
* CSS: Skip the px-appending logic for animations of non-element propsMichał Gołębiowski-Owczarek2018-04-301-0/+11
| | | | | | | Without this change animating properties from jQuery.cssNumber on non-elements throws an error. Ref gh-4055 Closes gh-4061
* Tests: ensure support tests are failed by at least one tested browserMichał Gołębiowski-Owczarek2018-04-231-205/+253
| | | | | | | | A whitelist is available so that some tests can be allowed to always succeed. This is used only for ajax for now as it can be manually disabled in IE but is enabled by default. Closes gh-4052
* Tests: Fix Android 4.0 Deferred testsMichał Gołębiowski-Owczarek2018-02-121-1/+3
| | | Closes gh-3967
* Tests: Disable native abort test in Android 4.0Michał Gołębiowski-Owczarek2018-02-121-18/+20
| | | | | | The test works on its own when checked manually but mysteriously fails in TestSwarm only in Android 4.0. Let's just disable it there. Closes gh-3968
* Tests: skip test with invalid selector for selector-native testsTimmy Willison2018-01-191-1/+1
|
* Tests: ensure that module assertions run on supported browsersTimmy Willison2018-01-161-8/+14
| | | | | | - Also fixes tests for karma, where the URL for the module is different Ref gh-3871
* Manipulation: Add support for scripts with module typebasil.belokon2018-01-161-0/+16
| | | | | Fixes gh-3871 Close gh-3869
* Tests: fix number of expected assertions in basic coreTimmy Willison2018-01-161-1/+1
|
* Core: deprecate jQuery.typeJason Bedard2018-01-165-64/+46
| | | | | Fixes gh-3605 Close gh-3895
* Tests: fix weird flaky attributes test in Edge 16Timmy Willison2018-01-161-1/+1
| | | | | Fixes gh-3867 Close gh-3931
* Tests: fix weird failure in Edge 16 CSSTimmy Willison2018-01-161-1/+1
| | | | | Fixes gh-3866 Close gh-3932
* Core: deprecate jQuery.isNumericJason Bedard2018-01-154-81/+78
| | | | | Fixes gh-2960 Closes gh-3888
* Ajax: Don't process non-string data property on no-entity-body requestsDave Methvin2018-01-151-1/+32
| | | | | Fixes gh-3438 Closes gh-3781
* Event: Move event aliases to deprecatedDave Methvin2018-01-152-86/+76
| | | | Fixes gh-3214
* Core: deprecate jQuery.isFunctionJason Bedard2018-01-157-157/+162
| | | | Fixes gh-3609
* Tests: fix function reference for unbindingTimmy Willison2018-01-081-4/+4
| | | | Ref gh-2958
* Tests: only run ontimeout test if ontimeout existsTimmy Willison2018-01-081-16/+20
| | | | | Fixes gh-3742 Close gh-3919
* Ajax: add unit test for getScript(Object)Timmy Willison2018-01-081-0/+18
| | | | | Fixes gh-3736 Close gh-3918
* Attributes: allow array param in add/remove/toggleClassTimmy Willison2018-01-081-0/+50
| | | | | | | | | +30 bytes instead of +182 Thanks to @faisaliyk for the first pass on this feature. Fixes gh-3532 Close gh-3917
* Core: deprecate jQuery.proxy (not slated for removal)Timmy Willison2018-01-083-55/+56
| | | | | Fixes gh-2958 Close gh-3885
* Core: deprecate jQuery.nowTimmy Willison2018-01-085-8/+8
| | | | | Fixes gh-2959 Close gh-3884
* Core: adjust data tests to ensure proper camelCasingTimmy Willison2018-01-081-29/+96
| | | | | - Add back camelCase to the public object (deprecate not remove) Ref #3384
* Core: make camelCase function available only for internal usageNilton Cesar2018-01-083-27/+24
| | | | | Close gh-3604 Fixes gh-3384