Dave Methvin
3a68c114e3
Ajax: .load() should trim its selector
...
Fixes #14773
2014-03-04 20:43:14 -05:00
Dave Methvin
10efa1f5b4
Core: Arrays like [42] should fail .isNumeric()
...
Fixes #14179
2014-03-04 20:40:23 -05:00
Michał Gołębiowski
70ac4485f3
Effects: Don't check fill-opacity in Android 2.3, it's not supported
2014-02-13 16:12:06 -08: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
de75b3cc62
Css: Don't check fill-opacity in Android 2.3, it's not supported
2014-02-13 15:58:13 -08:00
Rick Waldron
d792e40fbc
Tests: remove all the empty line whitespace
2014-02-11 10:59:14 -08:00
Michał Gołębiowski
79f59c2144
Support: Document box-sizing was unprefixed in Firefox 29
2014-02-05 15:57:11 +01:00
Michał Gołębiowski
95b21c6ec2
Build: Upgrade QUnit to 1.14.0
2014-02-05 15:35:48 +01:00
jaubourg
01c360f963
Ajax: Protect against exceptions thrown synchronously by xhr.send
...
When xhr.send throws an exception synchronously, the onerror handler may have
been called already which, unchecked, makes the exception bubble up outside of
jQuery.ajax.
We now catch the exception pre-emptively and only rethrow if we know it hasn't
already been notified through the onerror handler.
Fixes #14683
2014-01-29 14:18:58 +01:00
Michał Gołębiowski
b2eb7ec0f0
Support: Add iOS6 support tests results
2014-01-27 21:17:53 +01: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
a20494228d
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 13:04:40 -05:00
Michał Gołębiowski
3f3f458974
Tests: fix Safari userAgent detection
2014-01-22 21:49:10 +01:00
Michał Gołębiowski
37d036a84c
Support: Add expected support results for Safari 7 & IE11
2014-01-22 21:35:09 +01:00
Michał Gołębiowski
c11becbb69
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
2014-01-21 12:02:09 +01:00
Richard Gibson
391c21b15d
Traversing: Check all pairwise element combinations for .find( els )
...
Ref b8d0d54a3c
Fixes #14701
2014-01-17 00:38:56 -05:00
Oleg
a2250b0f4c
Tests: Fix code style issues
2014-01-16 07:04:14 +04:00
Oleg
659ac9c155
Tests: Add assertion for the jQuery#val method
2014-01-16 06:58:54 +04:00
Oleg
fdd78fad19
Attrs: Remove outdated valHook for option element
...
This hook was relevant for BlackBerry 4.7 which is no longer supported.
But this code path now raises error in IE10-11 (#14686 ) in 1.x-master branch.
So to just to be safe, also add test for IE issue to this branch too.
2014-01-16 04:47:44 +04:00
Dave Methvin
085814474e
Effects: First step() call should match :animated selector
...
Fixes #14623
Closes gh-1473
2014-01-07 16:01:34 -05:00
Timo Tijhof
b39ee05b69
traversing: Optimise .add by not using makeArray
...
Closes gh-1430
2013-12-30 12:34:08 -05:00
cjqed
537e9ced61
Tests: Avoid use of QUnit.reset() in tests by splitting them
...
Fix #14040
Close gh-1457
2013-12-23 17:21:22 -05:00
Michał Gołębiowski
fd0bce0758
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
2013-12-18 15:10:42 +01:00
Jakob Stoeck
ed291938c2
Add unit tests for .html( number ). Close gh-1447.
2013-11-26 10:13:15 -05:00
John Paul
b407bddea2
Effects: Integrate sinon fake timers into tests. Close gh-1377.
2013-11-24 15:22:09 -05:00
hongymagic
8d09ee0506
Ref #14503 : Cherry-pick tests.
...
(cherry picked from commit 27b22f4ef5
)
(cherry picked from commit 8dc0f2ea84
)
(cherry picked from commit 936126f10d
)
2013-11-15 12:19:05 -05: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
Richard Gibson
71b2ac524e
Fix #14492 : More correct jQuery.parseJSON. Close gh-1419.
...
(cherry picked from commit 60a6178131
)
Conflicts:
src/ajax/parseJSON.js
2013-11-12 00:13: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
Michał Gołębiowski
2ace149f48
No ticket. Remove version sniffing from test/unit/support.js, browsers got updated.
2013-11-11 00:42:37 +01:00
Michał Gołębiowski
650f325d8e
No ticket. Restore some parsing tests in core.
2013-11-10 21:05:43 +01:00
Oleg
45be91e398
Don't execute focus tests in Firefox
...
Close gh-1423
2013-11-08 16:00:30 +01:00
Oleg
626cbde7f8
Use full version of jQuery 1.9.1
...
Had some weird failures in IE with xhr build of 1.9.1
2013-11-08 01:04:08 +01:00
Oleg
ee0d0e6e3f
Add more thorough check for CSP violations
2013-11-07 20:16:19 +01:00
Richard Gibson
c66a5e70f2
Fix #14074 : element id="nodeName". Close gh-1389.
...
(cherry picked from commit 126d596b56
)
Conflicts:
src/data.js
src/data/accepts.js
test/unit/core.js
test/unit/data.js
2013-11-07 11:57:41 -05:00
Corey Frang
30eee925db
Fix #14101 : $().data() should be undefined, not null
2013-11-06 10:25:12 -05:00
Chris Antaki
fb2e0a0c28
Fix #11809 : Update text without creating DOM nodes. Close gh-1412.
2013-11-05 17:13:49 -05:00
Richard Gibson
f9d41ac641
Fix #14379 : AJAX requests on unload
2013-10-28 17:53:31 -04:00
Richard Gibson
ced9d155f0
Fix #14459 : Use jQuery.parseJSON instead of JSON.parse
2013-10-28 11:35:53 -04:00
Michał Gołębiowski
35b2b94979
Add tests for class manipulation on jQuery object containing more than one element. Close gh-1404.
2013-10-25 00:48:54 +02: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
Ronny Springer
083edd60a6
Ref 2263134b
: Better identify potential JSON. Close gh-1401.
2013-10-16 08:46:45 -04:00
Lihan Li
24e587929f
Fix #14394 : Changing style !important in webkit. Close gh-1385.
2013-10-15 16:34:54 -04:00
Richard Gibson
8df348e9eb
No ticket: Test cleanup
2013-10-15 15:48:53 -04:00
George Kats
5ce4b06c28
Fix #14432 : Always return string from .css("z-index"). Close gh-1395.
2013-10-15 12:28:25 -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