jquery/test
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
..
bundler_smoke_tests Build: upgrade dependencies; fix bundler tests on windows 2024-06-15 09:11:34 -04:00
data Tests: align mock.php spacing with 3.x-stable branch 2024-08-25 09:19:37 -04:00
integration Event: Fix delegated radio events when arrow keys are used 2015-10-18 13:06:37 -04:00
node_smoke_tests Core: Fix the exports setup to make bundlers work with ESM & CommonJS 2024-03-12 00:39:34 +01:00
promises_aplus_adapters Core: Move the factory to separate exports 2023-09-19 18:58:24 +02:00
runner Tests: Run tests in Edge in IE mode in GitHub Actions 2024-09-09 18:24:28 +02:00
unit Manipulation: Make jQuery.cleanData not skip elements during cleanup 2024-09-11 00:18:53 +02:00
delegatetest.html Core: Simplify code post browser support reduction 2023-09-20 00:54:40 +02:00
hovertest.html Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
index.html Tests: reuse browser workers in BrowserStack tests (#5428) 2024-03-05 14:44:01 -05:00
jquery.js Build: improve specificity of eslint config; add ecma versions 2024-06-06 09:56:44 -04:00
middleware-mockserver.cjs Tests: replace express with basic Node server 2024-08-08 22:10:29 -04:00
networkerror.html Docs: Replace #NUMBER Trac issue references with trac-NUMBER 2022-01-04 16:27:18 +01:00
xhtml.php Added a way to run the test suite as an XHTML page. 2009-01-19 18:14:51 +00:00