jquery/test
Michał Gołębiowski-Owczarek d5c505e35d
Event: Only attach events to objects that accept data - for real
There was a check in jQuery.event.add that was supposed to make it a noop
for objects that don't accept data like text or comment nodes. The problem was
the check was incorrect: it assumed `dataPriv.get( elem )` returns a falsy
value for an `elem` that doesn't accept data but that's not the case - we get
an empty object then. The check was changed to use `acceptData` directly.

Fixes gh-4397
Closes gh-4558
2019-12-09 19:50:14 +01:00
..
data Selector: Make empty attribute selectors work in IE again 2019-11-18 22:10:55 +01: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: Only attach events to objects that accept data - for real 2019-12-09 19:50:14 +01:00
.eslintrc.json Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +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 Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
jquery.js Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
karma.context.html Tests: Add support for running unit tests via grunt with karma 2017-12-18 12:27:38 -05:00
karma.debug.html Build: Remove the external directory, read from node_modules directly 2019-08-26 18:53:54 +02:00
localfile.html Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
middleware-mockserver.js Ajax: Do not execute scripts for unsuccessful HTTP responses 2019-09-26 02:43:30 +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