aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/event.js
Commit message (Collapse)AuthorAgeFilesLines
* Event: Don't test stopImmediatePropagation in Android 2.3Michał Gołębiowski2014-03-181-2/+5
| | | | | 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 (cherry picked from commit 472f70a9df75c289393d6618c36257a04f9cb902)
* Event: Call underlying stopImmediatePropagation when presentDave Methvin2014-03-121-2/+17
| | | | | Fixes #13997 (cherry picked from commit 6a89db86ed817f6a7498076e2a06b90f9fce0831)
* Event: Allow triggerHandler(beforeunload)Dave Methvin2014-03-041-0/+5
| | | | | | | | Fixes #14791 (cherry picked from commit 06adf7c95d93507908181995a9ea15fe2729595a) Conflicts: src/event.js
* 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. (cherry-picked from 6d2ab64df7bdda087e79deaa53db969fa6f2cd92)
* Tests: Blacklist beforeunload test in iOSMichał Gołębiowski2014-01-271-1/+4
| | | | | | | | | | iOS has the window.onbeforeunload field but doesn't support the beforeunload handler making it impossible to feature-detect the support. (cherry-picked from 988d99ad278c2c9dc16c68f86bddc4df99dcd928) Fixes #14717 Closes gh-1496
* Ref #14180, let focusin/out work on non-element targets.Dave Methvin2013-11-141-0/+13
| | | | | | | (cherry picked from commit c2aca17d457d302cb1683f925b9e5ee93f0984ea) Conflicts: src/event.js
* Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.Dave Methvin2013-11-121-0/+33
| | | | | (cherry picked from commit ebdb467761d756d4e52608a0df4a4d9b17da8092) (conflicts with .data() resolved manually)
* Don't execute focus tests in FirefoxOleg2013-11-081-72/+75
| | | | Cherry picked from 45be91e3981164e076a71de31f0b8a972a4bf104 commit
* Revert "Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369."Dave Methvin2013-10-221-27/+0
| | | | | | This reverts commit bba8366af48bd2c80c96e7a0f58b3e16fd736125. Because cross-frame focus sucks.
* Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.Dave Methvin2013-10-221-0/+27
| | | | | (cherry picked from commit 6d5dfa0eda2c19e8838930fafff83b596654eca2) Manually edited for conflicts.
* Fix #13993. Save result of native inline handlers. Close gh-1368.Dave Methvin2013-10-061-0/+8
| | | | (cherry picked from commit 3bcd04f528597dac0a7084865461574ab4a06465)
* Add setup function for the event moduleOleg2013-09-301-3/+6
| | | | (cherry picked from the commit 2c0b9027de841a437baf7b9c85262f196b9cb09e)
* Focus on the body before running focus testOleg2013-09-301-10/+4
|
* Try to fix focus test againOleg2013-09-301-20/+25
|
* Run focus test only if document has focusOleg2013-09-231-21/+21
|
* No ticket: Fix IE focus test failuresRichard Gibson2013-09-231-2/+5
|
* No ticket: Hide the testing-support jQuery from testsRichard Gibson2013-09-031-0/+1
| | | | | | | | (cherry picked from commit 0c185209233f4c15e57c6a24e8f81b27dd26db59) Conflicts: test/data/testrunner.js
* Pass all tests (and load Sizzle fixture correctly) when loading with AMDTimmy Willison2013-08-291-79/+0
| | | | | Conflicts: src/css.js
* Don't execute DOM ready tests in AMD mode (they aren't loaded before DOM ↵Oleg Gaidarenko2013-08-161-0/+6
| | | | ready). Close gh-1335.
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-120/+135
| | | | | | | | | | | | | | | | in tests. Fixes #13755. Conflicts: src/.jshintrc src/data.js test/unit/attributes.js test/unit/core.js test/unit/data.js test/unit/event.js test/unit/manipulation.js test/unit/queue.js test/unit/traversing.js test/unit/wrap.js
* Fix #13393. Avoid IE9 activeElement of death.Dave Methvin2013-04-081-0/+5
| | | | | | | (Cherry picked from 85fc5878b3c6af73f42d61eedf73013e7faae408) Conflicts: src/event.js
* Ref #12652: Allow overriding native .click() suppressionRichard Gibson2013-04-081-21/+20
|
* Ref #13554: Move redundant methods to event-alias.js. Close gh-1225.Michał Gołębiowski2013-04-071-279/+278
| | | | (cherry picked from commits 8ca9f931ec311b6f73990eac7665451a28bceac3 84a94acae1ed7d65d91df235985e433d34486dc3 100d3c351604e1f9641098da2e78678b4e6d9cdf)
* Ref 65a66489: oldIE handholding for native event testsRichard Gibson2013-04-041-1/+8
|
* Ref #13353: capture onlyHandlers in jQuery.Event.isTrigger. Close gh-1183.Richard Gibson2013-04-031-14/+35
|
* Fix typos. Close gh-1186.dmitrygusev2013-02-281-3/+3
|
* Fix #13471. $().on(".xyz"...) should avoid later crash.Dave Methvin2013-02-261-0/+16
| | | | | | If the event type is an empty string we end up hanging in .off() which makes for mighty hard debugging. Instead treat it as a no-op. Docs seem clear this is not allowed.
* No ticket: Revise unit tests in anticipation of Sizzle-free buildsRichard Gibson2013-02-221-32/+35
| | | | (cherry picked from commit 59f5adb622dd6bc3419bbaa9cc2d4acd7a0b08b9)
* event: Stricter type checking in trigger - Fixes #13360 - Closes gh-1153Andrew Plummer2013-01-311-0/+14
| | | | | | | | | | | Squashed commit of the following: commit 5935a362c75ecef04d5ec9775cbcaf2165921e8d Author: Andrew Plummer <plummer.andrew@gmail.com> Date: Fri Feb 1 02:40:42 2013 +0900 Using "hasOwnProperty" to check for direct properties "type" and "namespace" on events before triggering.
* Fix #12656. Make event shorthands excludable.Dave Methvin2013-01-271-105/+113
|
* Fix #13208: only check elements for delegation matchesRichard Gibson2013-01-161-0/+11
|
* 0a3a424e with moar guard for IE6Richard Gibson2013-01-131-4/+4
|
* Fix #13203: delegated events with selector matching Object.prototype propertyRichard Gibson2013-01-131-0/+14
| | | | (cherry picked from commit 31b95797155077e4e670c0bbb2c57815f89769a1)
* Fix f860e0bd Firefox failuresRichard Gibson2013-01-131-3/+4
|
* #13180 unit testRichard Gibson2013-01-131-8/+19
|
* Fix #12569. Improve feature detect for event bubbling. Close gh-1076.Oleg2012-12-201-0/+28
|
* Remove .live() tests now in Migrate plugin.Dave Methvin2012-12-181-578/+25
|
* Adjust html parsing in event tests to use jQuery.parseHTML explicitly.Timmy Willison2012-12-131-3/+3
|
* Fix #12956. Improve cloneFixAttributes for IE9/10 case. Close gh-1034.Oleg2012-12-111-0/+49
| | | | Remove clear(merge)Attributes hack
* Test: Update index.html to new QUnit format. Close gh-1061.Timo Tijhof2012-12-101-10/+10
| | | | Depends on jquery/sizzle#177, included with the Sizzle submodule in this commit.
* Fix #12733. Ignore excess spaciness in event strings.Dave Methvin2012-11-241-1/+1
| | | | Thanks @bentruyman!
* Close #10882. Test case for "hover" event in 1.9Dave Methvin2012-11-241-0/+11
|
* Fix #12868. Use native focus/blur to get event order right.Dave Methvin2012-11-241-0/+44
|
* Fix #3827. Get the correct checkbox status for a click handler.Dave Methvin2012-11-241-0/+29
|
* No ticket: update test suite to pass QUnit globals check in most ↵Richard Gibson2012-11-051-0/+2
| | | | environments. Close gh-1016.
* Missing semicolon.Dave Methvin2012-10-211-1/+1
|
* Fix failing tests for beforeunload in Safari 5.0. Close gh-1002.Oleg2012-10-211-12/+28
|
* Fix #12061. Avoid window.onbeforeunload to permit multiple handlers. Close ↵Oleg2012-10-201-9/+52
| | | | gh-894.
* Fix #12739. Keep namespace when triggering with an Event. Close gh-972.Allen J Schmidt Jr2012-10-191-0/+37
|