jquery/test/unit
Michał Gołębiowski-Owczarek aaf9c55ad2 Event: Don't crash if an element is removed on blur
In Chrome, if an element having a `focusout` handler is blurred by
clicking outside of it, it invokes the handler synchronously. If
that handler calls `.remove()` on the element, the data is cleared,
leaving private data undefined. We're reading a property from that
data so we need to guard against this.

Fixes gh-4417
Closes gh-4799

(cherry picked from commit 5c2d08704e)
2020-10-19 21:21:54 +02:00
..
ajax.js Tests: Skip the "jQuery.ajax() on unload" test in Safari 2020-09-02 18:05:47 +02:00
animation.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
attributes.js Tests: Remove obsolete jQuery data tests 2020-05-18 18:51:34 +02:00
basic.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
callbacks.js Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs 2020-01-27 18:54:47 +01:00
core.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
css.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
data.js Tests: Remove obsolete jQuery data tests 2020-05-18 18:51:34 +02:00
deferred.js Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs 2020-01-27 18:54:47 +01:00
deprecated.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
dimensions.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
effects.js Tests: Remove obsolete jQuery data tests 2020-05-18 18:51:34 +02:00
event.js Event: Don't crash if an element is removed on blur 2020-10-19 21:21:54 +02:00
exports.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
manipulation.js Tests: Workaround failures in recent XSS tests in iOS 8 - 12 2020-04-30 21:26:18 +02:00
offset.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
queue.js Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs 2020-01-27 18:54:47 +01:00
ready.js Tests: Pass a number of necessary done() calls to assert.async() 2020-03-02 22:18:10 +01:00
selector.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
serialize.js Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs 2020-01-27 18:54:47 +01:00
support.js Manipulation: Skip the select wrapper for <option> outside of IE 9 2020-03-30 20:15:09 +02:00
traversing.js Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
tween.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
wrap.js Tests: Remove remaining obsolete jQuery.cache references 2020-05-18 18:53:26 +02:00