Dave Methvin
f345291209
Manipulation: Use textarea for missing IE defaultValue check
...
IE11 fixed the checkbox defaultValue issue but not textarea. Rather than
creating a new detect name I'm reusing the old one to protect anyone who
is unwisely using this externally. Re-fixing the defaultValue when it
doesn't need to be done is not a problem, so leave that code for IE11.
Fixes #14716
Closes gh-1495
2014-01-23 14:14:44 -05:00
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
a3cd88f14b
Tests: Remove one of the checks for memory leak
...
This check is redundant since jQuery.fragments object does not exist anymore
(cherry-picked from 38c122a73a
)
2014-01-14 22:02:21 +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
f4a3587a65
Tests: Straighten out sinon dependencies
...
* Cherry-pick took the wrong lines for a couple of things.
* Update and commit dependencies after `grunt bower`
2014-01-10 10:24:57 -05: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
Timmy Willison
c2e0dbdaa5
Manage bower dependencies with grunt-bowercopy
...
Tracked bower dependencies are located at "src/sizzle" and "test/libs".
The source-destination mapping is in the Gruntfile.
When updating a bower dependency, update the version in bower.json, run
`grunt bower`, and then commit the result. When adding a dependency,
update the bowercopy task accordingly.
Fixes #14615 .
Closes gh-1452.
Conflicts:
bower.json
test/index.html
2013-12-06 16:14:27 -05:00
Corey Frang
d6684dc3aa
Ajax: Use weak ETag header in tests
...
See http://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation
Close gh-1448
(cherry picked from commit d2aa969206
)
2013-11-26 14:16:12 -05: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
Timmy Willison
a9f5946294
Use grunt and bower packages as local dependencies. Close gh-1433.
2013-11-14 10:18:12 -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
d6fc713e26
Use full version of jQuery 1.9.1
...
Had some weird failures in IE with xhr build of 1.9.1.
Cherry picked from 626cbde7f8
commit
2013-11-08 01:07:09 +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
faed51b2e9
Ref f9d41ac6
: Opera-compatible form target
...
(cherry picked from commit d5b7139abc
)
2013-11-04 09:41:34 -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