Commit Graph

5585 Commits

Author SHA1 Message Date
Michał Gołębiowski
854d242db4 Core: Bump timeouts to stabilize doc ready test
The "document ready when jQuery loaded asynchronously" test fails all the time
in iOS7 and sometimes in other browsers. Bumping the timeouts *might* help
these other browsers to be less flakey here.
2014-03-13 03:26:42 +01:00
Dave Methvin
6a89db86ed Event: Call underlying stopImmediatePropagation when present
Fixes #13997
2014-03-12 21:11:26 -04:00
Michał Gołębiowski
26ce217862 Support: Make the support matrix for iOS 6 match iOS 7 as well 2014-03-13 01:46:18 +01:00
Jörn Zaefferer
22c515c671 Build: Fix testswarm task, use API correctly 2014-03-12 11:08:16 +01:00
Michał Gołębiowski
a81dbc4ed8 Build: Allow to specify timeout in the testswarm task 2014-03-11 21:12:39 +01:00
Michał Gołębiowski
14872941f9 Build: Make it possible to change browserSets in the testswarm task 2014-03-10 20:37:11 +01:00
Michał Gołębiowski
0c12cb3910 Css: Fix tests
It's not easy to find a CSS property that is implemented even in
ancient browsers and that returns a consistent result among browsers
when passed through .css(). color didn't work since Firefox normalizes
it an empty value to rgb(0, 0, 0).
2014-03-10 19:53:50 +01:00
Michał Gołębiowski
2c180ef938 Css: Revert 24e587929f
The workaround to be able to change !important styles broke the browser
keeping the old CSS value if the new one was rejected. Patching it would
involve a significant perf hit (~33%) so the initial patch needs to be
reverted instead.

Tests by m_gol & gibson042.

Fixes #14836
Closes gh-1532
2014-03-10 19:14:44 +01:00
Michał Gołębiowski
b19d4d3450 Ajax, Effects: Disable Chrome 31 workarounds 2014-03-10 14:57:40 +01:00
Michał Gołębiowski
a96d5bed58 Manipulation: don't use Object.keys for consistency
Fixes #14659
2014-03-09 23:31:59 +01:00
Timmy Willison
984f77a930 Build: Fix AMD option for custom builds
Fixes #14859
2014-03-07 09:55:26 -05:00
Dave Methvin
2df1aad6a1 Core: Do not run window.onready when ready
Fixes #14802
2014-03-04 21:00:04 -05:00
Dave Methvin
f4b37d8982 CSS: Return values should be numbers
Fixes #14792
2014-03-04 20:58:31 -05:00
Dave Methvin
06adf7c95d Event: Allow triggerHandler(beforeunload)
Fixes #14791
2014-03-04 20:49:57 -05:00
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
279913c71b Core: Remove native String#trim usage to save size
Fixes #14794
2014-03-04 23:08:35 +01:00
Timmy Willison
a35996141e Bower: stop ignoring yourself, bower
Ref #14798
Ref gh-1516
Ref gh-1338
2014-02-19 17:57:34 -05:00
Timmy Willison
027d470b57 Bower: add main property, move Sizzle to devDependencies, add license property
Fixes #14798
Close gh-1516
Ref gh-1338
2014-02-19 17:25:00 -05:00
Richard Gibson
954966e08d Support: Reduce size
Ref a7ea12a9a7
2014-02-14 07:05:47 -08:00
Richard Gibson
a7ea12a9a7 Support: Skip style-based tests when element.style is undefined
Fixes #14785
Ref #13754
Ref badcd1b6f3
2014-02-14 06:22:44 -08: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
Michał Gołębiowski
eda283d0e4 Core: Fix trim in Android<4.1 2014-02-13 14:48:58 -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
0fcb0f6826 Docs: Change raises to throws in README test assertions 2014-02-05 15:54:23 +01:00
Michał Gołębiowski
95b21c6ec2 Build: Upgrade QUnit to 1.14.0 2014-02-05 15:35:48 +01:00
Michał Gołębiowski
a74ad04bc9 Selector: update Sizzle 2014-02-05 15:10:22 +01:00
Oleg
cab18353a6 Attrs: Simplify an option hook
Since getter was removed in fdd78fad19
there is no longer a need to wrap option element in order to get its value

Fixes #14756
2014-02-05 10:46:00 +04:00
Michał Gołębiowski
cd4e25e991 Build: Switch to explicit dependencies versions in bower.json 2014-02-02 22:17:23 +01:00
Rick Waldron
3dccf62c81 Core: Remove special case try/catch in isPlainObject
Fixes #14746
2014-02-02 15:40:39 -05: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
53e31f478e Build: Specify browserSets for TestSwarm directly 2014-01-27 22:01:15 +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
Michał Gołębiowski
d41fc68d9b Build: Remove obsolete UglifyJS workaround 2014-01-26 04:02:20 +01:00
Michał Gołębiowski
d63243d085 Build: Upgrade npm devDependencies 2014-01-26 04:01:57 +01:00
Timmy Willison
4655c3de5f Updating the master version to 2.1.1pre. 2014-01-23 16:12:48 -05:00
Timmy Willison
de7702ac59 Release: Instantiate a zip archiver, run archivers async 2014-01-23 16:00:54 -05: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
Oleg
38c122a73a Tests: Remove one of the checks for memory leak
This check is redundant since jQuery.fragments object does not exist anymore
2014-01-14 22:01:39 +04:00