jquery/test/unit
ac-mmi 3cad5c435a
Manipulation: Make jQuery.cleanData not skip elements during cleanup
When passing a result of `getElementByTagsName` to `jQuery.cleanData`, convert
it to an array first. Otherwise, a live NodeList is passed and if any of the
event cleanups remove the element itself, a collection is modified during the
iteration, making `jQuery.cleanData` skip cleanup for some elements.

Fixes gh-5214
Closes gh-5523

Co-authored-by: Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
2024-09-11 00:18:53 +02:00
..
ajax.js Tests: migrate testing infrastructure to minimal dependencies 2024-02-26 09:42:10 -05:00
animation.js Tests: migrate testing infrastructure to minimal dependencies 2024-02-26 09:42:10 -05:00
attributes.js Tests: replace dead links in qunit fixture 2024-08-12 14:01:19 -04:00
basic.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
callbacks.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
core.js Tests: replace dead links in qunit fixture 2024-08-12 14:01:19 -04:00
css.js Build: improve specificity of eslint config; add ecma versions 2024-06-06 09:56:44 -04:00
data.js Build: improve specificity of eslint config; add ecma versions 2024-06-06 09:56:44 -04:00
deferred.js Build: improve specificity of eslint config; add ecma versions 2024-06-06 09:56:44 -04:00
deprecated.js Tests: replace dead links in qunit fixture 2024-08-12 14:01:19 -04:00
dimensions.js Core: Simplify code post browser support reduction 2023-09-20 00:54:40 +02:00
effects.js Tests: replace dead links in qunit fixture 2024-08-12 14:01:19 -04:00
event.js Build: improve specificity of eslint config; add ecma versions 2024-06-06 09:56:44 -04:00
exports.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
manipulation.js Manipulation: Make jQuery.cleanData not skip elements during cleanup 2024-09-11 00:18:53 +02:00
offset.js Tests: remove unnecessary scroll feature test 2024-06-10 14:51:02 -04:00
queue.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
ready.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
selector.js Tests: replace dead links in qunit fixture 2024-08-12 14:01:19 -04:00
serialize.js Build: migrate most grunt tasks off of grunt 2023-09-18 12:39:00 -04:00
support.js CSS:Tests: Fix tests & support tests under CSS Zoom 2024-06-03 18:15:23 +02:00
traversing.js Tests: replace dead links in qunit fixture 2024-08-12 14:01:19 -04:00
tween.js Tests: Exclude tests based on compilation flags, not API presence 2022-06-28 12:39:01 +02:00
wrap.js Core: Simplify code post browser support reduction 2023-09-20 00:54:40 +02:00