jquery/test/unit
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
..
ajax.js Tests: Don't test synchronous XHR on unload in Chrome 2019-10-28 20:43:16 +01:00
animation.js Build: Update Sinon from 2.3.7 to 7.3.1, other updates 2019-04-04 16:53:38 +02:00
attributes.js Selector: Make empty attribute selectors work in IE again 2019-11-18 22:10:55 +01:00
basic.js Core: Deprecate jQuery.trim 2019-08-22 02:06:26 +02:00
callbacks.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
core.js Core: Use Array.prototype.flat where supported 2019-09-25 01:38:21 +02:00
css.js Docs: Update most URLs to HTTPS 2019-10-21 19:03:48 +02:00
data.js Core: Remove IE-specific support tests, rely on document.documentMode 2019-05-13 21:39:56 +02:00
deferred.js Core: Remove IE-specific support tests, rely on document.documentMode 2019-05-13 21:39:56 +02:00
deprecated.js Core: Deprecate jQuery.trim 2019-08-22 02:06:26 +02:00
dimensions.js Tests: Skip a "width/height on a table row with phantom borders" test in Firefox 2019-10-28 20:43:39 +01:00
effects.js Selector: Inline Sizzle into the selector module 2019-07-29 21:19:21 +02:00
event.js Event: Only attach events to objects that accept data - for real 2019-12-09 19:50:14 +01:00
exports.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
manipulation.js Docs: Update most URLs to HTTPS 2019-10-21 19:03:48 +02:00
offset.js Core: Drop support for IE <11, iOS <11, Firefox <65, Android Browser & PhantomJS 2019-04-29 22:56:09 +02:00
queue.js Core: Remove IE-specific support tests, rely on document.documentMode 2019-05-13 21:39:56 +02:00
ready.js Tests: move readywait to an iframe test 2017-03-20 11:37:15 -04:00
selector.js Selector: Make empty attribute selectors work in IE again 2019-11-18 22:10:55 +01:00
serialize.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00
support.js CSS: Workaround buggy getComputedStyle on table rows in IE/Edge 2019-10-14 18:41:35 +02:00
traversing.js Selector: Inline Sizzle into the selector module 2019-07-29 21:19:21 +02:00
tween.js Build: Update Sinon from 2.3.7 to 7.3.1, other updates 2019-04-04 16:53:38 +02:00
wrap.js Build: Update test code for compatibility with QUnit 2.x (#4297) 2019-02-18 19:03:26 +01:00