mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
3cad5c435a
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> |
||
---|---|---|
.. | ||
bundler_smoke_tests | ||
data | ||
integration | ||
node_smoke_tests | ||
promises_aplus_adapters | ||
runner | ||
unit | ||
delegatetest.html | ||
hovertest.html | ||
index.html | ||
jquery.js | ||
middleware-mockserver.cjs | ||
networkerror.html | ||
xhtml.php |