Oleg Gaidarenko
10fdad742a
Build: Update jscs and lint files
...
Fixes gh-2056
2015-09-07 20:03:50 +03:00
Oleg Gaidarenko
b930d14ce6
Tests: partially use new qunit interface
...
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
2015-08-16 09:02:01 +03:00
Richard Gibson
9d820fbde6
Event: Only check elements for delegation matches
...
Closes gh-2529
Ref trac-13208
(cherry picked from commit fc2ba2e136
)
2015-08-10 10:26:13 -04:00
Oleg Gaidarenko
aabe94edb4
Tests: don't use deprecated argument in test declaration
...
Closes gh-2507
2015-07-30 20:46:31 +03:00
Bruno Pérel
360a478033
Docs: Fix various spelling mistakes
...
Closes gh-2487
2015-07-30 15:47:23 +02:00
Oleg Gaidarenko
6df669f0fb
Event: remove outdated originalEvent hack
...
Closes gh-2335
Ref 7475d5debe
2015-05-29 20:32:59 +03:00
Gabriel Schulhof
7475d5debe
Event: Remove fake originalEvent from jQuery.Event.simulate
...
Fixes gh-2300
Closes gh-2303
2015-05-29 19:56:06 +03:00
Oleg Gaidarenko
0705be4750
Event: remove deprecated event aliases
...
Fixes gh-2286
Closes gh-2287
Ref trac-11733
2015-05-19 13:43:34 +03:00
Timmy Willison
56bb677725
Data: remove the expando when there's no more data
...
Fixes gh-1760
Close gh-2271
2015-05-12 10:09:40 -04:00
Oleg Gaidarenko
fac67a9842
Event: remove guard for falsy handler argument of jQuery#on method
...
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
2015-05-03 13:28:27 +03:00
Dave Methvin
d7e5fcee51
Event: HTML5 drop events inherit from MouseEvent
...
Fixes gh-2009
Ref gh-1925
2015-01-14 14:34:09 -05:00
Aditya Raghavan
97cf528082
Event: Normalize mouse event properties in drag events
...
DragEvent is a superset of MouseEvent, so we want to fix up mouse
properties like pageX and pageY.
Fixes gh-1925
2015-01-05 15:34:52 -05:00
Dave Methvin
8653068dd6
Event: Empty namespaces should be uneventfully ignored
...
Thanks @hamishdickson for the report!
Closes gh-1769
2014-12-09 19:59:56 -05:00
Veaceslav Grimalschi
4467ed606a
Event: Fully clean up events in unit test
...
Closes gh-1685
2014-12-07 21:28:20 -05:00
Dave Methvin
d9ed166c86
Event: Copy detail property to jQuery.Event on native events
...
Fixes gh-1867
2014-12-03 15:56:50 -05:00
Michał Gołębiowski
c309b95756
Misc: Adjust comments & docs to dropping IE<8 in jQuery Compat
2014-11-04 16:16:36 +01:00
Michał Gołębiowski
740e190223
Misc: Drop support for older browsers; update support comments
...
That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.
Closes gh-1820
Refs gh-1815
2014-11-03 18:37:26 +01:00
Daniel Herman
b807aedb7f
Event: Restore the constructor
property on jQuery.Event prototype
...
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
2014-09-04 03:28:40 -04:00
Michał Gołębiowski
55c196e837
Event: Simplify the logic behind blacklisting Android 2.3 on one test
2014-03-18 20:59:33 +01:00
Michał Gołębiowski
14e0a632a0
Event: Don't test stopImmediatePropagation in Android 2.3
...
Android 2.3 doesn't support stopImmediatePropagation; jQuery fallbacks
to stopPropagation in such a case.
2014-03-18 20:55:50 +01:00
Dave Methvin
472f70a9df
Event: Unit test for #14741 fix
...
Fixes #14741
Closes gh-1503
2014-03-16 10:54:12 -04:00
Dave Methvin
6a89db86ed
Event: Call underlying stopImmediatePropagation when present
...
Fixes #13997
2014-03-12 21:11:26 -04:00
Dave Methvin
06adf7c95d
Event: Allow triggerHandler(beforeunload)
...
Fixes #14791
2014-03-04 20:49:57 -05:00
Michał Gołębiowski
6d2ab64df7
Event: Blacklist the onbeforeunload test in Android 2.3
...
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.
2014-02-13 16:00:30 -08:00
Michał Gołębiowski
988d99ad27
Tests: Blacklist beforeunload test in iOS
...
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
2014-01-26 04:07:27 +01:00
Dave Methvin
c2aca17d45
Ref #14180 , let focusin/out work on non-element targets.
2013-11-14 16:33:12 -05:00
Dave Methvin
1cecf64e5a
Fix #14180 . Allow cross-frame use of focusin/out. Close gh-1369.
2013-11-12 21:15:08 -05:00
Michał Gołębiowski
4b39a82890
Fix #14340 . Remove remnants of oldIE from unit tests. Close gh-1425.
2013-11-11 00:43:27 +01:00
Oleg
45be91e398
Don't execute focus tests in Firefox
...
Close gh-1423
2013-11-08 16:00:30 +01:00
Dave Methvin
eca79fbf5b
Revert "Fix #14180 . Allow cross-frame use of focusin/out. Close gh-1369."
...
This reverts commit 9b6f074580
.
2013-10-22 22:49:03 -04:00
Dave Methvin
9b6f074580
Fix #14180 . Allow cross-frame use of focusin/out. Close gh-1369.
2013-10-22 22:03:20 -04:00
Dave Methvin
3bcd04f528
Fix #13993 . Save result of native inline handlers. Close gh-1368.
2013-10-06 17:43:54 -04:00
Oleg
2c0b9027de
Add setup function for the event module
2013-09-30 21:12:58 +04:00
Oleg
0a62e22579
Focus on the body before running focus test
...
(cherry picked from commit b2f27632eb
)
Conflicts:
test/unit/event.js
2013-09-30 20:53:44 +04:00
Oleg
33c80f3dd4
Run focus test only if document has focus
...
(cherry picked from commit 0b9a182ecd
)
2013-09-23 21:10:00 +04:00
Richard Gibson
9dadd68e34
No ticket: Fix IE focus test failures
...
(cherry picked from commit 3d6ed4483e
)
2013-09-23 12:01:09 -04:00
Richard Gibson
0c18520923
No ticket: Hide the testing-support jQuery from tests
2013-09-03 10:43:32 -04:00
Timmy Willison
004c1fc5bb
Pass all tests (and load Sizzle fixture correctly) when loading with AMD
2013-08-29 16:18:17 -04:00
Oleg Gaidarenko
ef694f6cc7
Don't execute DOM ready tests in AMD mode (they aren't loaded before DOM ready). Close gh-1335.
...
Conflicts:
src/manipulation.js
2013-08-16 14:39:42 -04:00
Timmy Willison
0fa52c11cb
Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755 .
2013-04-09 11:59:31 -04:00
Dave Methvin
85fc5878b3
Fix #13393 . Avoid IE9 activeElement of death.
2013-04-08 21:35:48 -04:00
Richard Gibson
a120bbbfae
Ref #12652 : Allow overriding native .click() suppression
...
(cherry picked from commit 14b09ef98e
)
2013-04-08 13:57:11 -04:00
Michał Gołębiowski
84a94acae1
delegate/undelegate changed to on/off in unit tests; refs #13554
2013-03-25 22:06:50 -04:00
Michał Gołębiowski
8ca9f931ec
bind/unbind changed to on/off in unit tests; refs #13554
2013-03-25 22:06:49 -04:00
Richard Gibson
3f05afbd8d
Ref #13353 , gh-1183: Capture onlyHandlers in jQuery.Event.isTrigger.
2013-02-28 16:59:12 -05:00
dmitrygusev
eee2eaf1d7
Fix typos. Close gh-1186.
2013-02-28 15:45:10 -05:00
Nguyen Phuc Lam
8bc7bdebef
Ref #13283 , move .andSelf() to deprecated.js. Close gh-1170.
2013-02-26 22:57:12 -05:00
Dave Methvin
2bbc3d5860
Fix #13471 . $().on(".xyz"...) should avoid later crash.
...
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.
2013-02-26 12:19:09 -05:00
Richard Gibson
59f5adb622
No ticket: Revise unit tests in anticipation of Sizzle-free builds
2013-02-22 20:13:36 -05:00
Richard Gibson
363299ac24
Ref #13316 : Sync all documents on full vs. minified source. Close gh-1147.
2013-02-07 15:16:28 -05:00