aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Build: Advise to create test cases on JS Bin or CodePen, drop JSFiddleMichał Gołębiowski-Owczarek2019-01-291-1/+1
| | | | | | | | | | JSFiddle doesn't support IE (even 11) anymore so we shouldn't advise users to use it to create test cases. To make people have a choice, add CodePen to the list. Also, link to specific starter templates so that novices don't need to spend time thinking how to set up the basic structure. Closes gh-4289
* Core: Support passing nonce through jQuery.globalEvalMichał Gołębiowski-Owczarek2019-01-218-17/+64
| | | | | | Fixes gh-4278 Closes gh-4280 Ref gh-3541 Ref gh-4269
* Manipulation: Respect script nomodule attribute in DOM manipulationMichał Gołębiowski-Owczarek2019-01-214-2/+34
| | | | | | | | | | | | | PR #3869 added support for `<script type="module">` & some support for the `nomodule` attribute but with no tests for `nomodule` and with the attribute only respected on inline scripts. This commit adds support for source-based scripts as well. It also adds tests for `nomodule`, including making sure legacy browsers execute such scripts as they'd natively do - that's the whole point of `nomodule` scripts, after all. Fixes gh-4281 Closes gh-4282 Ref gh-3871 Ref gh-3869
* Tests: Skip nonce tests in old iOS/Android as wellMichał Gołębiowski-Owczarek2019-01-141-2/+5
| | | | | | | | | | Old iOS & Android Browser versions support script-src but not nonce, making the nonce test impossible to run. Browsers not supporting CSP at all are not a problem as they'll skip script-src restrictions completely. Ref gh-3541 Ref gh-4269 Ref c7c2855ed13f23322c4064407c1ed84561b95738
* Core: Preserve CSP nonce on scripts in DOM manipulationMichał Gołębiowski-Owczarek2019-01-147-1/+68
| | | | 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: Restore _evalUrl jQuery.ajax calls to dataType: scriptRichard Gibson2018-12-131-4/+8
| | | | | | IE and iOS <10 XHR transport does not succeed on data: URIs Ref gh-4243 Ref gh-4126 Closes gh-4258
* Manipulation: Only evaluate HTTP-successful script srcRichard Gibson2018-12-122-2/+24
| | | | | Fixes gh-4126 Closes gh-4243
* Core: Tiny efficiency fix to jQuery.extend / jQuery.fn.extend (#4246)Marja Hölttä2018-12-121-6/+8
| | | | | | | | | Read target[name] only when it's needed. In addition to doing the property read-only when needed, this avoids a slow path in V8 (see the issue for more details). Fixes gh-4245 Closes gh-4246
* 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-273-20/+49
| | | | | | | | - Use getClientRects() to explicitly detect hidden/disconnected elements Close gh-4223 Fixes gh-4102
* Tests: add IE launcher for debugging IE11 on WindowsTimmy Willison2018-11-272-0/+5
|
* Tests: fix ajax test failure; add to header instead of replaceTimmy Willison2018-11-261-1/+1
|
* Ajax: Fix getResponseHeader(key) for IE11Andrei Fangli2018-11-264-5/+16
| | | | | | | | | | | - 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-098-15/+138
| | | | | | | Allow `isAttached` to check Shadow DOM for attachment. Fixes gh-3504 Closes gh-3996 Ref gh-3977
* Build: Run tests on Node.js 11 as wellMichał Gołębiowski-Owczarek2018-10-311-0/+1
|
* CSS: Don't read styles.position in the width/height cssHook unless necessaryMichał Gołębiowski-Owczarek2018-10-083-5/+9
| | | | | | | | | | | | 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-074-43/+79
| | | Closes gh-4128
* CSS: Don't auto-append "px" to possibly-unitless CSS grid propertiesBert Zhang2018-08-291-0/+7
| | | | | | This commit adds some CSS grid-related properties to jQuery.cssNumber. Fixes gh-4007
* 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.
* Docs: add gitter badge to README.mdTimmy Willison2018-07-271-0/+2
| | | Close gh-4138
* Manipulation: Properly detect HTML elements with single-character namesRichard Gibson2018-07-133-2/+21
| | | | 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-202-1/+64
| | | | Fixes gh-3964 Closes gh-4096
* Serialize: jQuery.param: return empty string when given null/undefinedTimmy Willison2018-06-202-1/+8
| | | | Fixes gh-2633 Close gh-4108
* Update node dependencies (sans jsdom, qunit, and sinon)Timmy Willison2018-06-201-15/+15
| | | Close gh-4098
* Build: Remove unnecessary ESLint exceptionEd S2018-06-181-3/+0
| | | | | The linked-to issue was fixed 2 years ago. Closes gh-4095
* 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
* Misc: Add config for lockbotDave Methvin2018-06-171-0/+13
|
* CSS: Don't auto-append "px" to CSS variables (#4064)Michał Gołębiowski-Owczarek2018-06-042-1/+18
| | | | Fixes gh-4063 Closes gh-4064
* README: Add FOSSA license scan status badgeKris Borchers2018-05-151-0/+2
|
* squash! Set attributes all at once, src lastDave Methvin2018-05-142-13/+8
|
* Ajax: Allow custom attributes when script transport is usedDave Methvin2018-05-142-3/+26
| | | | | | | Fixes gh-3028 Ref gh-2612 Useful, for example, to add `nonce`, `integrity`, or `crossorigin`.
* Misc: Update license prolog/epilog to placate Github checkerDave Methvin2018-05-141-16/+0
|
* Traversing: $.fn.contents() support for objectLuis Emilio Velasco Sanchez2018-05-145-51/+96
| | | | | Fixes gh-4045 Closes gh-4046
* CSS: Correctly detect scrollbox support with non-default zoomRichard Gibson2018-05-074-12/+21
| | | | 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-302-1/+13
| | | | | | | Without this change animating properties from jQuery.cssNumber on non-elements throws an error. Ref gh-4055 Closes gh-4061
* Build: Test on Node 10, stop testing on Node 4 & 9Michał Gołębiowski-Owczarek2018-04-251-2/+1
| | | | | Node.js 4 & 9 are ending their life, Node.js 10 has just been released. Closes gh-4057
* 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
* Event: Add "code" property to Event objecttmybr112018-04-171-0/+1
| | | | | Fixes gh-3978 Closes gh-3998
* Dimensions: avoid fetching boxSizing when setting width/heightJason Bedard2018-03-251-2/+7
| | | | | | - this avoids forcing a reflow in some cases Fixes #3991
* CSS: Avoid filling jQuery.cssPropsDave Methvin2018-03-193-39/+48
| | | | | | | | Fixes gh-3986 Closes gh-4005 Avoids filling jQuery.cssProps by introducing a second internal prop cache. This allows jQuery Migrate to detect external usage.
* Build: Don't require sudo on Travis, use sandboxless headless ChromeMichał Gołębiowski-Owczarek2018-03-192-7/+12
| | | | | | The Chrome sandbox doesn't work on Travis unless sudo is enabled. Instead, we're disabling the Chrome sandbox. Closes gh-4011