jquery/test
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
..
data Tests: Remove remaining obsolete jQuery.cache references 2020-05-18 18:53:26 +02:00
integration Event: Fix delegated radio events when arrow keys are used 2015-10-18 13:06:37 -04:00
node_smoke_tests Build: Update jsdom; migrate a test with Symbol polyfill to an iframe test 2019-03-04 18:30:51 +01:00
promises_aplus_adapters Build: Update jsdom; migrate a test with Symbol polyfill to an iframe test 2019-03-04 18:30:51 +01:00
unit Event: Don't crash if an element is removed on blur 2020-10-19 21:21:54 +02:00
.eslintrc.json Build: Enable ESLint one-var rule for var declarations in browser code 2020-03-02 22:30:00 +01:00
delegatetest.html Tests: Change quotes according to style guidelines 2015-10-18 13:17:23 -04: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 Build: Make Karma work in AMD mode 2020-01-21 13:26:47 +01:00
jquery.js Build: Make Karma work in AMD mode 2020-01-21 13:26:47 +01:00
karma.context.html Build: Make Karma work in AMD mode 2020-01-21 13:26:47 +01:00
karma.debug.html Build: Make Karma work in AMD mode 2020-01-21 13:26:47 +01:00
localfile.html Manipulation: Make jQuery.htmlPrefilter an identity function 2020-03-16 21:59:49 +01:00
middleware-mockserver.js Tests: Recognize callbacks with dots in the Node.js mock server 2020-09-02 18:46:56 +02:00
networkerror.html Docs: Updated links to https where they are supported. 2016-01-13 13:26:10 -05:00
xhtml.php Added a way to run the test suite as an XHTML page. 2009-01-19 18:14:51 +00:00