Commit Graph

1911 Commits

Author SHA1 Message Date
Richard Gibson
d8576139c1 Fix #14459: Use jQuery.parseJSON instead of JSON.parse
(cherry picked from commit ced9d155f0)
2013-10-28 11:39:43 -04:00
Michał Gołębiowski
4743f017a6 Add tests for class manipulation on jQuery object containing more than one element. Close gh-1404. (cherry-picked from 35b2b94979) 2013-10-25 00:50:55 +02:00
Dave Methvin
469150a27e Revert "Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369."
This reverts commit bba8366af4.

Because cross-frame focus sucks.
2013-10-22 22:47:34 -04:00
Dave Methvin
bba8366af4 Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.
(cherry picked from commit 6d5dfa0eda2c19e8838930fafff83b596654eca2)
Manually edited for conflicts.
2013-10-22 21:48:50 -04:00
Ronny Springer
aa70819598 Ref 2263134b: Better identify potential JSON. Close gh-1401.
(cherry picked from commit 083edd60a6)

Conflicts:

	src/data.js
2013-10-16 08:50:13 -04:00
Lihan Li
a5063ee2a1 Fix #14394: Changing style !important in webkit. Close gh-1385.
(cherry picked from commit 24e587929f)

Conflicts:

	src/css.js
2013-10-15 16:38:38 -04:00
Richard Gibson
1ceecf4c64 No ticket: Test cleanup
(cherry picked from commit 8df348e9eb)

Conflicts:

	test/unit/css.js
2013-10-15 15:51:08 -04:00
George Kats
32d61d75e5 Fix #14432: Always return string from .css("z-index"). Close gh-1395.
(cherry picked from commit 5ce4b06c28)

Conflicts:

	src/css/curCSS.js
2013-10-15 13:58:06 -04:00
Richard Gibson
3774ee49e0 No ticket: Fix subproject iframe tests
(cherry picked from commit 13d58a9bec)
2013-10-11 15:08:58 -04:00
Dave Methvin
b7da3b0043 Fix #13993. Save result of native inline handlers. Close gh-1368.
(cherry picked from commit 3bcd04f528)
2013-10-06 17:58:28 -04:00
Oleg
908d88cc70 Add setup function for the event module
(cherry picked from the commit 2c0b9027de)
2013-09-30 21:17:10 +04:00
Oleg
b2f27632eb Focus on the body before running focus test 2013-09-30 20:23:21 +04:00
Oleg
c809736db2 Try to fix focus test again 2013-09-30 19:20:08 +04:00
Oleg
0b9a182ecd Run focus test only if document has focus 2013-09-23 20:50:31 +04:00
Richard Gibson
3d6ed4483e No ticket: Fix IE focus test failures 2013-09-23 12:00:57 -04:00
Oleg
94a9a4f1c2 Correct test assertion of #10227 ticket for IE8 2013-09-17 18:21:26 +04:00
Richard Gibson
d16fe84d80 No ticket: Improve line-height animation test stability 2013-09-17 09:55:53 -04:00
Oleg
ff156d77b2 Fix memory leaks in tests for css module 2013-09-17 17:53:26 +04:00
Oleg
fd2964237f Fix #12723 and simplification and optmization of defaultDisplay helper
(cherry picked from commit a25343001e)
2013-09-17 16:16:47 +04:00
Oleg
303e41d996 Simplify replaceWith method. Closes gh-1276
(cherry picked from commit 642e9a4557)
2013-09-17 14:21:34 +04:00
Timmy Willison
53aa2e0c8b Use charAt instead of string indexing for oldIE's sake. Fixes #14356. 2013-09-12 15:49:53 -05:00
Timmy Willison
c6b4230d5c Adjust prefilter test to error on string indexing in oldIE 2013-09-12 15:49:53 -05:00
Amey Sakhadeo
b61a64224b Add unit tests for jQuery.grep. Close gh-1345. 2013-09-12 11:23:21 -05:00
Timmy Willison
1a9f8d9bb1 Fix more support tests (support.input should only be false in IE8 and checkClone as it is now used is fine in IE) 2013-09-11 17:23:17 -05:00
Timmy Willison
d092a88e85 Set the input type for firefox. Fix a support test. 2013-09-11 15:35:50 -05:00
Michał Gołębiowski
baa8dff023 Restore support for Firefox < 23, Chrome < 28 and Safari 5.1. 2013-09-11 03:36:18 +02:00
Timmy Willison
5fbf4a4fe3 Map Sizzle to a path with config to allow users to put Sizzle wherever they want 2013-09-10 18:48:53 -05:00
Timmy Willison
812319093a Ensure display: inline-block when animating width/height on inline elements. Fixes #14344. 2013-09-10 15:09:58 -05:00
Michał Gołębiowski
ac0e7a1ba7 No ticket. Restore support for Safari 5.1 in test/unit/support.js for now. (cherry-picked from badcd1b6f3) 2013-09-07 02:31:04 +02:00
Timmy Willison
be1e4eee60 Convert testrunner to an AMD module and ensure jQuery is on the page when executing the testrunner (another race condition amplified by swarm)
Conflicts:
	test/data/testinit.js
	test/data/testrunner.js
2013-09-06 17:23:45 -04:00
Timmy Willison
d14904d083 Move test loader to testinit.js. Fix race condition with dependency loading. 2013-09-06 17:23:45 -04:00
Timmy Willison
b99972de58 Use requirejs to load the testswarm inject script 2013-09-06 17:23:45 -04:00
Michał Gołębiowski
badcd1b6f3 Fix #10814. Fix #14084. Make support tests lazy and broken out to components. 2013-09-06 03:40:49 +02:00
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
Amey Sakhadeo
ceb5b4c9a3 Ref #14313: Optimize 1.x jQuery.merge for size.
(cherry picked from commits c75c9a8ebb f66d53c856)
2013-09-03 02:02:45 -04:00
Richard Gibson
5cd6868365 Fix #14318: Cherry-pick interrupted animation fix from master ea5c22ec12 2013-08-30 12:38:43 -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
Timmy Willison
05d907d1b1 Fix for custom attr handles duck-punching the boolean attr handle 2013-08-28 12:12:37 -04:00
Timmy Willison
9f433d9fec Use window.QUnit to detect the top window when loading with AMD 2013-08-27 00:31:14 -04:00
Richard Gibson
2b6a7b1caf No ticket: improve line-height animation test robustness 2013-08-26 16:36:55 -04:00
Michał Gołębiowski
0f03378bdc No ticket. Correct a support comment for the order test. (cherry-picked from 2ac1cd91db) 2013-08-20 15:54:27 +02:00
Oleg
ef5693f7be Correct QUnit check, this might fix swarm failures
Conflicts:
	test/jquery.js
2013-08-19 15:39:37 -04:00
Timmy Willison
04f12635c0 Fix tests for testswarm 2013-08-19 15:01:41 -04:00
Michał Gołębiowski
f5f36dbd89 No ticket. Correct a support comment. (cherry-picked from f92a446ee8) 2013-08-19 20:16:46 +02:00
Michał Gołębiowski
78a80c37a7 Remove redundant prefixes from the CSS order test. (cherry-picked from e3584179fe) 2013-08-19 19:54:07 +02:00
Daniel Herman
bc2b13915c No ticket: add assertions for jQuery.when( array ). Close gh-1312. (cherry-picked from 584a4af9c8) 2013-08-19 18:26:57 +02: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
Oleg Gaidarenko
723ced4079 Fixed pulling in Sizzle subproject when testing with min/dev. 2013-08-16 09:40:28 -04:00
Timmy Willison
217cbb7109 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Conflicts:
	Gruntfile.js
	README.md
	src/ajax.js
	src/ajax/xhr.js
	src/attributes.js
	src/core.js
	src/css.js
	src/data.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/offset.js
	src/selector-native.js
	src/traversing.js
	test/unit/core.js
	test/unit/data.js
2013-08-15 15:49:49 -04:00
Oleg
032ef3525c Correct typos in the test assertion 2013-08-10 10:57:00 +04:00