Commit Graph

273 Commits

Author SHA1 Message Date
Richard Gibson
6a6604b785 No ticket: Hide the testing-support jQuery from tests
(cherry picked from commit 0c18520923)

Conflicts:

	test/data/testrunner.js
2013-09-03 11:13:20 -04:00
Timmy Willison
8e6e239256 Pass all tests (and load Sizzle fixture correctly) when loading with AMD
Conflicts:
	src/css.js
2013-08-29 16:25:44 -04:00
Oleg Gaidarenko
49670c5f48 Don't execute DOM ready tests in AMD mode (they aren't loaded before DOM ready). Close gh-1335. 2013-08-16 14:36:08 -04:00
Timmy Willison
d2435ead36 Update jshintrc to conform to new style guide. Conform to onevar and unused 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
2013-04-09 12:21:54 -04:00
Dave Methvin
fdaf2146ad Fix #13393. Avoid IE9 activeElement of death.
(Cherry picked from 85fc5878b3)

Conflicts:
	src/event.js
2013-04-08 21:52:16 -04:00
Richard Gibson
14b09ef98e Ref #12652: Allow overriding native .click() suppression 2013-04-08 13:19:03 -04:00
Michał Gołębiowski
8594decfcc Ref #13554: Move redundant methods to event-alias.js. Close gh-1225.
(cherry picked from commits 8ca9f931ec 84a94acae1 100d3c3516)
2013-04-07 00:48:58 -04:00
Richard Gibson
f8b27f16ba Ref 65a66489: oldIE handholding for native event tests 2013-04-04 19:26:08 -04:00
Richard Gibson
65a6648932 Ref #13353: capture onlyHandlers in jQuery.Event.isTrigger. Close gh-1183. 2013-04-03 20:25:50 -04:00
dmitrygusev
a13cadadf6 Fix typos. Close gh-1186. 2013-02-28 15:55:55 -05:00
Dave Methvin
f5163914fa 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:24:56 -05:00
Richard Gibson
1f76536650 No ticket: Revise unit tests in anticipation of Sizzle-free builds
(cherry picked from commit 59f5adb622)
2013-02-22 20:33:00 -05:00
Andrew Plummer
f005af54e4 event: Stricter type checking in trigger - Fixes #13360 - Closes gh-1153
Squashed commit of the following:

commit 5935a362c7
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.
2013-01-31 12:01:34 -06:00
Dave Methvin
24e7624554 Fix #12656. Make event shorthands excludable. 2013-01-27 00:35:42 -05:00
Richard Gibson
fc2ba2e136 Fix #13208: only check elements for delegation matches 2013-01-16 00:14:57 -05:00
Richard Gibson
6c29dd24e9 0a3a424e with moar guard for IE6 2013-01-13 22:59:20 -05:00
Richard Gibson
63f40866fd Fix #13203: delegated events with selector matching Object.prototype property
(cherry picked from commit 31b9579715)
2013-01-13 21:42:36 -05:00
Richard Gibson
0a3a424e65 Fix f860e0bd Firefox failures 2013-01-13 20:37:14 -05:00
Richard Gibson
36457cb6af #13180 unit test 2013-01-13 19:20:18 -05:00
Oleg
c8c6ab6924 Fix #12569. Improve feature detect for event bubbling. Close gh-1076. 2012-12-20 22:08:32 -05:00
Dave Methvin
c928ed432a Remove .live() tests now in Migrate plugin. 2012-12-18 14:42:37 -05:00
Timmy Willison
7d61c5238e Adjust html parsing in event tests to use jQuery.parseHTML explicitly. 2012-12-13 15:52:59 -05:00
Oleg
93e18922c5 Fix #12956. Improve cloneFixAttributes for IE9/10 case. Close gh-1034.
Remove clear(merge)Attributes hack
2012-12-11 22:06:26 -05:00
Timo Tijhof
55313d32a2 Test: Update index.html to new QUnit format. Close gh-1061.
Depends on jquery/sizzle#177, included with the Sizzle submodule in this commit.
2012-12-10 21:48:20 -05:00
Dave Methvin
3fce794844 Fix #12733. Ignore excess spaciness in event strings.
Thanks @bentruyman!
2012-11-24 16:05:20 -05:00
Dave Methvin
6b00b3cad9 Close #10882. Test case for "hover" event in 1.9 2012-11-24 15:25:54 -05:00
Dave Methvin
b7ec6ddd45 Fix #12868. Use native focus/blur to get event order right. 2012-11-24 14:44:39 -05:00
Dave Methvin
1fb2f92c35 Fix #3827. Get the correct checkbox status for a click handler. 2012-11-24 14:08:51 -05:00
Richard Gibson
81b094b2c1 No ticket: update test suite to pass QUnit globals check in most environments. Close gh-1016. 2012-11-05 17:24:03 -05:00
Dave Methvin
d0015ecd2f Missing semicolon. 2012-10-21 20:19:51 -04:00
Oleg
696c553053 Fix failing tests for beforeunload in Safari 5.0. Close gh-1002. 2012-10-21 20:14:05 -04:00
Oleg
9dd0b01017 Fix #12061. Avoid window.onbeforeunload to permit multiple handlers. Close gh-894. 2012-10-20 22:29:18 -04:00
Allen J Schmidt Jr
c6cf30a56e Fix #12739. Keep namespace when triggering with an Event. Close gh-972. 2012-10-19 16:42:13 -04:00
Greg Lavallee
e83bc970f2 Fixes #12736. Move hover event hack to deprecated.js for removal in 1.9. Closes gh-982.
Signed-off-by: Timmy Willison <timmywillisn@gmail.com>
2012-10-16 14:47:11 -04:00
Mike Sherov
ed9e34482a enforce double quotes via JSHint. Closes gh-975 2012-10-16 10:17:14 -04:00
David Bonner
9104a3d5f2 Deprecate fn toggle Closes gh-970 https://github.com/jquery/2012-dev-summit/issues/24 2012-10-15 17:20:33 -04:00
James Huston
6ac8716789 Enforce expects in events.js (https://github.com/jquery/2012-dev-summit/issues/53) Closes gh-961 2012-10-15 12:16:49 -04:00
Dave Methvin
84e45301c5 Update placeholder references to tickets. 2012-08-28 10:09:22 -04:00
Dave Methvin
afd717df9e Fix #12383. All selectors should be delegateTarget-relative 2012-08-28 10:07:16 -04:00
Mike Sherov
a9c2a9bf61 Scorch the earth and retreat on readyState interactive! Close gh-907. 2012-08-23 20:28:22 -04:00
Mike Sherov
0f553ed0ca Fix #12282. IE has premature .readyState == "interactive". Close gh-901. 2012-08-20 08:16:07 -04:00
Nikita Govorov
ff7b7cfd1d Fix #12149. Avoid memory leak on oldIE change events. Close gh-878. 2012-08-19 20:24:03 -04:00
Dave Methvin
1d8bf0a2b5 Fix #12203. .undelegate() should not remove direcly bound events. 2012-08-07 20:49:34 -04:00
Timmy Willison
d8aa8e71b0 Sizzle: fix issue with adjusting the context on relative combinators in element-rooted qSA 2012-07-23 14:51:55 -04:00
Richard Gibson
e761e0c6e0 Support event delegation with relative selectors. Fixes #10762. Closes gh-860. 2012-07-23 12:49:45 -04:00
Richard Gibson
60e249437c Followup on #10791: "[class~=foo]" is better. Closes gh-858. 2012-07-12 10:08:24 -04:00
Richard Gibson
d67c2fd863 Wontfix #10791: please use "[class=foo]" with SVG elements 2012-07-11 17:17:47 -04:00
Mike Sherov
f5fd41252e Fix #12018, readyState "interactive" in oldIE lies! Closes gh-848. 2012-07-06 10:12:20 -04:00
Chad Killingsworth
de9bed319e Make unit tests friendly to Closure Compiler. Closes gh-845.
Conflicts:
    	test/unit/effects.js
    	test/unit/offset.js
2012-07-05 15:52:42 -04:00
timmywil
b418fa1f09 UPDATE SIZZLE: completed rewrite for better things!
Remove reverse in traversing for comma selectors. Sizzle's handling of commas is now more consistent.
2012-07-02 11:34:26 -04:00