Michał Gołębiowski
49b03cf702
Tests: Fix appendChecked support value for Safari 5.1
2014-01-22 22:33:22 +01:00
Michał Gołębiowski
838bbe6d43
Tests: fix Safari userAgent detection
...
(cherry-picked from 3f3f458974
)
2014-01-22 21:49:53 +01:00
Michał Gołębiowski
8366f60c7e
Support: Add expected support results for Safari 7 & IE11
2014-01-22 21:35:31 +01:00
Michał Gołębiowski
05c108ecbd
Tests: Blacklist one effects test in Chrome 31
...
Chrome 31 reports incorrect offsetWidth on a table cell with fixed width.
This is fixed in Chrome 32 so let’s just skip the failing test in Chrome 31.
See https://code.google.com/p/chromium/issues/detail?id=290399
(cherry-picked from c11becbb69
)
2014-01-21 12:16:10 +01:00
Richard Gibson
0765822b31
Traversing: Check all pairwise element combinations for .find( els )
...
(cherry picked from commit 391c21b15d
)
Ref b8d0d54a3c
Fixes #14701
2014-01-17 01:09:32 -05:00
Oleg
2b98a2636b
Tests: Fix code style issues
...
(cherry-picked from a2250b0f4c
)
2014-01-16 07:05:11 +04:00
Oleg
f601dd4d23
Attrs: Restore ability to pass array to jQuery#val
...
Thanks @gibson042
2014-01-16 06:55:56 +04:00
Oleg
92cbf5362c
Attrs: Fix valHook for option element
...
Fixes #14686
2014-01-16 03:21:25 +04:00
Oleg
3fbbe933ea
Tests: Fix another issue with sinon timers
2014-01-14 20:58:10 +04:00
Oleg
06ee2c16f1
Ajax: support non-RFC2616 methods for oldIE
...
Closes gh-1466
Fixes #13240
2014-01-14 00:38:38 +04:00
Oleg
f1af3c23f9
Tests: Fix sinon timers for oldIE
2014-01-13 22:22:51 +04:00
Dave Methvin
09b28534fa
Effects: First step() call should match :animated selector
...
(cherry picked from commit 085814474e
)
Fixes #14623
Closes gh-1473
2014-01-09 22:29:05 -05:00
Dave Methvin
ab1224dd2d
Tests: Fix test broken by previous cherry-pick
2014-01-09 22:26:25 -05:00
John Paul
2d6da2da6c
Effects: Integrate sinon fake timers into tests
...
(cherry picked from commit b407bddea2
)
Closes gh-1377
2014-01-09 22:03:24 -05:00
cjqed
305eefe6ab
Tests: Avoid use of QUnit.reset() in tests by splitting them
...
Closes gh-1470
Ref #1457
2014-01-03 08:01:46 +04:00
Timo Tijhof
1828c9856e
traversing: Optimise .add by not using makeArray
...
(cherry picked from commit b39ee05b69
)
Closes gh-1430
2013-12-30 12:36:31 -05:00
Michał Gołębiowski
c536e7e19e
Ajax: don’t test jQuery.ajax() on beforeunload in Chrome 31
...
Chrome 31 doesn't fire Ajax requests in beforeunload event handler.
There is no way for us to workaround it and it's been fixed in Chrome 32
so let's just blacklist Chrome 31 as long as it's in TestSwarm.
See https://code.google.com/p/chromium/issues/detail?id=321241
(cherry-picked from fd0bce0758
)
2013-12-18 15:11:18 +01:00
Jakob Stoeck
d14f617886
Add unit tests for .html( number ). Close gh-1447.
...
(cherry picked from commit ed291938c2
)
2013-11-26 10:14:45 -05:00
Michał Gołębiowski
62cebacdcb
Add es3: true to test/.jshintrc. Make tests conform to that jsHint setting.
2013-11-15 12:54:40 +01:00
Richard Gibson
936126f10d
Ref 27b22f4e
: Remove oldIE-unfriendly trailing comma
2013-11-15 00:18:46 -05:00
Richard Gibson
8dc0f2ea84
Ref 27b22f4e
: Don't try to outsmart Apache
2013-11-14 23:50:53 -05:00
hongymagic
27b22f4ef5
Fix #14503 : Cast to string before setting XHR header. Close gh-1427.
2013-11-14 20:32:56 -05:00
Dave Methvin
5f325b1bee
Ref #14180 , let focusin/out work on non-element targets.
...
(cherry picked from commit c2aca17d45
)
Conflicts:
src/event.js
2013-11-14 16:40:22 -05:00
Dave Methvin
97d53838e0
Fix #14180 . Allow cross-frame use of focusin/out. Close gh-1369.
...
(cherry picked from commit ebdb467761d756d4e52608a0df4a4d9b17da8092)
(conflicts with .data() resolved manually)
2013-11-12 21:24:20 -05:00
Richard Gibson
60a6178131
Fix #14492 : More correct jQuery.parseJSON. Close gh-1419.
2013-11-12 00:07:28 -05:00
Michał Gołębiowski
ef7f8f1ead
No ticket. Remove version sniffing from test/unit/support.js, browsers got updated.
2013-11-11 00:43:18 +01:00
Michał Gołębiowski
b349731e57
No ticket. Restore some parsing tests in core. (cherry-picked from 650f325d8e
)
2013-11-10 21:15:07 +01:00
Oleg
7f829752e6
Don't execute focus tests in Firefox
...
Cherry picked from 45be91e398
commit
2013-11-08 16:07:26 +01:00
Oleg
9e3d0f3109
Fix #14422 and add more thorough check for CSP violations
...
Close gh-1413
2013-11-07 22:08:50 +01:00
Richard Gibson
ba2a8fb01e
Ref c66a5e70
: Synchronize unit tests with master
2013-11-07 11:59:56 -05:00
Richard Gibson
126d596b56
Fix #14074 : element id="nodeName". Close gh-1389.
2013-11-07 11:37:52 -05:00
Chris Antaki
d0b8f9fa93
Ref fb2e0a0c
: Synchronize unit tests with master
2013-11-07 11:37:15 -05:00
Corey Frang
075763b71a
Fix #14101 : $().data() should be undefined, not null
...
- Backported 30eee925db
for 1.x
2013-11-06 11:07:52 -05:00
Richard Gibson
26705c6c5b
Fix #14379 : AJAX requests on unload
...
(cherry picked from commit f9d41ac641
)
Conflicts:
src/ajax/xhr.js
2013-11-04 09:41:19 -05:00
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
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
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
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
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
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
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
Oleg
4b74fe1a6e
Fix test of #13855 for Opera 12.1 and IE10
2013-08-10 08:00:09 +04:00
Oleg
ae630c40ba
Correct assertion for #14049 ticket. Close gh-1327
2013-08-10 07:11:24 +04:00
Oleg
34cc465792
Improve test stability for #13855 ticket. Close gh-1328.
2013-08-08 09:45:28 -04:00
Oleg
1e9d43c0be
Support tests
...
* Check all the properties in jQuery.support
* Fix value of "pixelPosition" in new Chrome
2013-08-08 01:18:26 +04:00
Oleg
48a948f4c0
Fix test for #13937 ticket. Close gh-1299
...
(cherry picked from commit 308980ee2a
)
2013-07-01 22:42:25 +04:00
Jason Merino
1c6641f0c8
Fixes #14049 : don't append px to CSS order value. Close gh-1300. (cherry picked from ec6eb38c64
)
2013-07-01 20:03:16 +02:00
Richard Gibson
ae9e05e9f3
Fix #13937 : Correctly scope .finish() following multi-element .animate(). Thanks @gnarf37. Close gh-1279.
2013-05-28 16:48:55 -04:00
Richard Gibson
00231d5d94
Fix #13939 : Same-unit relative animations
2013-05-26 19:52:28 -04:00
Julian Aubourg
53095883ef
Handles HEAD requests as if they always were 204. Fixes #13922 .
2013-05-23 02:39:20 +02:00
Richard Gibson
a7f42d9966
Fix #13835 : classes separated by form feed
...
(cherry picked from commit d8a35011ec
)
2013-05-13 21:55:18 -04:00
Richard Gibson
42c25656d1
Fix #13855 : line-height animations. Close gh-1265.
...
(cherry picked from commit 3971c2ebb2
)
2013-05-13 20:33:28 -04:00
Renato Oliveira dos Santos
e0f59600a4
Ref #13483 : Cherry-pick tests from master ea5c22ec12
2013-05-13 19:13:14 -04:00
Dave Methvin
00eafdf028
Fix #13223 . Re-allow leading space in HTML. Close gh-1264.
2013-05-09 14:07:19 -04:00
Richard Gibson
7c72f69ed0
Fix #13846 : .prev sort direction
...
(cherry picked from commit 9c4a428528
)
2013-05-01 11:36:48 -04:00
Richard Gibson
6a816ec95f
Fix #13819 : .parent sort direction
2013-04-24 11:38:23 -04:00
Richard Gibson
d605322c10
Fix #13810 : .replaceWith(nextSibling)
...
(cherry picked from commit d8f7e83712
)
2013-04-22 21:10:06 -04:00
Richard Gibson
4f786ba4d2
Fix #13797 : .is with single-node context
2013-04-20 11:49:44 -04:00
Michał Gołębiowski
35784a8244
Fix #13743 . Remove deprecated support.boxModel. Close gh-1231.
...
add myself to AUTHORS.txt
2013-04-17 23:21:39 -04:00
Michał Gołębiowski
0db70aa1fa
Fix #13741 . Make wrap/unwrap methods optional; close gh-1236.
...
move size() test to unit/deprecated;
don't use size() in other tests;
make 2 unit tests actually fire;
code cleanup
2013-04-17 23:06:33 -04:00
Richard Gibson
12a1017290
Followup #13779 : Backwards-compatible unit test
2013-04-17 12:25:24 -04:00
Richard Gibson
0100becc91
Fix #12838 : hook point for non-jQuery.ajax synchronous script fetch/execute in domManip. Close gh-1051.
...
(cherry picked from commit 03db1ada2c
)
2013-04-17 12:01:03 -04:00
Rick Waldron
e572eed269
Fixes #13779 . Remove nodes in document order
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-04-16 22:26:22 -04:00
Richard Gibson
bdc4f3ebbe
Fix #13596 ; #13722 : .replaceWith consistency. Close gh-1216.
2013-04-16 17:28:35 -04:00
Michał Gołębiowski
0c927172b8
Further spacing & code style corrections.
2013-04-15 19:34:45 +02: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