aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/event.js
Commit message (Collapse)AuthorAgeFilesLines
* Event: Fix chaining .on() with null handlersDevin Wilson2016-01-151-1/+8
| | | | | Fixes gh-2812 Close gh-2825
* Tests: fix lint in restored testTimmy Willison2016-01-071-2/+2
|
* Revert "Event: remove guard for falsy handler argument of jQuery#on method"Timmy Willison2016-01-071-0/+15
| | | | This reverts commit fac67a984268ef8f7de952666fda6d8d32754f5f.
* Revert "Misc: Drop support for older browsers; update support comments"Michał Gołębiowski2015-11-161-5/+10
| | | | This reverts commit 740e190223d19a114d5373758127285d14d6b71e.
* Release: remove revert artefactsOleg Gaidarenko2015-11-131-23/+22
|
* Revert "Event: remove guard for falsy handler argument of jQuery#on method"Oleg Gaidarenko2015-11-131-1/+0
| | | | This reverts commit fac67a984268ef8f7de952666fda6d8d32754f5f.
* Revert "Event: remove deprecated event aliases"Oleg Gaidarenko2015-11-111-1/+51
| | | | This reverts commit 0705be475092aede1eddae01319ec931fb9c65fc.
* Selector: pass jQuery unit tests with selector-nativeTimmy Willison2015-11-111-1/+2
| | | | | | | | | - Ignore certain tests that obviously are not supported - Beefed up the sortOrder, uniqueSort, isXMLDoc, and attr functions Fixes gh-1742 Fixes gh-2048 Close gh-2703
* Event: Move VML test out of event alias testDave Methvin2015-11-071-5/+15
| | | | Ref gh-2693
* Event: Make event aliases optional in unit testsDave Methvin2015-11-061-44/+41
|
* Event: Add basic unit tests for event aliasesDave Methvin2015-11-051-0/+18
| | | | | | | | Fixes gh-2302 Closes gh-2687 At the moment it's not possible to run the full event unit tests without aliases so this was just tested with a custom build by running this one test.
* Event: Ensure delegation doesn't error on comment nodesTimmy Willison2015-11-041-0/+27
| | | | | Fixes gh-2055 Close gh-2659
* Core: use interactive to evaluate dom ready, barring IE9-10Timmy Willison2015-10-291-0/+12
| | | | Fixes gh-2100
* Event: fix incorrect testOleg Gaidarenko2015-10-121-7/+1
| | | | | Which was revealed by 03eaadb131df925d1072afd2496ee3b41d2f1fc6 commit, also do not try to fix typos in data/jquery version
* Tests:Docs: Fix various typosGary Ye2015-10-121-1/+1
| | | | | | | | | | | | * Changes "baar" to "bar" when used with "foo" in readme and comments of js files * mousenter -> mouseenter Thanks @garysye, @KimTaehee Closes gh-2613 Closes gh-2601
* Tests: Account for Edge in originalEvent UA-sniffsMichał Gołębiowski2015-09-141-6/+4
| | | | | | | All other cases where Edge user agent needed to be taken into account in tests have already been resolved. Fixes gh-2357
* Data: avoid using delete on DOM nodesJason Bedard2015-09-081-2/+5
| | | | Closes gh-2479
* Tests: more style correctionsOleg Gaidarenko2015-09-081-1/+1
| | | | | | Provocated by jscs-dev/node-jscs@2de68c0d8351103bb2a989dc942ab47a391d3546 Closes gh-2578
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-081-4/+10
| | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-929/+937
| | | | Fixes gh-2056
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-161-569/+591
| | | | | | | | | | | | http://qunitjs.com/upgrade-guide-2.x/ For most of the boring work was used https://github.com/apsdehal/qunit-migrate package However, it can't update local qunit helpers, plus in some places old QUnit.asyncTest signature is still used Fixes gh-2540
* Event: Only check elements for delegation matchesRichard Gibson2015-08-101-0/+11
| | | | | | Closes gh-2529 Ref trac-13208 (cherry picked from commit fc2ba2e1361126c39f955437ee025cfca3bffa65)
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-301-3/+9
| | | | Closes gh-2507
* Docs: Fix various spelling mistakesBruno Pérel2015-07-301-1/+1
| | | | Closes gh-2487
* Event: remove outdated originalEvent hackOleg Gaidarenko2015-05-291-16/+49
| | | | | Closes gh-2335 Ref 7475d5debeb7c53158921ed40f6c2fdb25a2cc86
* Event: Remove fake originalEvent from jQuery.Event.simulateGabriel Schulhof2015-05-291-0/+54
| | | | | Fixes gh-2300 Closes gh-2303
* Event: remove deprecated event aliasesOleg Gaidarenko2015-05-191-8/+1
| | | | | | Fixes gh-2286 Closes gh-2287 Ref trac-11733
* Data: remove the expando when there's no more dataTimmy Willison2015-05-121-0/+21
| | | | | Fixes gh-1760 Close gh-2271
* Event: remove guard for falsy handler argument of jQuery#on methodOleg Gaidarenko2015-05-031-14/+0
| | | | | | | | Since we don't have this in off method and its a common perception that this is a rudiment code Ref gh-2248 Closes gh-2249
* Event: HTML5 drop events inherit from MouseEventDave Methvin2015-01-141-6/+13
| | | | | Fixes gh-2009 Ref gh-1925
* Event: Normalize mouse event properties in drag eventsAditya Raghavan2015-01-051-0/+14
| | | | | | | DragEvent is a superset of MouseEvent, so we want to fix up mouse properties like pageX and pageY. Fixes gh-1925
* Event: Empty namespaces should be uneventfully ignoredDave Methvin2014-12-091-0/+11
| | | | | | Thanks @hamishdickson for the report! Closes gh-1769
* Event: Fully clean up events in unit testVeaceslav Grimalschi2014-12-071-1/+2
| | | | Closes gh-1685
* Event: Copy detail property to jQuery.Event on native eventsDave Methvin2014-12-031-0/+19
| | | | Fixes gh-1867
* Misc: Adjust comments & docs to dropping IE<8 in jQuery CompatMichał Gołębiowski2014-11-041-1/+1
|
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-11-031-22/+16
| | | | | | | | That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Closes gh-1820 Refs gh-1815
* Event: Restore the `constructor` property on jQuery.Event prototypeDaniel Herman2014-09-041-1/+3
| | | | | | | | | The original definition of the jQuery.Event prototype was paving over the `constructor` property which was causing jQuery.isPlainObject to improperly report that an instance of jQuery.Event was a plain object. Fixes #15090 Closes gh-1580
* Event: Simplify the logic behind blacklisting Android 2.3 on one testMichał Gołębiowski2014-03-181-7/+4
|
* Event: Don't test stopImmediatePropagation in Android 2.3Michał Gołębiowski2014-03-181-8/+19
| | | | | Android 2.3 doesn't support stopImmediatePropagation; jQuery fallbacks to stopPropagation in such a case.
* Event: Unit test for #14741 fixDave Methvin2014-03-161-0/+14
| | | | | Fixes #14741 Closes gh-1503
* Event: Call underlying stopImmediatePropagation when presentDave Methvin2014-03-121-2/+13
| | | | Fixes #13997
* Event: Allow triggerHandler(beforeunload)Dave Methvin2014-03-041-0/+5
| | | | Fixes #14791
* Event: Blacklist the onbeforeunload test in Android 2.3Michał Gołębiowski2014-02-131-3/+4
| | | | | Similarly to iOS, Android 2.3 has the onbeforeunload property on window but doesn't support the event. This commit blacklists the test there as well.
* Tests: Blacklist beforeunload test in iOSMichał Gołębiowski2014-01-261-1/+4
| | | | | | | | iOS has the window.onbeforeunload field but doesn't support the beforeunload handler making it impossible to feature-detect the support. Fixes #14717 Closes gh-1496
* Ref #14180, let focusin/out work on non-element targets.Dave Methvin2013-11-141-0/+13
|
* Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.Dave Methvin2013-11-121-0/+33
|
* Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425.Michał Gołębiowski2013-11-111-20/+5
|
* Don't execute focus tests in FirefoxOleg2013-11-081-72/+75
| | | | Close gh-1423
* Revert "Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369."Dave Methvin2013-10-221-27/+0
| | | | This reverts commit 9b6f0745805941a6d7b7c16c02cf56ab00021c82.
* Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.Dave Methvin2013-10-221-0/+27
|