jquery-ui/tests
Michał Gołębiowski-Owczarek 5b5fda7cd2
Tests: Account for an extra noop focus/blur listener in jQuery >=3.4
jQuery >=3.4.0 uses a special focus/blur handler pair needed to fix various
issues with checkboxes/radio buttons as well as being able to pass data in focus
triggers. This leaves extra focus & blur events if any of these events were ever
listened to at a particular element.

We've started skipping these handlers in the `domEqual` assertion in gh-1930 but
we missed a case where an event is triggered before any handler is attached -
jQuery >=3.4.0 attaches then an extra noop listener just to force the code path
to go through the setup code before the trigger happens. We now skip this extra
handler as well.

This fixes a test failure in "dialog: methods" destroy tests.

Closes gh-1945
Ref jquery/jquery#4496
Ref gh-1930
2021-02-20 19:11:03 +01:00
..
images All: Optimize png images losslessly using zopflipng 2016-06-06 11:26:06 -04:00
lib Tests: Account for an extra noop focus/blur listener in jQuery >=3.4 2021-02-20 19:11:03 +01:00
unit Focusable: Fix handling of visibility: collapse 2020-10-14 23:53:11 +02:00
visual Build: Update to the latest version of Grunt & many other packages 2020-10-14 23:55:35 +02:00
.jshintrc Tests: Remove all qunit global excludes from jshint config 2016-04-14 00:29:33 +05:30
index.css Theme: Change default widget font-size to 1em 2014-10-24 07:23:31 -07:00
index.html Build: Reorganize external directory 2014-06-24 22:45:32 -04:00
index.js Tests: Style updates 2015-08-21 08:06:24 -04:00